public FightResultTaxCollectorListEntry(ushort outcome, sbyte wave, FightLoot rewards, double id, bool alive, byte level, BasicGuildInformations guildInfo, int experienceForGuild)
     : base(outcome, wave, rewards, id, alive)
 {
     this.level              = level;
     this.guildInfo          = guildInfo;
     this.experienceForGuild = experienceForGuild;
 }
Ejemplo n.º 2
0
 public virtual void Deserialize(ICustomDataInput reader)
 {
     outcome = reader.ReadVarUhShort();
     if (outcome < 0)
     {
         throw new Exception("Forbidden value on outcome = " + outcome + ", it doesn't respect the following condition : outcome < 0");
     }
     wave = reader.ReadSByte();
     if (wave < 0)
     {
         throw new Exception("Forbidden value on wave = " + wave + ", it doesn't respect the following condition : wave < 0");
     }
     rewards = new FightLoot();
     rewards.Deserialize(reader);
 }
 public FightResultMutantListEntry(ushort outcome, sbyte wave, FightLoot rewards, double id, bool alive, ushort level)
     : base(outcome, wave, rewards, id, alive)
 {
     this.level = level;
 }
 public FightResultFighterListEntry(ushort outcome, sbyte wave, FightLoot rewards, double id, bool alive)
     : base(outcome, wave, rewards)
 {
     this.id    = id;
     this.alive = alive;
 }
Ejemplo n.º 5
0
 public FightResultListEntry(ushort outcome, sbyte wave, FightLoot rewards)
 {
     this.outcome = outcome;
     this.wave    = wave;
     this.rewards = rewards;
 }
 public FightResultPlayerListEntry(ushort outcome, sbyte wave, FightLoot rewards, double id, bool alive, byte level, FightResultAdditionalData[] additional)
     : base(outcome, wave, rewards, id, alive)
 {
     this.level      = level;
     this.additional = additional;
 }