Esempio n. 1
0
 public override void CheckForPackets()
 {
     while (LocalClientServer.ClientToServerPending())
     {
         BinaryReader reader = LocalClientServer.ReadClientToServerPacket();
         OnReceivePacket((PacketID)reader.ReadByte(), reader);
         LocalClientServer.EndReadingClientToServerPacket();
     }
 }
Esempio n. 2
0
 public override bool PacketPending()
 {
     return(LocalClientServer.ClientToServerPending());
 }