// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: MusicRhythmFinishLevelCsReq.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 MusicRhythmFinishLevelCsReq.proto public static partial class MusicRhythmFinishLevelCsReqReflection { #region Descriptor /// File descriptor for MusicRhythmFinishLevelCsReq.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static MusicRhythmFinishLevelCsReqReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiFNdXNpY1JoeXRobUZpbmlzaExldmVsQ3NSZXEucHJvdG8iUQobTXVzaWNS", "aHl0aG1GaW5pc2hMZXZlbENzUmVxEgwKBHRpZXIYCyABKA0SEgoKZnVsbF9j", "b21ibxgFIAEoCBIQCghzY29yZV9pZBgIIAEoDUIeqgIbRWdnTGluay5EYW5o", "ZW5nU2VydmVyLlByb3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.MusicRhythmFinishLevelCsReq), global::EggLink.DanhengServer.Proto.MusicRhythmFinishLevelCsReq.Parser, new[]{ "Tier", "FullCombo", "ScoreId" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class MusicRhythmFinishLevelCsReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MusicRhythmFinishLevelCsReq()); 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.MusicRhythmFinishLevelCsReqReflection.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 MusicRhythmFinishLevelCsReq() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public MusicRhythmFinishLevelCsReq(MusicRhythmFinishLevelCsReq other) : this() { tier_ = other.tier_; fullCombo_ = other.fullCombo_; scoreId_ = other.scoreId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public MusicRhythmFinishLevelCsReq Clone() { return new MusicRhythmFinishLevelCsReq(this); } /// Field number for the "tier" field. public const int TierFieldNumber = 11; private uint tier_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Tier { get { return tier_; } set { tier_ = value; } } /// Field number for the "full_combo" field. public const int FullComboFieldNumber = 5; private bool fullCombo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool FullCombo { get { return fullCombo_; } set { fullCombo_ = value; } } /// Field number for the "score_id" field. public const int ScoreIdFieldNumber = 8; private uint scoreId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ScoreId { get { return scoreId_; } set { scoreId_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as MusicRhythmFinishLevelCsReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(MusicRhythmFinishLevelCsReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Tier != other.Tier) return false; if (FullCombo != other.FullCombo) return false; if (ScoreId != other.ScoreId) 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 (Tier != 0) hash ^= Tier.GetHashCode(); if (FullCombo != false) hash ^= FullCombo.GetHashCode(); if (ScoreId != 0) hash ^= ScoreId.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 (FullCombo != false) { output.WriteRawTag(40); output.WriteBool(FullCombo); } if (ScoreId != 0) { output.WriteRawTag(64); output.WriteUInt32(ScoreId); } if (Tier != 0) { output.WriteRawTag(88); output.WriteUInt32(Tier); } 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 (FullCombo != false) { output.WriteRawTag(40); output.WriteBool(FullCombo); } if (ScoreId != 0) { output.WriteRawTag(64); output.WriteUInt32(ScoreId); } if (Tier != 0) { output.WriteRawTag(88); output.WriteUInt32(Tier); } 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 (Tier != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Tier); } if (FullCombo != false) { size += 1 + 1; } if (ScoreId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ScoreId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(MusicRhythmFinishLevelCsReq other) { if (other == null) { return; } if (other.Tier != 0) { Tier = other.Tier; } if (other.FullCombo != false) { FullCombo = other.FullCombo; } if (other.ScoreId != 0) { ScoreId = other.ScoreId; } _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 40: { FullCombo = input.ReadBool(); break; } case 64: { ScoreId = input.ReadUInt32(); break; } case 88: { Tier = 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 40: { FullCombo = input.ReadBool(); break; } case 64: { ScoreId = input.ReadUInt32(); break; } case 88: { Tier = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code