Exemplo n.º 1
0
 public static void DoUpdate()
 {
     if (easyAntiCheat == null)
     {
         return;
     }
     easyAntiCheat.HandleClientUpdates();
     if (Network.Net.sv != null && Network.Net.sv.IsConnected())
     {
         EasyAntiCheat.Server.Hydra.Client client;
         byte[] messageBuffer;
         int    messageLength;
         while (easyAntiCheat.PopNetworkMessage(out client, out messageBuffer, out messageLength))
         {
             SendToClient(client, messageBuffer, messageLength);
         }
     }
 }
Exemplo n.º 2
0
 public static void DoUpdate() => easyAntiCheat?.HandleClientUpdates();