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); }
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); }
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; }
public FightResultListEntry(ushort outcome, sbyte wave, Types.FightLoot rewards) { this.outcome = outcome; this.wave = wave; this.rewards = rewards; }
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; }
public FightResultFighterListEntry(short outcome, Types.FightLoot rewards, int id, bool alive) : base(outcome, rewards) { this.id = id; this.alive = alive; }
public FightResultListEntry(short outcome, Types.FightLoot rewards) { this.outcome = outcome; this.rewards = rewards; }
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 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; }