예제 #1
0
 public TaxCollectorMovement(sbyte movementType, TaxCollectorBasicInformations basicInfos, double playerId, string playerName)
 {
     this.movementType = movementType;
     this.basicInfos   = basicInfos;
     this.playerId     = playerId;
     this.playerName   = playerName;
 }
예제 #2
0
 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();
 }