Esempio n. 1
0
        public void AddClientToWaitingRoom(ServerConnection connection)
        {
            ComponentClients.Add(connection);

            connection.AddServerComponent(this);
            connection.SendPacketToClient(GetWaitingRoomInformation(), MessageType.WR_ServerSend_WaitingRoomFullInfo);
        }
 public void AddClientToRoom(ServerConnection client)
 {
     ComponentClients.Add(client);
     _clientReadyStatus.Add(client, false);
     client.AddServerComponent(this);
 }