Exemplo n.º 1
0
 public override void CheckForPackets()
 {
     while (LocalClientServer.ServerToClientPending())
     {
         BinaryReader reader = LocalClientServer.ReadServerToClientPacket();
         OnReceivePacket((PacketID)reader.ReadByte(), reader);
         LocalClientServer.EndReadingServerToClientPacket();
     }
 }
Exemplo n.º 2
0
 public override bool PacketPending()
 {
     return(LocalClientServer.ServerToClientPending());
 }