public override void Deserialize(ICustomDataInput reader) { MovementType = reader.ReadByte(); BasicInfos = new TaxCollectorBasicInformations(); BasicInfos.Deserialize(reader); PlayerId = reader.ReadVarLong(); PlayerName = reader.ReadUTF(); }
public TaxCollectorMovement( byte movementType, TaxCollectorBasicInformations basicInfos, long playerId, string playerName ) { MovementType = movementType; BasicInfos = basicInfos; PlayerId = playerId; PlayerName = playerName; }