public virtual void Deserialize(IDataReader reader)
 {
     outcome = reader.ReadVarUhShort();
     wave    = reader.ReadSbyte();
     rewards = new Types.FightLoot();
     rewards.Deserialize(reader);
 }
 public FightResultTaxCollectorListEntry(short outcome, Types.FightLoot rewards, int id, bool alive, byte level, Types.BasicGuildInformations guildInfo, int experienceForGuild)
     : base(outcome, rewards, id, alive)
 {
     this.level              = level;
     this.guildInfo          = guildInfo;
     this.experienceForGuild = experienceForGuild;
 }
 public virtual void Deserialize(IDataReader reader)
 {
     outcome = reader.ReadShort();
     if (outcome < 0)
         throw new Exception("Forbidden value on outcome = " + outcome + ", it doesn't respect the following condition : outcome < 0");
     rewards = new Types.FightLoot();
     rewards.Deserialize(reader);
 }
Exemple #4
0
 public virtual void Deserialize(IDataReader reader)
 {
     outcome = reader.ReadShort();
     if (outcome < 0)
     {
         throw new Exception("Forbidden value on outcome = " + outcome + ", it doesn't respect the following condition : outcome < 0");
     }
     rewards = new Types.FightLoot();
     rewards.Deserialize(reader);
 }
Exemple #5
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 Types.FightLoot();
     rewards.Deserialize(reader);
 }
 public FightResultPlayerListEntry(uint outcome, sbyte wave, Types.FightLoot rewards, double id, bool alive, byte level, Types.FightResultAdditionalData[] additional)
     : base(outcome, wave, rewards, id, alive)
 {
     this.level      = level;
     this.additional = additional;
 }
Exemple #7
0
 public FightResultListEntry(ushort outcome, sbyte wave, Types.FightLoot rewards)
 {
     this.outcome = outcome;
     this.wave    = wave;
     this.rewards = rewards;
 }
Exemple #8
0
 public FightResultFighterListEntry(ushort outcome, sbyte wave, Types.FightLoot rewards, double id, bool alive)
     : base(outcome, wave, rewards)
 {
     this.id    = id;
     this.alive = alive;
 }
 public FightResultMutantListEntry(ushort outcome, sbyte wave, Types.FightLoot rewards, int id, bool alive, ushort level)
     : base(outcome, wave, rewards, id, alive)
 {
     this.level = level;
 }
Exemple #10
0
 public FightResultFighterListEntry(short outcome, Types.FightLoot rewards, int id, bool alive)
     : base(outcome, rewards)
 {
     this.id    = id;
     this.alive = alive;
 }
Exemple #11
0
 public FightResultListEntry(short outcome, Types.FightLoot rewards)
 {
     this.outcome = outcome;
     this.rewards = rewards;
 }
Exemple #12
0
 public FightResultPlayerListEntry(short outcome, Types.FightLoot rewards, int id, bool alive, byte level, IEnumerable <Types.FightResultAdditionalData> additional)
     : base(outcome, rewards, id, alive)
 {
     this.level      = level;
     this.additional = additional;
 }
 public FightResultListEntry(short outcome, Types.FightLoot rewards)
 {
     this.outcome = outcome;
     this.rewards = rewards;
 }
 public FightResultTaxCollectorListEntry(short outcome, Types.FightLoot rewards, int id, bool alive, byte level, string guildName, int experienceForGuild) : base(outcome, rewards, id, alive)
 {
     this.level              = level;
     this.guildName          = guildName;
     this.experienceForGuild = experienceForGuild;
 }