Beispiel #1
0
 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));
 }
Beispiel #4
0
 private void SendRequestToGetSession()
 {
     udp.Send(new Session());
 }
Beispiel #5
0
 private void SendToServer(SendToServerCommand command)
 {
     udp.Send(new SendDecorator(command.Data, CurrentSession, ServerSession));
 }