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); }
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); }
public void AddRewardList(RankRewardsInfo value) { rewardList_.Add(value); }