// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: ChessRogueLevelInfo.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 ChessRogueLevelInfo.proto public static partial class ChessRogueLevelInfoReflection { #region Descriptor /// File descriptor for ChessRogueLevelInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ChessRogueLevelInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChlDaGVzc1JvZ3VlTGV2ZWxJbmZvLnByb3RvGhhDaGVzc1JvZ3VlQXJlYUlu", "Zm8ucHJvdG8i5gEKE0NoZXNzUm9ndWVMZXZlbEluZm8SEAoIbGF5ZXJfaWQY", "BSABKA0SFAoMYWN0aW9uX3BvaW50GAMgASgFEgoKAmlkGA8gASgNEiYKCWFy", "ZWFfaW5mbxgNIAEoCzITLkNoZXNzUm9ndWVBcmVhSW5mbxIUCgxhcmVhX2lk", "X2xpc3QYCSADKA0SEwoLT0NETk1ITk5LR00YAiABKAUSHQoVZXhwbG9yZWRf", "YXJlYV9pZF9saXN0GAwgAygNEhQKDGxldmVsX3N0YXR1cxgEIAEoDRITCgtN", "SE9JSkFGR0VDUBgHIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlBy", "b3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChessRogueAreaInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ChessRogueLevelInfo), global::EggLink.DanhengServer.Proto.ChessRogueLevelInfo.Parser, new[]{ "LayerId", "ActionPoint", "Id", "AreaInfo", "AreaIdList", "OCDNMHNNKGM", "ExploredAreaIdList", "LevelStatus", "MHOIJAFGECP" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ChessRogueLevelInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChessRogueLevelInfo()); 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.ChessRogueLevelInfoReflection.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 ChessRogueLevelInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ChessRogueLevelInfo(ChessRogueLevelInfo other) : this() { layerId_ = other.layerId_; actionPoint_ = other.actionPoint_; id_ = other.id_; areaInfo_ = other.areaInfo_ != null ? other.areaInfo_.Clone() : null; areaIdList_ = other.areaIdList_.Clone(); oCDNMHNNKGM_ = other.oCDNMHNNKGM_; exploredAreaIdList_ = other.exploredAreaIdList_.Clone(); levelStatus_ = other.levelStatus_; mHOIJAFGECP_ = other.mHOIJAFGECP_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ChessRogueLevelInfo Clone() { return new ChessRogueLevelInfo(this); } /// Field number for the "layer_id" field. public const int LayerIdFieldNumber = 5; 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 "action_point" field. public const int ActionPointFieldNumber = 3; private int actionPoint_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int ActionPoint { get { return actionPoint_; } set { actionPoint_ = value; } } /// Field number for the "id" field. public const int IdFieldNumber = 15; private uint id_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Id { get { return id_; } set { id_ = value; } } /// Field number for the "area_info" field. public const int AreaInfoFieldNumber = 13; private global::EggLink.DanhengServer.Proto.ChessRogueAreaInfo areaInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.ChessRogueAreaInfo AreaInfo { get { return areaInfo_; } set { areaInfo_ = value; } } /// Field number for the "area_id_list" field. public const int AreaIdListFieldNumber = 9; private static readonly pb::FieldCodec _repeated_areaIdList_codec = pb::FieldCodec.ForUInt32(74); private readonly pbc::RepeatedField areaIdList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField AreaIdList { get { return areaIdList_; } } /// Field number for the "OCDNMHNNKGM" field. public const int OCDNMHNNKGMFieldNumber = 2; private int oCDNMHNNKGM_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int OCDNMHNNKGM { get { return oCDNMHNNKGM_; } set { oCDNMHNNKGM_ = value; } } /// Field number for the "explored_area_id_list" field. public const int ExploredAreaIdListFieldNumber = 12; private static readonly pb::FieldCodec _repeated_exploredAreaIdList_codec = pb::FieldCodec.ForUInt32(98); private readonly pbc::RepeatedField exploredAreaIdList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ExploredAreaIdList { get { return exploredAreaIdList_; } } /// Field number for the "level_status" field. public const int LevelStatusFieldNumber = 4; private uint levelStatus_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint LevelStatus { get { return levelStatus_; } set { levelStatus_ = value; } } /// Field number for the "MHOIJAFGECP" field. public const int MHOIJAFGECPFieldNumber = 7; private uint mHOIJAFGECP_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint MHOIJAFGECP { get { return mHOIJAFGECP_; } set { mHOIJAFGECP_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ChessRogueLevelInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ChessRogueLevelInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (LayerId != other.LayerId) return false; if (ActionPoint != other.ActionPoint) return false; if (Id != other.Id) return false; if (!object.Equals(AreaInfo, other.AreaInfo)) return false; if(!areaIdList_.Equals(other.areaIdList_)) return false; if (OCDNMHNNKGM != other.OCDNMHNNKGM) return false; if(!exploredAreaIdList_.Equals(other.exploredAreaIdList_)) return false; if (LevelStatus != other.LevelStatus) return false; if (MHOIJAFGECP != other.MHOIJAFGECP) 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 (ActionPoint != 0) hash ^= ActionPoint.GetHashCode(); if (Id != 0) hash ^= Id.GetHashCode(); if (areaInfo_ != null) hash ^= AreaInfo.GetHashCode(); hash ^= areaIdList_.GetHashCode(); if (OCDNMHNNKGM != 0) hash ^= OCDNMHNNKGM.GetHashCode(); hash ^= exploredAreaIdList_.GetHashCode(); if (LevelStatus != 0) hash ^= LevelStatus.GetHashCode(); if (MHOIJAFGECP != 0) hash ^= MHOIJAFGECP.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 (OCDNMHNNKGM != 0) { output.WriteRawTag(16); output.WriteInt32(OCDNMHNNKGM); } if (ActionPoint != 0) { output.WriteRawTag(24); output.WriteInt32(ActionPoint); } if (LevelStatus != 0) { output.WriteRawTag(32); output.WriteUInt32(LevelStatus); } if (LayerId != 0) { output.WriteRawTag(40); output.WriteUInt32(LayerId); } if (MHOIJAFGECP != 0) { output.WriteRawTag(56); output.WriteUInt32(MHOIJAFGECP); } areaIdList_.WriteTo(output, _repeated_areaIdList_codec); exploredAreaIdList_.WriteTo(output, _repeated_exploredAreaIdList_codec); if (areaInfo_ != null) { output.WriteRawTag(106); output.WriteMessage(AreaInfo); } if (Id != 0) { output.WriteRawTag(120); output.WriteUInt32(Id); } 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 (OCDNMHNNKGM != 0) { output.WriteRawTag(16); output.WriteInt32(OCDNMHNNKGM); } if (ActionPoint != 0) { output.WriteRawTag(24); output.WriteInt32(ActionPoint); } if (LevelStatus != 0) { output.WriteRawTag(32); output.WriteUInt32(LevelStatus); } if (LayerId != 0) { output.WriteRawTag(40); output.WriteUInt32(LayerId); } if (MHOIJAFGECP != 0) { output.WriteRawTag(56); output.WriteUInt32(MHOIJAFGECP); } areaIdList_.WriteTo(ref output, _repeated_areaIdList_codec); exploredAreaIdList_.WriteTo(ref output, _repeated_exploredAreaIdList_codec); if (areaInfo_ != null) { output.WriteRawTag(106); output.WriteMessage(AreaInfo); } if (Id != 0) { output.WriteRawTag(120); output.WriteUInt32(Id); } 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 (ActionPoint != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(ActionPoint); } if (Id != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); } if (areaInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(AreaInfo); } size += areaIdList_.CalculateSize(_repeated_areaIdList_codec); if (OCDNMHNNKGM != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(OCDNMHNNKGM); } size += exploredAreaIdList_.CalculateSize(_repeated_exploredAreaIdList_codec); if (LevelStatus != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LevelStatus); } if (MHOIJAFGECP != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MHOIJAFGECP); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ChessRogueLevelInfo other) { if (other == null) { return; } if (other.LayerId != 0) { LayerId = other.LayerId; } if (other.ActionPoint != 0) { ActionPoint = other.ActionPoint; } if (other.Id != 0) { Id = other.Id; } if (other.areaInfo_ != null) { if (areaInfo_ == null) { AreaInfo = new global::EggLink.DanhengServer.Proto.ChessRogueAreaInfo(); } AreaInfo.MergeFrom(other.AreaInfo); } areaIdList_.Add(other.areaIdList_); if (other.OCDNMHNNKGM != 0) { OCDNMHNNKGM = other.OCDNMHNNKGM; } exploredAreaIdList_.Add(other.exploredAreaIdList_); if (other.LevelStatus != 0) { LevelStatus = other.LevelStatus; } if (other.MHOIJAFGECP != 0) { MHOIJAFGECP = other.MHOIJAFGECP; } _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: { OCDNMHNNKGM = input.ReadInt32(); break; } case 24: { ActionPoint = input.ReadInt32(); break; } case 32: { LevelStatus = input.ReadUInt32(); break; } case 40: { LayerId = input.ReadUInt32(); break; } case 56: { MHOIJAFGECP = input.ReadUInt32(); break; } case 74: case 72: { areaIdList_.AddEntriesFrom(input, _repeated_areaIdList_codec); break; } case 98: case 96: { exploredAreaIdList_.AddEntriesFrom(input, _repeated_exploredAreaIdList_codec); break; } case 106: { if (areaInfo_ == null) { AreaInfo = new global::EggLink.DanhengServer.Proto.ChessRogueAreaInfo(); } input.ReadMessage(AreaInfo); break; } case 120: { Id = 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: { OCDNMHNNKGM = input.ReadInt32(); break; } case 24: { ActionPoint = input.ReadInt32(); break; } case 32: { LevelStatus = input.ReadUInt32(); break; } case 40: { LayerId = input.ReadUInt32(); break; } case 56: { MHOIJAFGECP = input.ReadUInt32(); break; } case 74: case 72: { areaIdList_.AddEntriesFrom(ref input, _repeated_areaIdList_codec); break; } case 98: case 96: { exploredAreaIdList_.AddEntriesFrom(ref input, _repeated_exploredAreaIdList_codec); break; } case 106: { if (areaInfo_ == null) { AreaInfo = new global::EggLink.DanhengServer.Proto.ChessRogueAreaInfo(); } input.ReadMessage(AreaInfo); break; } case 120: { Id = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code