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