public BreachRewardsMessage( List <BreachReward> rewards, BreachReward save ) { Rewards = rewards; Save = save; }
public override void Deserialize(IDataReader reader) { uint num = (uint)reader.ReadUShort(); for (int index = 0; (long)index < (long)num; ++index) { BreachReward breachReward = new BreachReward(); breachReward.Deserialize(reader); this.rewards.Add(breachReward); } this.save = new BreachReward(); this.save.Deserialize(reader); }
public override void Deserialize(ICustomDataInput reader) { var countRewards = reader.ReadShort(); Rewards = new List <BreachReward>(); for (short i = 0; i < countRewards; i++) { BreachReward type = new BreachReward(); type.Deserialize(reader); Rewards.Add(type); } Save = new BreachReward(); Save.Deserialize(reader); }
public override void Deserialize(IDataReader reader) { var RewardsCount = reader.ReadShort(); Rewards = new List <BreachReward>(); for (var i = 0; i < RewardsCount; i++) { var objectToAdd = new BreachReward(); objectToAdd.Deserialize(reader); Rewards.Add(objectToAdd); } Save = new BreachReward(); Save.Deserialize(reader); }
public BreachRewardsMessage(List <BreachReward> rewards, BreachReward save) { this.rewards = rewards; this.save = save; }
public BreachRewardsMessage(List <BreachReward> Rewards, BreachReward Save) { this.Rewards = Rewards; this.Save = Save; }