public TaxCollectorMovement(sbyte MovementType, TaxCollectorBasicInformations BasicInfos, ulong PlayerId, string PlayerName) { this.MovementType = MovementType; this.BasicInfos = BasicInfos; this.PlayerId = PlayerId; this.PlayerName = PlayerName; }
public override void Deserialize(IDataReader reader) { MovementType = reader.ReadSByte(); BasicInfos = new TaxCollectorBasicInformations(); BasicInfos.Deserialize(reader); PlayerId = reader.ReadVarUhLong(); PlayerName = reader.ReadUTF(); }