// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: ChallengePeakGroupStatistics.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 ChallengePeakGroupStatistics.proto public static partial class ChallengePeakGroupStatisticsReflection { #region Descriptor /// File descriptor for ChallengePeakGroupStatistics.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ChallengePeakGroupStatisticsReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiJDaGFsbGVuZ2VQZWFrR3JvdXBTdGF0aXN0aWNzLnByb3RvGhlCb3NzTGV2", "ZWxTdGF0aXN0aWNzLnByb3RvGhhQcmVMZXZlbFN0YXRpc3RpY3MucHJvdG8i", "jwEKHENoYWxsZW5nZVBlYWtHcm91cFN0YXRpc3RpY3MSLwoScHJlX2xldmVs", "X3N0dF9saXN0GAUgAygLMhMuUHJlTGV2ZWxTdGF0aXN0aWNzEiwKDmJvc3Nf", "bGV2ZWxfc3R0GAcgASgLMhQuQm9zc0xldmVsU3RhdGlzdGljcxIQCghncm91", "cF9pZBgCIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZw", "cm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.BossLevelStatisticsReflection.Descriptor, global::EggLink.DanhengServer.Proto.PreLevelStatisticsReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChallengePeakGroupStatistics), global::EggLink.DanhengServer.Proto.ChallengePeakGroupStatistics.Parser, new[]{ "PreLevelSttList", "BossLevelStt", "GroupId" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ChallengePeakGroupStatistics : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChallengePeakGroupStatistics()); 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.ChallengePeakGroupStatisticsReflection.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 ChallengePeakGroupStatistics() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ChallengePeakGroupStatistics(ChallengePeakGroupStatistics other) : this() { preLevelSttList_ = other.preLevelSttList_.Clone(); bossLevelStt_ = other.bossLevelStt_ != null ? other.bossLevelStt_.Clone() : null; groupId_ = other.groupId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ChallengePeakGroupStatistics Clone() { return new ChallengePeakGroupStatistics(this); } /// Field number for the "pre_level_stt_list" field. public const int PreLevelSttListFieldNumber = 5; private static readonly pb::FieldCodec _repeated_preLevelSttList_codec = pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.PreLevelStatistics.Parser); private readonly pbc::RepeatedField preLevelSttList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField PreLevelSttList { get { return preLevelSttList_; } } /// Field number for the "boss_level_stt" field. public const int BossLevelSttFieldNumber = 7; private global::EggLink.DanhengServer.Proto.BossLevelStatistics bossLevelStt_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.BossLevelStatistics BossLevelStt { get { return bossLevelStt_; } set { bossLevelStt_ = value; } } /// Field number for the "group_id" field. public const int GroupIdFieldNumber = 2; private uint groupId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GroupId { get { return groupId_; } set { groupId_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ChallengePeakGroupStatistics); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ChallengePeakGroupStatistics other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!preLevelSttList_.Equals(other.preLevelSttList_)) return false; if (!object.Equals(BossLevelStt, other.BossLevelStt)) return false; if (GroupId != other.GroupId) 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; hash ^= preLevelSttList_.GetHashCode(); if (bossLevelStt_ != null) hash ^= BossLevelStt.GetHashCode(); if (GroupId != 0) hash ^= GroupId.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 (GroupId != 0) { output.WriteRawTag(16); output.WriteUInt32(GroupId); } preLevelSttList_.WriteTo(output, _repeated_preLevelSttList_codec); if (bossLevelStt_ != null) { output.WriteRawTag(58); output.WriteMessage(BossLevelStt); } 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 (GroupId != 0) { output.WriteRawTag(16); output.WriteUInt32(GroupId); } preLevelSttList_.WriteTo(ref output, _repeated_preLevelSttList_codec); if (bossLevelStt_ != null) { output.WriteRawTag(58); output.WriteMessage(BossLevelStt); } 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; size += preLevelSttList_.CalculateSize(_repeated_preLevelSttList_codec); if (bossLevelStt_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(BossLevelStt); } if (GroupId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GroupId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ChallengePeakGroupStatistics other) { if (other == null) { return; } preLevelSttList_.Add(other.preLevelSttList_); if (other.bossLevelStt_ != null) { if (bossLevelStt_ == null) { BossLevelStt = new global::EggLink.DanhengServer.Proto.BossLevelStatistics(); } BossLevelStt.MergeFrom(other.BossLevelStt); } if (other.GroupId != 0) { GroupId = other.GroupId; } _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: { GroupId = input.ReadUInt32(); break; } case 42: { preLevelSttList_.AddEntriesFrom(input, _repeated_preLevelSttList_codec); break; } case 58: { if (bossLevelStt_ == null) { BossLevelStt = new global::EggLink.DanhengServer.Proto.BossLevelStatistics(); } input.ReadMessage(BossLevelStt); 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: { GroupId = input.ReadUInt32(); break; } case 42: { preLevelSttList_.AddEntriesFrom(ref input, _repeated_preLevelSttList_codec); break; } case 58: { if (bossLevelStt_ == null) { BossLevelStt = new global::EggLink.DanhengServer.Proto.BossLevelStatistics(); } input.ReadMessage(BossLevelStt); break; } } } } #endif } #endregion } #endregion Designer generated code