private void HandleIsPlayerReady(Message message)
    {
        ushort id;
        bool   isReady;

        using (DarkRiftReader reader = message.GetReader())
        {
            id      = reader.ReadUInt16();
            isReady = reader.ReadBoolean();
        }

        _lobbyStateManager.SetReady(id, isReady);
        _lobbyMessageSender.SendUpdateLobbyMessage();
    }
Example #2
0
 public void RefreshLobby()
 {
     _lobbySender.SendUpdateLobbyMessage();
 }