Пример #1
0
 public void OnNetworkReceive(NetPeer peer, NetPacketReader reader, DeliveryMethod method)
 {
     byte[] data = reader.GetRemainingBytes();
     ClientUtil.HandleReceive(new ByteReader(data), method == DeliveryMethod.ReliableOrdered);
 }