Example #1
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);
 }
Example #2
0
 public FightResultListEntry(short outcome, FightLoot rewards)
 {
     this.outcome = outcome;
     this.rewards = rewards;
 }