// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: ChallengeBossPhaseSettleNotify.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; namespace EggLink.DanhengServer.Proto { /// Holder for reflection information generated from ChallengeBossPhaseSettleNotify.proto public static partial class ChallengeBossPhaseSettleNotifyReflection { #region Descriptor /// File descriptor for ChallengeBossPhaseSettleNotify.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ChallengeBossPhaseSettleNotifyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiRDaGFsbGVuZ2VCb3NzUGhhc2VTZXR0bGVOb3RpZnkucHJvdG8aEkJhdHRs", "ZVRhcmdldC5wcm90byKFAgoeQ2hhbGxlbmdlQm9zc1BoYXNlU2V0dGxlTm90", "aWZ5EhQKDGNoYWxsZW5nZV9pZBgDIAEoDRINCgVwaGFzZRgNIAEoDRIaChJz", "aG93X3JlbWFpbl9hY3Rpb24YCyABKAgSEQoJc2NvcmVfdHdvGAYgASgNEgwK", "BHN0YXIYASABKA0SKQoSYmF0dGxlX3RhcmdldF9saXN0GAggAygLMg0uQmF0", "dGxlVGFyZ2V0EhoKEmN1cl9jaGFsbGVuZ2VfdHlwZRgMIAEoDRIRCglpc19y", "ZXdhcmQYBSABKAgSDgoGaXNfd2luGAkgASgIEhcKD2NoYWxsZW5nZV9zY29y", "ZRgPIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90", "bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BattleTargetReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChallengeBossPhaseSettleNotify), global::EggLink.DanhengServer.Proto.ChallengeBossPhaseSettleNotify.Parser, new[]{ "ChallengeId", "Phase", "ShowRemainAction", "ScoreTwo", "Star", "BattleTargetList", "CurChallengeType", "IsReward", "IsWin", "ChallengeScore" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ChallengeBossPhaseSettleNotify : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChallengeBossPhaseSettleNotify()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::EggLink.DanhengServer.Proto.ChallengeBossPhaseSettleNotifyReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ChallengeBossPhaseSettleNotify() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ChallengeBossPhaseSettleNotify(ChallengeBossPhaseSettleNotify other) : this() { challengeId_ = other.challengeId_; phase_ = other.phase_; showRemainAction_ = other.showRemainAction_; scoreTwo_ = other.scoreTwo_; star_ = other.star_; battleTargetList_ = other.battleTargetList_.Clone(); curChallengeType_ = other.curChallengeType_; isReward_ = other.isReward_; isWin_ = other.isWin_; challengeScore_ = other.challengeScore_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ChallengeBossPhaseSettleNotify Clone() { return new ChallengeBossPhaseSettleNotify(this); } /// Field number for the "challenge_id" field. public const int ChallengeIdFieldNumber = 3; private uint challengeId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ChallengeId { get { return challengeId_; } set { challengeId_ = value; } } /// Field number for the "phase" field. public const int PhaseFieldNumber = 13; private uint phase_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Phase { get { return phase_; } set { phase_ = value; } } /// Field number for the "show_remain_action" field. public const int ShowRemainActionFieldNumber = 11; private bool showRemainAction_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool ShowRemainAction { get { return showRemainAction_; } set { showRemainAction_ = value; } } /// Field number for the "score_two" field. public const int ScoreTwoFieldNumber = 6; private uint scoreTwo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ScoreTwo { get { return scoreTwo_; } set { scoreTwo_ = value; } } /// Field number for the "star" field. public const int StarFieldNumber = 1; private uint star_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Star { get { return star_; } set { star_ = value; } } /// Field number for the "battle_target_list" field. public const int BattleTargetListFieldNumber = 8; private static readonly pb::FieldCodec _repeated_battleTargetList_codec = pb::FieldCodec.ForMessage(66, global::EggLink.DanhengServer.Proto.BattleTarget.Parser); private readonly pbc::RepeatedField battleTargetList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField BattleTargetList { get { return battleTargetList_; } } /// Field number for the "cur_challenge_type" field. public const int CurChallengeTypeFieldNumber = 12; private uint curChallengeType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurChallengeType { get { return curChallengeType_; } set { curChallengeType_ = value; } } /// Field number for the "is_reward" field. public const int IsRewardFieldNumber = 5; private bool isReward_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsReward { get { return isReward_; } set { isReward_ = value; } } /// Field number for the "is_win" field. public const int IsWinFieldNumber = 9; private bool isWin_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsWin { get { return isWin_; } set { isWin_ = value; } } /// Field number for the "challenge_score" field. public const int ChallengeScoreFieldNumber = 15; private uint challengeScore_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ChallengeScore { get { return challengeScore_; } set { challengeScore_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ChallengeBossPhaseSettleNotify); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ChallengeBossPhaseSettleNotify other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (ChallengeId != other.ChallengeId) return false; if (Phase != other.Phase) return false; if (ShowRemainAction != other.ShowRemainAction) return false; if (ScoreTwo != other.ScoreTwo) return false; if (Star != other.Star) return false; if(!battleTargetList_.Equals(other.battleTargetList_)) return false; if (CurChallengeType != other.CurChallengeType) return false; if (IsReward != other.IsReward) return false; if (IsWin != other.IsWin) return false; if (ChallengeScore != other.ChallengeScore) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (ChallengeId != 0) hash ^= ChallengeId.GetHashCode(); if (Phase != 0) hash ^= Phase.GetHashCode(); if (ShowRemainAction != false) hash ^= ShowRemainAction.GetHashCode(); if (ScoreTwo != 0) hash ^= ScoreTwo.GetHashCode(); if (Star != 0) hash ^= Star.GetHashCode(); hash ^= battleTargetList_.GetHashCode(); if (CurChallengeType != 0) hash ^= CurChallengeType.GetHashCode(); if (IsReward != false) hash ^= IsReward.GetHashCode(); if (IsWin != false) hash ^= IsWin.GetHashCode(); if (ChallengeScore != 0) hash ^= ChallengeScore.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (Star != 0) { output.WriteRawTag(8); output.WriteUInt32(Star); } if (ChallengeId != 0) { output.WriteRawTag(24); output.WriteUInt32(ChallengeId); } if (IsReward != false) { output.WriteRawTag(40); output.WriteBool(IsReward); } if (ScoreTwo != 0) { output.WriteRawTag(48); output.WriteUInt32(ScoreTwo); } battleTargetList_.WriteTo(output, _repeated_battleTargetList_codec); if (IsWin != false) { output.WriteRawTag(72); output.WriteBool(IsWin); } if (ShowRemainAction != false) { output.WriteRawTag(88); output.WriteBool(ShowRemainAction); } if (CurChallengeType != 0) { output.WriteRawTag(96); output.WriteUInt32(CurChallengeType); } if (Phase != 0) { output.WriteRawTag(104); output.WriteUInt32(Phase); } if (ChallengeScore != 0) { output.WriteRawTag(120); output.WriteUInt32(ChallengeScore); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (Star != 0) { output.WriteRawTag(8); output.WriteUInt32(Star); } if (ChallengeId != 0) { output.WriteRawTag(24); output.WriteUInt32(ChallengeId); } if (IsReward != false) { output.WriteRawTag(40); output.WriteBool(IsReward); } if (ScoreTwo != 0) { output.WriteRawTag(48); output.WriteUInt32(ScoreTwo); } battleTargetList_.WriteTo(ref output, _repeated_battleTargetList_codec); if (IsWin != false) { output.WriteRawTag(72); output.WriteBool(IsWin); } if (ShowRemainAction != false) { output.WriteRawTag(88); output.WriteBool(ShowRemainAction); } if (CurChallengeType != 0) { output.WriteRawTag(96); output.WriteUInt32(CurChallengeType); } if (Phase != 0) { output.WriteRawTag(104); output.WriteUInt32(Phase); } if (ChallengeScore != 0) { output.WriteRawTag(120); output.WriteUInt32(ChallengeScore); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (ChallengeId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChallengeId); } if (Phase != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Phase); } if (ShowRemainAction != false) { size += 1 + 1; } if (ScoreTwo != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ScoreTwo); } if (Star != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star); } size += battleTargetList_.CalculateSize(_repeated_battleTargetList_codec); if (CurChallengeType != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurChallengeType); } if (IsReward != false) { size += 1 + 1; } if (IsWin != false) { size += 1 + 1; } if (ChallengeScore != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChallengeScore); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ChallengeBossPhaseSettleNotify other) { if (other == null) { return; } if (other.ChallengeId != 0) { ChallengeId = other.ChallengeId; } if (other.Phase != 0) { Phase = other.Phase; } if (other.ShowRemainAction != false) { ShowRemainAction = other.ShowRemainAction; } if (other.ScoreTwo != 0) { ScoreTwo = other.ScoreTwo; } if (other.Star != 0) { Star = other.Star; } battleTargetList_.Add(other.battleTargetList_); if (other.CurChallengeType != 0) { CurChallengeType = other.CurChallengeType; } if (other.IsReward != false) { IsReward = other.IsReward; } if (other.IsWin != false) { IsWin = other.IsWin; } if (other.ChallengeScore != 0) { ChallengeScore = other.ChallengeScore; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Star = input.ReadUInt32(); break; } case 24: { ChallengeId = input.ReadUInt32(); break; } case 40: { IsReward = input.ReadBool(); break; } case 48: { ScoreTwo = input.ReadUInt32(); break; } case 66: { battleTargetList_.AddEntriesFrom(input, _repeated_battleTargetList_codec); break; } case 72: { IsWin = input.ReadBool(); break; } case 88: { ShowRemainAction = input.ReadBool(); break; } case 96: { CurChallengeType = input.ReadUInt32(); break; } case 104: { Phase = input.ReadUInt32(); break; } case 120: { ChallengeScore = input.ReadUInt32(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { Star = input.ReadUInt32(); break; } case 24: { ChallengeId = input.ReadUInt32(); break; } case 40: { IsReward = input.ReadBool(); break; } case 48: { ScoreTwo = input.ReadUInt32(); break; } case 66: { battleTargetList_.AddEntriesFrom(ref input, _repeated_battleTargetList_codec); break; } case 72: { IsWin = input.ReadBool(); break; } case 88: { ShowRemainAction = input.ReadBool(); break; } case 96: { CurChallengeType = input.ReadUInt32(); break; } case 104: { Phase = input.ReadUInt32(); break; } case 120: { ChallengeScore = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code