public override PacketDistributed MergeFrom(pb::CodedInputStream input, PacketDistributed _base) { VocabularyInfo _inst = (VocabularyInfo)_base; while (true) { uint tag = input.ReadTag(); switch (tag) { case 0: { return(_inst); } case 8: { _inst.Tid = input.ReadInt32(); break; } case 16: { _inst.Type = input.ReadInt32(); break; } case 26: { _inst.Value = input.ReadString(); break; } } } return(_inst); }
public void AddTempVocalInfos(VocabularyInfo value) { tempVocalInfos_.Add(value); }
public void AddVocalInfos(VocabularyInfo value) { vocalInfos_.Add(value); }
public override PacketDistributed MergeFrom(pb::CodedInputStream input, PacketDistributed _base) { TreasureEquipData _inst = (TreasureEquipData)_base; while (true) { uint tag = input.ReadTag(); switch (tag) { case 0: { return(_inst); } case 8: { _inst.Pid = input.ReadInt64(); break; } case 16: { _inst.Sid = input.ReadInt32(); break; } case 26: { _inst.BaseValue = input.ReadString(); break; } case 32: { _inst.BattleNum = input.ReadInt32(); break; } case 42: { VocabularyInfo subBuilder = new VocabularyInfo(); input.ReadMessage(subBuilder); _inst.AddVocalInfos(subBuilder); break; } case 50: { VocabularyInfo subBuilder = new VocabularyInfo(); input.ReadMessage(subBuilder); _inst.AddTempVocalInfos(subBuilder); break; } case 56: { _inst.Sorce = input.ReadInt32(); break; } case 64: { _inst.Pos = input.ReadInt32(); break; } case 72: { _inst.Bind = input.ReadInt32(); break; } case 80: { _inst.OldVocalBattleNumber = input.ReadInt32(); break; } case 88: { _inst.NewVocalBattleNumber = input.ReadInt32(); break; } } } return(_inst); }