Exemplo n.º 1
0
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     this.identification = ProtocolTypeManager.GetInstance <TaxCollectorStaticInformations>((uint)reader.ReadUShort());
     this.identification.Deserialize(reader);
     this.guildLevel = (uint)reader.ReadByte();
     if (this.guildLevel < 0U || this.guildLevel > (uint)byte.MaxValue)
     {
         throw new Exception("Forbidden value (" + (object)this.guildLevel + ") on element of GameRolePlayTaxCollectorInformations.guildLevel.");
     }
     this.taxCollectorAttack = reader.ReadInt();
 }
Exemplo n.º 2
0
 public GameRolePlayTaxCollectorInformations(
     double contextualId,
     EntityDispositionInformations disposition,
     EntityLook look,
     TaxCollectorStaticInformations identification,
     uint guildLevel,
     int taxCollectorAttack)
     : base(contextualId, disposition, look)
 {
     this.identification     = identification;
     this.guildLevel         = guildLevel;
     this.taxCollectorAttack = taxCollectorAttack;
 }