public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { ActivityMissionId = input.ReadSInt32(); break; } case 18: { ActivityMissionName = input.ReadString(); break; } case 24: { ActivityId = input.ReadSInt32(); break; } case 34: { award_.AddEntriesFrom(input, _repeated_award_codec); break; } case 42: { ActivityMissionDesc = input.ReadString(); break; } case 50: { JumpTo = input.ReadString(); break; } case 58: { if (extra_ == null) { extra_ = new global::Com.Proto.ExtraValuePB(); } input.ReadMessage(extra_); break; } } } }
public void MergeFrom(MissionRulePB other) { if (other == null) { return; } if (other.MissionId != 0) { MissionId = other.MissionId; } if (other.MissionName.Length != 0) { MissionName = other.MissionName; } if (other.MissionType != 0) { MissionType = other.MissionType; } award_.Add(other.award_); if (other.MissionDesc.Length != 0) { MissionDesc = other.MissionDesc; } if (other.JumpTo.Length != 0) { JumpTo = other.JumpTo; } if (other.Weight != 0) { Weight = other.Weight; } if (other.Player != 0) { Player = other.Player; } if (other.PopUps != 0) { PopUps = other.PopUps; } if (other.extra_ != null) { if (extra_ == null) { extra_ = new global::Com.Proto.ExtraValuePB(); } Extra.MergeFrom(other.Extra); } }
public void MergeFrom(ActivityMissionRulePB other) { if (other == null) { return; } if (other.ActivityMissionId != 0) { ActivityMissionId = other.ActivityMissionId; } if (other.ActivityMissionName.Length != 0) { ActivityMissionName = other.ActivityMissionName; } if (other.ActivityId != 0) { ActivityId = other.ActivityId; } award_.Add(other.award_); if (other.ActivityMissionDesc.Length != 0) { ActivityMissionDesc = other.ActivityMissionDesc; } if (other.JumpTo.Length != 0) { JumpTo = other.JumpTo; } if (other.extra_ != null) { if (extra_ == null) { extra_ = new global::Com.Proto.ExtraValuePB(); } Extra.MergeFrom(other.Extra); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { MissionId = input.ReadSInt32(); break; } case 18: { MissionName = input.ReadString(); break; } case 24: { missionType_ = (global::MissionTypePB)input.ReadEnum(); break; } case 34: { award_.AddEntriesFrom(input, _repeated_award_codec); break; } case 42: { MissionDesc = input.ReadString(); break; } case 50: { JumpTo = input.ReadString(); break; } case 56: { Weight = input.ReadSInt32(); break; } case 64: { player_ = (global::PlayerPB)input.ReadEnum(); break; } case 72: { PopUps = input.ReadSInt32(); break; } case 82: { if (extra_ == null) { extra_ = new global::Com.Proto.ExtraValuePB(); } input.ReadMessage(extra_); break; } } } }