public FightResultFighterListEntry(
     uint outcome,
     uint wave,
     FightLoot rewards,
     double id,
     bool alive)
     : base(outcome, wave, rewards)
 {
     this.id    = id;
     this.alive = alive;
 }
示例#2
0
 public FightResultMutantListEntry(
     uint outcome,
     uint wave,
     FightLoot rewards,
     double id,
     bool alive,
     uint level)
     : base(outcome, wave, rewards, id, alive)
 {
     this.level = level;
 }
 public FightResultPlayerListEntry(
     uint outcome,
     uint wave,
     FightLoot rewards,
     double id,
     bool alive,
     uint level,
     List <FightResultAdditionalData> additional)
     : base(outcome, wave, rewards, id, alive)
 {
     this.level      = level;
     this.additional = additional;
 }
 public FightResultTaxCollectorListEntry(
     uint outcome,
     uint wave,
     FightLoot rewards,
     double id,
     bool alive,
     uint level,
     BasicGuildInformations guildInfo,
     int experienceForGuild)
     : base(outcome, wave, rewards, id, alive)
 {
     this.level              = level;
     this.guildInfo          = guildInfo;
     this.experienceForGuild = experienceForGuild;
 }
示例#5
0
 public virtual void Deserialize(IDataReader reader)
 {
     this.outcome = (uint)reader.ReadVarUhShort();
     if (this.outcome < 0U)
     {
         throw new Exception("Forbidden value (" + (object)this.outcome + ") on element of FightResultListEntry.outcome.");
     }
     this.wave = (uint)reader.ReadByte();
     if (this.wave < 0U)
     {
         throw new Exception("Forbidden value (" + (object)this.wave + ") on element of FightResultListEntry.wave.");
     }
     this.rewards = new FightLoot();
     this.rewards.Deserialize(reader);
 }
示例#6
0
 public FightResultListEntry(uint outcome, uint wave, FightLoot rewards)
 {
     this.outcome = outcome;
     this.wave    = wave;
     this.rewards = rewards;
 }