private void SendRoomsRequestIfNeeded() { if (sendRequestTimer.GetItIsTimeAndRestartIfTrue()) { udp.Send(new Rooms()); } }
private void SendToClients(SendToClientsCommand command) { udp.Send(new SendDecorator(command.Data, CurrentSession, clients)); }
private void SendPingToServer() { udp.Send(new Ping(CurrentSession, ServerSession)); }
private void SendRequestToGetSession() { udp.Send(new Session()); }
private void SendToServer(SendToServerCommand command) { udp.Send(new SendDecorator(command.Data, CurrentSession, ServerSession)); }