public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { global::WUProtos.Data.DoEncounterHookQuestProgress subBuilder = new global::WUProtos.Data.DoEncounterHookQuestProgress(); if (typeCase_ == TypeOneofCase.DoEncounter) { subBuilder.MergeFrom(DoEncounter); } input.ReadMessage(subBuilder); DoEncounter = subBuilder; break; } case 18: { global::WUProtos.Data.Loot.LootOutpostsQuestProgress subBuilder = new global::WUProtos.Data.Loot.LootOutpostsQuestProgress(); if (typeCase_ == TypeOneofCase.LootOutposts) { subBuilder.MergeFrom(LootOutposts); } input.ReadMessage(subBuilder); LootOutposts = subBuilder; break; } case 26: { global::WUProtos.Data.WinTracesQuestProgress subBuilder = new global::WUProtos.Data.WinTracesQuestProgress(); if (typeCase_ == TypeOneofCase.WinTraces) { subBuilder.MergeFrom(WinTraces); } input.ReadMessage(subBuilder); WinTraces = subBuilder; break; } case 34: { global::WUProtos.Data.CollectPotionIngredientsQuestProgress subBuilder = new global::WUProtos.Data.CollectPotionIngredientsQuestProgress(); if (typeCase_ == TypeOneofCase.CollectPotionIngredients) { subBuilder.MergeFrom(CollectPotionIngredients); } input.ReadMessage(subBuilder); CollectPotionIngredients = subBuilder; break; } case 42: { global::WUProtos.Data.BrewPotionsQuestProgress subBuilder = new global::WUProtos.Data.BrewPotionsQuestProgress(); if (typeCase_ == TypeOneofCase.BrewPotions) { subBuilder.MergeFrom(BrewPotions); } input.ReadMessage(subBuilder); BrewPotions = subBuilder; break; } case 50: { global::WUProtos.Data.WalkDistanceQuestProgress subBuilder = new global::WUProtos.Data.WalkDistanceQuestProgress(); if (typeCase_ == TypeOneofCase.WalkDistance) { subBuilder.MergeFrom(WalkDistance); } input.ReadMessage(subBuilder); WalkDistance = subBuilder; break; } case 58: { global::WUProtos.Data.PlayFortressChallengesQuestProgress subBuilder = new global::WUProtos.Data.PlayFortressChallengesQuestProgress(); if (typeCase_ == TypeOneofCase.PlayFortressChallenges) { subBuilder.MergeFrom(PlayFortressChallenges); } input.ReadMessage(subBuilder); PlayFortressChallenges = subBuilder; break; } } } }