public override PacketDistributed MergeFrom(pb::CodedInputStream input, PacketDistributed _base) { GCRefreshFightRankList _inst = (GCRefreshFightRankList)_base; while (true) { uint tag = input.ReadTag(); switch (tag) { case 0: { return(_inst); } case 8: { _inst.MyRank = input.ReadInt32(); break; } case 16: { _inst.MyDamage = input.ReadInt32(); break; } case 26: { FightRankInfo subBuilder = new FightRankInfo(); input.ReadMessage(subBuilder); _inst.AddRankList(subBuilder); break; } } } return(_inst); }
public override PacketDistributed MergeFrom(pb::CodedInputStream input, PacketDistributed _base) { FightRankInfo _inst = (FightRankInfo)_base; while (true) { uint tag = input.ReadTag(); switch (tag) { case 0: { return(_inst); } case 8: { _inst.Rank = input.ReadInt32(); break; } case 18: { _inst.PlayerName = input.ReadString(); break; } case 24: { _inst.Damage = input.ReadInt32(); break; } } } return(_inst); }
public void AddRankList(FightRankInfo value) { rankList_.Add(value); }