async def METHOD_NAME(sid: str, raw_data: Any):
    data = FloorRename(**raw_data)
    pr: PlayerRoom = game_state.get(sid)
    if pr.role != Role.DM:
        logger.warning(f"{pr.player.name} attempted to rename a floor")
        return
    floor: Floor = Floor.get(location=pr.active_location, index=data.index)
    floor.name = data.name
    floor.save()
    await _send_game(
        "Floor.Rename",
        data,
        room=pr.active_location.get_path(),
        skip_sid=sid,
    )