Ejemplo n.º 1
0
        public override PacketDistributed MergeFrom(pb::CodedInputStream input, PacketDistributed _base)
        {
            RankRewardsInfo _inst = (RankRewardsInfo)_base;

            while (true)
            {
                uint tag = input.ReadTag();
                switch (tag)
                {
                case 0:
                {
                    return(_inst);
                }

                case  10: {
                    _inst.Ranks = input.ReadString();
                    break;
                }

                case  18: {
                    Iteminfo subBuilder = new Iteminfo();
                    input.ReadMessage(subBuilder);
                    _inst.AddRewards(subBuilder);
                    break;
                }
                }
            }
            return(_inst);
        }
Ejemplo n.º 2
0
        public override PacketDistributed MergeFrom(pb::CodedInputStream input, PacketDistributed _base)
        {
            GCRefreshRankRewardsList _inst = (GCRefreshRankRewardsList)_base;

            while (true)
            {
                uint tag = input.ReadTag();
                switch (tag)
                {
                case 0:
                {
                    return(_inst);
                }

                case  10: {
                    RankRewardsInfo subBuilder = new RankRewardsInfo();
                    input.ReadMessage(subBuilder);
                    _inst.AddRewardList(subBuilder);
                    break;
                }
                }
            }
            return(_inst);
        }
Ejemplo n.º 3
0
 public void AddRewardList(RankRewardsInfo value)
 {
     rewardList_.Add(value);
 }