async def METHOD_NAME(sid: str, raw_data: Any):
    data = FloorVisibleSet(**raw_data)
    pr: PlayerRoom = game_state.get(sid)
    if pr.role != Role.DM:
        logger.warning(f"{pr.player.name} attempted to toggle floor visibility")
        return
    floor = Floor.get(location=pr.active_location, name=data.name)
    floor.player_visible = data.visible
    floor.save()
    await _send_game(
        "Floor.Visible.Set",
        data,
        room=pr.active_location.get_path(),
        skip_sid=sid,
    )