public TaxCollectorMovement(TaxCollectorBasicInformations basicInfos, byte movementType, ulong playerId, string playerName) { m_basicInfos = basicInfos; m_movementType = movementType; m_playerId = playerId; m_playerName = playerName; }
public override void Deserialize(ICustomDataInput reader) { m_basicInfos = new TaxCollectorBasicInformations(); m_basicInfos.Deserialize(reader); m_movementType = reader.ReadByte(); m_playerId = reader.ReadVarUhLong(); m_playerName = reader.ReadUTF(); }