// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: ChallengeSettleNotify.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 ChallengeSettleNotify.proto public static partial class ChallengeSettleNotifyReflection { #region Descriptor /// File descriptor for ChallengeSettleNotify.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ChallengeSettleNotifyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChtDaGFsbGVuZ2VTZXR0bGVOb3RpZnkucHJvdG8aEkN1ckNoYWxsZW5nZS5w", "cm90bxoRQ0NMR0xQQUJHSEQucHJvdG8aDkl0ZW1MaXN0LnByb3RvIoUCChVD", "aGFsbGVuZ2VTZXR0bGVOb3RpZnkSDgoGaXNfd2luGAggASgIEhcKD2NoYWxs", "ZW5nZV9zY29yZRgCIAEoDRIhCgtDQ09BSkdERVBKQRgDIAEoCzIMLkNDTEdM", "UEFCR0hEEhkKBnJld2FyZBgJIAEoCzIJLkl0ZW1MaXN0EgwKBHN0YXIYDCAB", "KA0SJAoNY3VyX2NoYWxsZW5nZRgNIAEoCzINLkN1ckNoYWxsZW5nZRITCgtI", "QUhBRUlGTUxCTRgGIAMoDRITCgtMUExKTUtQQkxJRhgOIAEoDRIUCgxjaGFs", "bGVuZ2VfaWQYBCABKA0SEQoJc2NvcmVfdHdvGAsgASgNQh6qAhtFZ2dMaW5r", "LkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.CurChallengeReflection.Descriptor, global::EggLink.DanhengServer.Proto.CCLGLPABGHDReflection.Descriptor, global::EggLink.DanhengServer.Proto.ItemListReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChallengeSettleNotify), global::EggLink.DanhengServer.Proto.ChallengeSettleNotify.Parser, new[]{ "IsWin", "ChallengeScore", "CCOAJGDEPJA", "Reward", "Star", "CurChallenge", "HAHAEIFMLBM", "LPLJMKPBLIF", "ChallengeId", "ScoreTwo" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ChallengeSettleNotify : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChallengeSettleNotify()); 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.ChallengeSettleNotifyReflection.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 ChallengeSettleNotify() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ChallengeSettleNotify(ChallengeSettleNotify other) : this() { isWin_ = other.isWin_; challengeScore_ = other.challengeScore_; cCOAJGDEPJA_ = other.cCOAJGDEPJA_ != null ? other.cCOAJGDEPJA_.Clone() : null; reward_ = other.reward_ != null ? other.reward_.Clone() : null; star_ = other.star_; curChallenge_ = other.curChallenge_ != null ? other.curChallenge_.Clone() : null; hAHAEIFMLBM_ = other.hAHAEIFMLBM_.Clone(); lPLJMKPBLIF_ = other.lPLJMKPBLIF_; challengeId_ = other.challengeId_; scoreTwo_ = other.scoreTwo_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ChallengeSettleNotify Clone() { return new ChallengeSettleNotify(this); } /// Field number for the "is_win" field. public const int IsWinFieldNumber = 8; 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 = 2; 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 "CCOAJGDEPJA" field. public const int CCOAJGDEPJAFieldNumber = 3; private global::EggLink.DanhengServer.Proto.CCLGLPABGHD cCOAJGDEPJA_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.CCLGLPABGHD CCOAJGDEPJA { get { return cCOAJGDEPJA_; } set { cCOAJGDEPJA_ = value; } } /// Field number for the "reward" field. public const int RewardFieldNumber = 9; private global::EggLink.DanhengServer.Proto.ItemList reward_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.ItemList Reward { get { return reward_; } set { reward_ = value; } } /// Field number for the "star" field. public const int StarFieldNumber = 12; 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 "cur_challenge" field. public const int CurChallengeFieldNumber = 13; private global::EggLink.DanhengServer.Proto.CurChallenge curChallenge_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.CurChallenge CurChallenge { get { return curChallenge_; } set { curChallenge_ = value; } } /// Field number for the "HAHAEIFMLBM" field. public const int HAHAEIFMLBMFieldNumber = 6; private static readonly pb::FieldCodec _repeated_hAHAEIFMLBM_codec = pb::FieldCodec.ForUInt32(50); private readonly pbc::RepeatedField hAHAEIFMLBM_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField HAHAEIFMLBM { get { return hAHAEIFMLBM_; } } /// Field number for the "LPLJMKPBLIF" field. public const int LPLJMKPBLIFFieldNumber = 14; private uint lPLJMKPBLIF_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint LPLJMKPBLIF { get { return lPLJMKPBLIF_; } set { lPLJMKPBLIF_ = value; } } /// Field number for the "challenge_id" field. public const int ChallengeIdFieldNumber = 4; 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 "score_two" field. public const int ScoreTwoFieldNumber = 11; private uint scoreTwo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ScoreTwo { get { return scoreTwo_; } set { scoreTwo_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ChallengeSettleNotify); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ChallengeSettleNotify other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (IsWin != other.IsWin) return false; if (ChallengeScore != other.ChallengeScore) return false; if (!object.Equals(CCOAJGDEPJA, other.CCOAJGDEPJA)) return false; if (!object.Equals(Reward, other.Reward)) return false; if (Star != other.Star) return false; if (!object.Equals(CurChallenge, other.CurChallenge)) return false; if(!hAHAEIFMLBM_.Equals(other.hAHAEIFMLBM_)) return false; if (LPLJMKPBLIF != other.LPLJMKPBLIF) return false; if (ChallengeId != other.ChallengeId) return false; if (ScoreTwo != other.ScoreTwo) 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 (IsWin != false) hash ^= IsWin.GetHashCode(); if (ChallengeScore != 0) hash ^= ChallengeScore.GetHashCode(); if (cCOAJGDEPJA_ != null) hash ^= CCOAJGDEPJA.GetHashCode(); if (reward_ != null) hash ^= Reward.GetHashCode(); if (Star != 0) hash ^= Star.GetHashCode(); if (curChallenge_ != null) hash ^= CurChallenge.GetHashCode(); hash ^= hAHAEIFMLBM_.GetHashCode(); if (LPLJMKPBLIF != 0) hash ^= LPLJMKPBLIF.GetHashCode(); if (ChallengeId != 0) hash ^= ChallengeId.GetHashCode(); if (ScoreTwo != 0) hash ^= ScoreTwo.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 (ChallengeScore != 0) { output.WriteRawTag(16); output.WriteUInt32(ChallengeScore); } if (cCOAJGDEPJA_ != null) { output.WriteRawTag(26); output.WriteMessage(CCOAJGDEPJA); } if (ChallengeId != 0) { output.WriteRawTag(32); output.WriteUInt32(ChallengeId); } hAHAEIFMLBM_.WriteTo(output, _repeated_hAHAEIFMLBM_codec); if (IsWin != false) { output.WriteRawTag(64); output.WriteBool(IsWin); } if (reward_ != null) { output.WriteRawTag(74); output.WriteMessage(Reward); } if (ScoreTwo != 0) { output.WriteRawTag(88); output.WriteUInt32(ScoreTwo); } if (Star != 0) { output.WriteRawTag(96); output.WriteUInt32(Star); } if (curChallenge_ != null) { output.WriteRawTag(106); output.WriteMessage(CurChallenge); } if (LPLJMKPBLIF != 0) { output.WriteRawTag(112); output.WriteUInt32(LPLJMKPBLIF); } 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 (ChallengeScore != 0) { output.WriteRawTag(16); output.WriteUInt32(ChallengeScore); } if (cCOAJGDEPJA_ != null) { output.WriteRawTag(26); output.WriteMessage(CCOAJGDEPJA); } if (ChallengeId != 0) { output.WriteRawTag(32); output.WriteUInt32(ChallengeId); } hAHAEIFMLBM_.WriteTo(ref output, _repeated_hAHAEIFMLBM_codec); if (IsWin != false) { output.WriteRawTag(64); output.WriteBool(IsWin); } if (reward_ != null) { output.WriteRawTag(74); output.WriteMessage(Reward); } if (ScoreTwo != 0) { output.WriteRawTag(88); output.WriteUInt32(ScoreTwo); } if (Star != 0) { output.WriteRawTag(96); output.WriteUInt32(Star); } if (curChallenge_ != null) { output.WriteRawTag(106); output.WriteMessage(CurChallenge); } if (LPLJMKPBLIF != 0) { output.WriteRawTag(112); output.WriteUInt32(LPLJMKPBLIF); } 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 (IsWin != false) { size += 1 + 1; } if (ChallengeScore != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChallengeScore); } if (cCOAJGDEPJA_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CCOAJGDEPJA); } if (reward_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Reward); } if (Star != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Star); } if (curChallenge_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurChallenge); } size += hAHAEIFMLBM_.CalculateSize(_repeated_hAHAEIFMLBM_codec); if (LPLJMKPBLIF != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LPLJMKPBLIF); } if (ChallengeId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChallengeId); } if (ScoreTwo != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ScoreTwo); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ChallengeSettleNotify other) { if (other == null) { return; } if (other.IsWin != false) { IsWin = other.IsWin; } if (other.ChallengeScore != 0) { ChallengeScore = other.ChallengeScore; } if (other.cCOAJGDEPJA_ != null) { if (cCOAJGDEPJA_ == null) { CCOAJGDEPJA = new global::EggLink.DanhengServer.Proto.CCLGLPABGHD(); } CCOAJGDEPJA.MergeFrom(other.CCOAJGDEPJA); } if (other.reward_ != null) { if (reward_ == null) { Reward = new global::EggLink.DanhengServer.Proto.ItemList(); } Reward.MergeFrom(other.Reward); } if (other.Star != 0) { Star = other.Star; } if (other.curChallenge_ != null) { if (curChallenge_ == null) { CurChallenge = new global::EggLink.DanhengServer.Proto.CurChallenge(); } CurChallenge.MergeFrom(other.CurChallenge); } hAHAEIFMLBM_.Add(other.hAHAEIFMLBM_); if (other.LPLJMKPBLIF != 0) { LPLJMKPBLIF = other.LPLJMKPBLIF; } if (other.ChallengeId != 0) { ChallengeId = other.ChallengeId; } if (other.ScoreTwo != 0) { ScoreTwo = other.ScoreTwo; } _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: { ChallengeScore = input.ReadUInt32(); break; } case 26: { if (cCOAJGDEPJA_ == null) { CCOAJGDEPJA = new global::EggLink.DanhengServer.Proto.CCLGLPABGHD(); } input.ReadMessage(CCOAJGDEPJA); break; } case 32: { ChallengeId = input.ReadUInt32(); break; } case 50: case 48: { hAHAEIFMLBM_.AddEntriesFrom(input, _repeated_hAHAEIFMLBM_codec); break; } case 64: { IsWin = input.ReadBool(); break; } case 74: { if (reward_ == null) { Reward = new global::EggLink.DanhengServer.Proto.ItemList(); } input.ReadMessage(Reward); break; } case 88: { ScoreTwo = input.ReadUInt32(); break; } case 96: { Star = input.ReadUInt32(); break; } case 106: { if (curChallenge_ == null) { CurChallenge = new global::EggLink.DanhengServer.Proto.CurChallenge(); } input.ReadMessage(CurChallenge); break; } case 112: { LPLJMKPBLIF = 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: { ChallengeScore = input.ReadUInt32(); break; } case 26: { if (cCOAJGDEPJA_ == null) { CCOAJGDEPJA = new global::EggLink.DanhengServer.Proto.CCLGLPABGHD(); } input.ReadMessage(CCOAJGDEPJA); break; } case 32: { ChallengeId = input.ReadUInt32(); break; } case 50: case 48: { hAHAEIFMLBM_.AddEntriesFrom(ref input, _repeated_hAHAEIFMLBM_codec); break; } case 64: { IsWin = input.ReadBool(); break; } case 74: { if (reward_ == null) { Reward = new global::EggLink.DanhengServer.Proto.ItemList(); } input.ReadMessage(Reward); break; } case 88: { ScoreTwo = input.ReadUInt32(); break; } case 96: { Star = input.ReadUInt32(); break; } case 106: { if (curChallenge_ == null) { CurChallenge = new global::EggLink.DanhengServer.Proto.CurChallenge(); } input.ReadMessage(CurChallenge); break; } case 112: { LPLJMKPBLIF = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code