public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { questType_ = (global::POGOProtos.Enums.QuestType)input.ReadEnum(); break; } case 18: { if (dailyQuest_ == null) { dailyQuest_ = new global::POGOProtos.Settings.Master.Quest.DailyQuestSettings(); } input.ReadMessage(dailyQuest_); break; } } } }
public void MergeFrom(QuestSettings other) { if (other == null) { return; } if (other.QuestType != 0) { QuestType = other.QuestType; } if (other.dailyQuest_ != null) { if (dailyQuest_ == null) { dailyQuest_ = new global::POGOProtos.Settings.Master.Quest.DailyQuestSettings(); } DailyQuest.MergeFrom(other.DailyQuest); } }