// // 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", "ZVRhcmdldC5wcm90byL4AQoeQ2hhbGxlbmdlQm9zc1BoYXNlU2V0dGxlTm90", "aWZ5EhcKD2NoYWxsZW5nZV9zY29yZRgIIAEoDRIRCglzY29yZV90d28YByAB", "KA0SFgoOaXNfc2Vjb25kX2hhbGYYDCABKAgSDgoGaXNfd2luGAIgASgIEhEK", "CWlzX3Jld2FyZBgEIAEoCBIpChJiYXR0bGVfdGFyZ2V0X2xpc3QYDSADKAsy", "DS5CYXR0bGVUYXJnZXQSDAoEc3RhchgDIAEoDRIRCglwYWdlX3R5cGUYDiAB", "KA0SDQoFcGhhc2UYCyABKA0SFAoMY2hhbGxlbmdlX2lkGAogASgNQh6qAhtF", "Z2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw==")); 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[]{ "ChallengeScore", "ScoreTwo", "IsSecondHalf", "IsWin", "IsReward", "BattleTargetList", "Star", "PageType", "Phase", "ChallengeId" }, 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() { challengeScore_ = other.challengeScore_; scoreTwo_ = other.scoreTwo_; isSecondHalf_ = other.isSecondHalf_; isWin_ = other.isWin_; isReward_ = other.isReward_; battleTargetList_ = other.battleTargetList_.Clone(); star_ = other.star_; pageType_ = other.pageType_; phase_ = other.phase_; challengeId_ = other.challengeId_; _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_score" field. public const int ChallengeScoreFieldNumber = 8; private uint challengeScore_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ChallengeScore { get { return challengeScore_; } set { challengeScore_ = value; } } /// Field number for the "score_two" field. public const int ScoreTwoFieldNumber = 7; 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 "is_second_half" field. public const int IsSecondHalfFieldNumber = 12; private bool isSecondHalf_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsSecondHalf { get { return isSecondHalf_; } set { isSecondHalf_ = value; } } /// Field number for the "is_win" field. public const int IsWinFieldNumber = 2; 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 "is_reward" field. public const int IsRewardFieldNumber = 4; 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 "battle_target_list" field. public const int BattleTargetListFieldNumber = 13; private static readonly pb::FieldCodec _repeated_battleTargetList_codec = pb::FieldCodec.ForMessage(106, 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 "star" field. public const int StarFieldNumber = 3; 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 "page_type" field. public const int PageTypeFieldNumber = 14; private uint pageType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint PageType { get { return pageType_; } set { pageType_ = value; } } /// Field number for the "phase" field. public const int PhaseFieldNumber = 11; 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 "challenge_id" field. public const int ChallengeIdFieldNumber = 10; private uint challengeId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ChallengeId { get { return challengeId_; } set { challengeId_ = 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 (ChallengeScore != other.ChallengeScore) return false; if (ScoreTwo != other.ScoreTwo) return false; if (IsSecondHalf != other.IsSecondHalf) return false; if (IsWin != other.IsWin) return false; if (IsReward != other.IsReward) return false; if(!battleTargetList_.Equals(other.battleTargetList_)) return false; if (Star != other.Star) return false; if (PageType != other.PageType) return false; if (Phase != other.Phase) return false; if (ChallengeId != other.ChallengeId) 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 (ChallengeScore != 0) hash ^= ChallengeScore.GetHashCode(); if (ScoreTwo != 0) hash ^= ScoreTwo.GetHashCode(); if (IsSecondHalf != false) hash ^= IsSecondHalf.GetHashCode(); if (IsWin != false) hash ^= IsWin.GetHashCode(); if (IsReward != false) hash ^= IsReward.GetHashCode(); hash ^= battleTargetList_.GetHashCode(); if (Star != 0) hash ^= Star.GetHashCode(); if (PageType != 0) hash ^= PageType.GetHashCode(); if (Phase != 0) hash ^= Phase.GetHashCode(); if (ChallengeId != 0) hash ^= ChallengeId.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 (IsWin != false) { output.WriteRawTag(16); output.WriteBool(IsWin); } if (Star != 0) { output.WriteRawTag(24); output.WriteUInt32(Star); } if (IsReward != false) { output.WriteRawTag(32); output.WriteBool(IsReward); } if (ScoreTwo != 0) { output.WriteRawTag(56); output.WriteUInt32(ScoreTwo); } if (ChallengeScore != 0) { output.WriteRawTag(64); output.WriteUInt32(ChallengeScore); } if (ChallengeId != 0) { output.WriteRawTag(80); output.WriteUInt32(ChallengeId); } if (Phase != 0) { output.WriteRawTag(88); output.WriteUInt32(Phase); } if (IsSecondHalf != false) { output.WriteRawTag(96); output.WriteBool(IsSecondHalf); } battleTargetList_.WriteTo(output, _repeated_battleTargetList_codec); if (PageType != 0) { output.WriteRawTag(112); output.WriteUInt32(PageType); } 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 (IsWin != false) { output.WriteRawTag(16); output.WriteBool(IsWin); } if (Star != 0) { output.WriteRawTag(24); output.WriteUInt32(Star); } if (IsReward != false) { output.WriteRawTag(32); output.WriteBool(IsReward); } if (ScoreTwo != 0) { output.WriteRawTag(56); output.WriteUInt32(ScoreTwo); } if (ChallengeScore != 0) { output.WriteRawTag(64); output.WriteUInt32(ChallengeScore); } if (ChallengeId != 0) { output.WriteRawTag(80); output.WriteUInt32(ChallengeId); } if (Phase != 0) { output.WriteRawTag(88); output.WriteUInt32(Phase); } if (IsSecondHalf != false) { output.WriteRawTag(96); output.WriteBool(IsSecondHalf); } battleTargetList_.WriteTo(ref output, _repeated_battleTargetList_codec); if (PageType != 0) { output.WriteRawTag(112); output.WriteUInt32(PageType); } 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 (ChallengeScore != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChallengeScore); } if (ScoreTwo != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ScoreTwo); } if (IsSecondHalf != false) { size += 1 + 1; } if (IsWin != false) { size += 1 + 1; } if (IsReward != false) { size += 1 + 1; } size += battleTargetList_.CalculateSize(_repeated_battleTargetList_codec); if (Star != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star); } if (PageType != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PageType); } if (Phase != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Phase); } if (ChallengeId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChallengeId); } 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.ChallengeScore != 0) { ChallengeScore = other.ChallengeScore; } if (other.ScoreTwo != 0) { ScoreTwo = other.ScoreTwo; } if (other.IsSecondHalf != false) { IsSecondHalf = other.IsSecondHalf; } if (other.IsWin != false) { IsWin = other.IsWin; } if (other.IsReward != false) { IsReward = other.IsReward; } battleTargetList_.Add(other.battleTargetList_); if (other.Star != 0) { Star = other.Star; } if (other.PageType != 0) { PageType = other.PageType; } if (other.Phase != 0) { Phase = other.Phase; } if (other.ChallengeId != 0) { ChallengeId = other.ChallengeId; } _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 16: { IsWin = input.ReadBool(); break; } case 24: { Star = input.ReadUInt32(); break; } case 32: { IsReward = input.ReadBool(); break; } case 56: { ScoreTwo = input.ReadUInt32(); break; } case 64: { ChallengeScore = input.ReadUInt32(); break; } case 80: { ChallengeId = input.ReadUInt32(); break; } case 88: { Phase = input.ReadUInt32(); break; } case 96: { IsSecondHalf = input.ReadBool(); break; } case 106: { battleTargetList_.AddEntriesFrom(input, _repeated_battleTargetList_codec); break; } case 112: { PageType = 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 16: { IsWin = input.ReadBool(); break; } case 24: { Star = input.ReadUInt32(); break; } case 32: { IsReward = input.ReadBool(); break; } case 56: { ScoreTwo = input.ReadUInt32(); break; } case 64: { ChallengeScore = input.ReadUInt32(); break; } case 80: { ChallengeId = input.ReadUInt32(); break; } case 88: { Phase = input.ReadUInt32(); break; } case 96: { IsSecondHalf = input.ReadBool(); break; } case 106: { battleTargetList_.AddEntriesFrom(ref input, _repeated_battleTargetList_codec); break; } case 112: { PageType = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code