// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: ChessRogueLayerAccountInfoNotify.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 ChessRogueLayerAccountInfoNotify.proto public static partial class ChessRogueLayerAccountInfoNotifyReflection { #region Descriptor /// File descriptor for ChessRogueLayerAccountInfoNotify.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ChessRogueLayerAccountInfoNotifyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiZDaGVzc1JvZ3VlTGF5ZXJBY2NvdW50SW5mb05vdGlmeS5wcm90bxoaQ2hl", "c3NSb2d1ZUZpbmlzaEluZm8ucHJvdG8iegogQ2hlc3NSb2d1ZUxheWVyQWNj", "b3VudEluZm9Ob3RpZnkSEAoIbGF5ZXJfaWQYDiABKA0SKgoLZmluaXNoX2lu", "Zm8YASABKAsyFS5DaGVzc1JvZ3VlRmluaXNoSW5mbxIYChBkaWZmaWN1bHR5", "X2xldmVsGAUgASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9i", "BnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChessRogueFinishInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChessRogueLayerAccountInfoNotify), global::EggLink.DanhengServer.Proto.ChessRogueLayerAccountInfoNotify.Parser, new[]{ "LayerId", "FinishInfo", "DifficultyLevel" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ChessRogueLayerAccountInfoNotify : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChessRogueLayerAccountInfoNotify()); 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.ChessRogueLayerAccountInfoNotifyReflection.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 ChessRogueLayerAccountInfoNotify() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ChessRogueLayerAccountInfoNotify(ChessRogueLayerAccountInfoNotify other) : this() { layerId_ = other.layerId_; finishInfo_ = other.finishInfo_ != null ? other.finishInfo_.Clone() : null; difficultyLevel_ = other.difficultyLevel_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ChessRogueLayerAccountInfoNotify Clone() { return new ChessRogueLayerAccountInfoNotify(this); } /// Field number for the "layer_id" field. public const int LayerIdFieldNumber = 14; private uint layerId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint LayerId { get { return layerId_; } set { layerId_ = value; } } /// Field number for the "finish_info" field. public const int FinishInfoFieldNumber = 1; private global::EggLink.DanhengServer.Proto.ChessRogueFinishInfo finishInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.ChessRogueFinishInfo FinishInfo { get { return finishInfo_; } set { finishInfo_ = value; } } /// Field number for the "difficulty_level" field. public const int DifficultyLevelFieldNumber = 5; private uint difficultyLevel_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint DifficultyLevel { get { return difficultyLevel_; } set { difficultyLevel_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ChessRogueLayerAccountInfoNotify); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ChessRogueLayerAccountInfoNotify other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (LayerId != other.LayerId) return false; if (!object.Equals(FinishInfo, other.FinishInfo)) return false; if (DifficultyLevel != other.DifficultyLevel) 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 (LayerId != 0) hash ^= LayerId.GetHashCode(); if (finishInfo_ != null) hash ^= FinishInfo.GetHashCode(); if (DifficultyLevel != 0) hash ^= DifficultyLevel.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 (finishInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(FinishInfo); } if (DifficultyLevel != 0) { output.WriteRawTag(40); output.WriteUInt32(DifficultyLevel); } if (LayerId != 0) { output.WriteRawTag(112); output.WriteUInt32(LayerId); } 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 (finishInfo_ != null) { output.WriteRawTag(10); output.WriteMessage(FinishInfo); } if (DifficultyLevel != 0) { output.WriteRawTag(40); output.WriteUInt32(DifficultyLevel); } if (LayerId != 0) { output.WriteRawTag(112); output.WriteUInt32(LayerId); } 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 (LayerId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LayerId); } if (finishInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(FinishInfo); } if (DifficultyLevel != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DifficultyLevel); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ChessRogueLayerAccountInfoNotify other) { if (other == null) { return; } if (other.LayerId != 0) { LayerId = other.LayerId; } if (other.finishInfo_ != null) { if (finishInfo_ == null) { FinishInfo = new global::EggLink.DanhengServer.Proto.ChessRogueFinishInfo(); } FinishInfo.MergeFrom(other.FinishInfo); } if (other.DifficultyLevel != 0) { DifficultyLevel = other.DifficultyLevel; } _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 10: { if (finishInfo_ == null) { FinishInfo = new global::EggLink.DanhengServer.Proto.ChessRogueFinishInfo(); } input.ReadMessage(FinishInfo); break; } case 40: { DifficultyLevel = input.ReadUInt32(); break; } case 112: { LayerId = 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 10: { if (finishInfo_ == null) { FinishInfo = new global::EggLink.DanhengServer.Proto.ChessRogueFinishInfo(); } input.ReadMessage(FinishInfo); break; } case 40: { DifficultyLevel = input.ReadUInt32(); break; } case 112: { LayerId = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code