Exemplo n.º 1
0
 public BreachRewardsMessage(
     List <BreachReward> rewards,
     BreachReward save
     )
 {
     Rewards = rewards;
     Save    = save;
 }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
        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);
        }
Exemplo n.º 4
0
        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);
        }
Exemplo n.º 5
0
 public BreachRewardsMessage(List <BreachReward> rewards, BreachReward save)
 {
     this.rewards = rewards;
     this.save    = save;
 }
Exemplo n.º 6
0
 public BreachRewardsMessage(List <BreachReward> Rewards, BreachReward Save)
 {
     this.Rewards = Rewards;
     this.Save    = Save;
 }