public TaxCollectorMovement(sbyte movementType, TaxCollectorBasicInformations basicInfos, double playerId, string playerName) { this.movementType = movementType; this.basicInfos = basicInfos; this.playerId = playerId; this.playerName = playerName; }
public virtual void Deserialize(IDataReader reader) { this.movementType = reader.ReadSByte(); this.basicInfos = new TaxCollectorBasicInformations(); this.basicInfos.Deserialize(reader); this.playerId = reader.ReadVarUhLong(); this.playerName = reader.ReadUTF(); }