Пример #1
0
 public override void Deserialize(ICustomDataInput reader)
 {
     MovementType = reader.ReadByte();
     BasicInfos   = new TaxCollectorBasicInformations();
     BasicInfos.Deserialize(reader);
     PlayerId   = reader.ReadVarLong();
     PlayerName = reader.ReadUTF();
 }
Пример #2
0
 public TaxCollectorMovement(
     byte movementType,
     TaxCollectorBasicInformations basicInfos,
     long playerId,
     string playerName
     )
 {
     MovementType = movementType;
     BasicInfos   = basicInfos;
     PlayerId     = playerId;
     PlayerName   = playerName;
 }