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