Beispiel #1
0
 public void Deserialize(ref DataStreamReader reader)
 {
     HasTarget = Convert.ToBoolean(reader.ReadByte());
     if (HasTarget)
     {
         TargetPlayerId = reader.ReadIntNetworkByteOrder();
     }
 }
Beispiel #2
0
 public void Deserialize(ref DataStreamReader reader)
 {
     PlayerId = reader.ReadIntNetworkByteOrder();
 }