// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: SceneMapInfo.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 SceneMapInfo.proto public static partial class SceneMapInfoReflection { #region Descriptor /// File descriptor for SceneMapInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static SceneMapInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChJTY2VuZU1hcEluZm8ucHJvdG8aEU5QQU9HS0ZLQUFFLnByb3RvGhNNYXpl", "UHJvcFN0YXRlLnByb3RvGg9DaGVzdEluZm8ucHJvdG8aD01hemVHcm91cC5w", "cm90byKzAwoMU2NlbmVNYXBJbmZvEhAKCGZsb29yX2lkGAogASgNEhAKCGVu", "dHJ5X2lkGAIgASgNEjsKEGZsb29yX3NhdmVkX2RhdGEYCyADKAsyIS5TY2Vu", "ZU1hcEluZm8uRmxvb3JTYXZlZERhdGFFbnRyeRIjCg9tYXplX2dyb3VwX2xp", "c3QYASADKAsyCi5NYXplR3JvdXASFAoMZGltZW5zaW9uX2lkGAwgASgNEh4K", "CmNoZXN0X2xpc3QYBCADKAsyCi5DaGVzdEluZm8SGAoQY3VyX21hcF9lbnRy", "eV9pZBgIIAEoDRIPCgdyZXRjb2RlGA4gASgNEiYKDm1hemVfcHJvcF9saXN0", "GAMgAygLMg4uTWF6ZVByb3BTdGF0ZRIcChRsaWdodGVuX3NlY3Rpb25fbGlz", "dBgPIAMoDRIhCgtKTUxETU9DTk1ITRgFIAMoCzIMLk5QQU9HS0ZLQUFFEhwK", "FHVubG9ja190ZWxlcG9ydF9saXN0GAYgAygNGjUKE0Zsb29yU2F2ZWREYXRh", "RW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgFOgI4AUIeqgIbRWdn", "TGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.NPAOGKFKAAEReflection.Descriptor, global::EggLink.DanhengServer.Proto.MazePropStateReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChestInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.MazeGroupReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SceneMapInfo), global::EggLink.DanhengServer.Proto.SceneMapInfo.Parser, new[]{ "FloorId", "EntryId", "FloorSavedData", "MazeGroupList", "DimensionId", "ChestList", "CurMapEntryId", "Retcode", "MazePropList", "LightenSectionList", "JMLDMOCNMHM", "UnlockTeleportList" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class SceneMapInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SceneMapInfo()); 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.SceneMapInfoReflection.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 SceneMapInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SceneMapInfo(SceneMapInfo other) : this() { floorId_ = other.floorId_; entryId_ = other.entryId_; floorSavedData_ = other.floorSavedData_.Clone(); mazeGroupList_ = other.mazeGroupList_.Clone(); dimensionId_ = other.dimensionId_; chestList_ = other.chestList_.Clone(); curMapEntryId_ = other.curMapEntryId_; retcode_ = other.retcode_; mazePropList_ = other.mazePropList_.Clone(); lightenSectionList_ = other.lightenSectionList_.Clone(); jMLDMOCNMHM_ = other.jMLDMOCNMHM_.Clone(); unlockTeleportList_ = other.unlockTeleportList_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SceneMapInfo Clone() { return new SceneMapInfo(this); } /// Field number for the "floor_id" field. public const int FloorIdFieldNumber = 10; private uint floorId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint FloorId { get { return floorId_; } set { floorId_ = value; } } /// Field number for the "entry_id" field. public const int EntryIdFieldNumber = 2; private uint entryId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint EntryId { get { return entryId_; } set { entryId_ = value; } } /// Field number for the "floor_saved_data" field. public const int FloorSavedDataFieldNumber = 11; private static readonly pbc::MapField.Codec _map_floorSavedData_codec = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForInt32(16, 0), 90); private readonly pbc::MapField floorSavedData_ = new pbc::MapField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::MapField FloorSavedData { get { return floorSavedData_; } } /// Field number for the "maze_group_list" field. public const int MazeGroupListFieldNumber = 1; private static readonly pb::FieldCodec _repeated_mazeGroupList_codec = pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.MazeGroup.Parser); private readonly pbc::RepeatedField mazeGroupList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField MazeGroupList { get { return mazeGroupList_; } } /// Field number for the "dimension_id" field. public const int DimensionIdFieldNumber = 12; private uint dimensionId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint DimensionId { get { return dimensionId_; } set { dimensionId_ = value; } } /// Field number for the "chest_list" field. public const int ChestListFieldNumber = 4; private static readonly pb::FieldCodec _repeated_chestList_codec = pb::FieldCodec.ForMessage(34, global::EggLink.DanhengServer.Proto.ChestInfo.Parser); private readonly pbc::RepeatedField chestList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ChestList { get { return chestList_; } } /// Field number for the "cur_map_entry_id" field. public const int CurMapEntryIdFieldNumber = 8; private uint curMapEntryId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurMapEntryId { get { return curMapEntryId_; } set { curMapEntryId_ = value; } } /// Field number for the "retcode" field. public const int RetcodeFieldNumber = 14; private uint retcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Retcode { get { return retcode_; } set { retcode_ = value; } } /// Field number for the "maze_prop_list" field. public const int MazePropListFieldNumber = 3; private static readonly pb::FieldCodec _repeated_mazePropList_codec = pb::FieldCodec.ForMessage(26, global::EggLink.DanhengServer.Proto.MazePropState.Parser); private readonly pbc::RepeatedField mazePropList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField MazePropList { get { return mazePropList_; } } /// Field number for the "lighten_section_list" field. public const int LightenSectionListFieldNumber = 15; private static readonly pb::FieldCodec _repeated_lightenSectionList_codec = pb::FieldCodec.ForUInt32(122); private readonly pbc::RepeatedField lightenSectionList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField LightenSectionList { get { return lightenSectionList_; } } /// Field number for the "JMLDMOCNMHM" field. public const int JMLDMOCNMHMFieldNumber = 5; private static readonly pb::FieldCodec _repeated_jMLDMOCNMHM_codec = pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.NPAOGKFKAAE.Parser); private readonly pbc::RepeatedField jMLDMOCNMHM_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField JMLDMOCNMHM { get { return jMLDMOCNMHM_; } } /// Field number for the "unlock_teleport_list" field. public const int UnlockTeleportListFieldNumber = 6; private static readonly pb::FieldCodec _repeated_unlockTeleportList_codec = pb::FieldCodec.ForUInt32(50); private readonly pbc::RepeatedField unlockTeleportList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField UnlockTeleportList { get { return unlockTeleportList_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as SceneMapInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(SceneMapInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (FloorId != other.FloorId) return false; if (EntryId != other.EntryId) return false; if (!FloorSavedData.Equals(other.FloorSavedData)) return false; if(!mazeGroupList_.Equals(other.mazeGroupList_)) return false; if (DimensionId != other.DimensionId) return false; if(!chestList_.Equals(other.chestList_)) return false; if (CurMapEntryId != other.CurMapEntryId) return false; if (Retcode != other.Retcode) return false; if(!mazePropList_.Equals(other.mazePropList_)) return false; if(!lightenSectionList_.Equals(other.lightenSectionList_)) return false; if(!jMLDMOCNMHM_.Equals(other.jMLDMOCNMHM_)) return false; if(!unlockTeleportList_.Equals(other.unlockTeleportList_)) 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 (FloorId != 0) hash ^= FloorId.GetHashCode(); if (EntryId != 0) hash ^= EntryId.GetHashCode(); hash ^= FloorSavedData.GetHashCode(); hash ^= mazeGroupList_.GetHashCode(); if (DimensionId != 0) hash ^= DimensionId.GetHashCode(); hash ^= chestList_.GetHashCode(); if (CurMapEntryId != 0) hash ^= CurMapEntryId.GetHashCode(); if (Retcode != 0) hash ^= Retcode.GetHashCode(); hash ^= mazePropList_.GetHashCode(); hash ^= lightenSectionList_.GetHashCode(); hash ^= jMLDMOCNMHM_.GetHashCode(); hash ^= unlockTeleportList_.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 mazeGroupList_.WriteTo(output, _repeated_mazeGroupList_codec); if (EntryId != 0) { output.WriteRawTag(16); output.WriteUInt32(EntryId); } mazePropList_.WriteTo(output, _repeated_mazePropList_codec); chestList_.WriteTo(output, _repeated_chestList_codec); jMLDMOCNMHM_.WriteTo(output, _repeated_jMLDMOCNMHM_codec); unlockTeleportList_.WriteTo(output, _repeated_unlockTeleportList_codec); if (CurMapEntryId != 0) { output.WriteRawTag(64); output.WriteUInt32(CurMapEntryId); } if (FloorId != 0) { output.WriteRawTag(80); output.WriteUInt32(FloorId); } floorSavedData_.WriteTo(output, _map_floorSavedData_codec); if (DimensionId != 0) { output.WriteRawTag(96); output.WriteUInt32(DimensionId); } if (Retcode != 0) { output.WriteRawTag(112); output.WriteUInt32(Retcode); } lightenSectionList_.WriteTo(output, _repeated_lightenSectionList_codec); 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) { mazeGroupList_.WriteTo(ref output, _repeated_mazeGroupList_codec); if (EntryId != 0) { output.WriteRawTag(16); output.WriteUInt32(EntryId); } mazePropList_.WriteTo(ref output, _repeated_mazePropList_codec); chestList_.WriteTo(ref output, _repeated_chestList_codec); jMLDMOCNMHM_.WriteTo(ref output, _repeated_jMLDMOCNMHM_codec); unlockTeleportList_.WriteTo(ref output, _repeated_unlockTeleportList_codec); if (CurMapEntryId != 0) { output.WriteRawTag(64); output.WriteUInt32(CurMapEntryId); } if (FloorId != 0) { output.WriteRawTag(80); output.WriteUInt32(FloorId); } floorSavedData_.WriteTo(ref output, _map_floorSavedData_codec); if (DimensionId != 0) { output.WriteRawTag(96); output.WriteUInt32(DimensionId); } if (Retcode != 0) { output.WriteRawTag(112); output.WriteUInt32(Retcode); } lightenSectionList_.WriteTo(ref output, _repeated_lightenSectionList_codec); 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 (FloorId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FloorId); } if (EntryId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EntryId); } size += floorSavedData_.CalculateSize(_map_floorSavedData_codec); size += mazeGroupList_.CalculateSize(_repeated_mazeGroupList_codec); if (DimensionId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DimensionId); } size += chestList_.CalculateSize(_repeated_chestList_codec); if (CurMapEntryId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurMapEntryId); } if (Retcode != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode); } size += mazePropList_.CalculateSize(_repeated_mazePropList_codec); size += lightenSectionList_.CalculateSize(_repeated_lightenSectionList_codec); size += jMLDMOCNMHM_.CalculateSize(_repeated_jMLDMOCNMHM_codec); size += unlockTeleportList_.CalculateSize(_repeated_unlockTeleportList_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(SceneMapInfo other) { if (other == null) { return; } if (other.FloorId != 0) { FloorId = other.FloorId; } if (other.EntryId != 0) { EntryId = other.EntryId; } floorSavedData_.MergeFrom(other.floorSavedData_); mazeGroupList_.Add(other.mazeGroupList_); if (other.DimensionId != 0) { DimensionId = other.DimensionId; } chestList_.Add(other.chestList_); if (other.CurMapEntryId != 0) { CurMapEntryId = other.CurMapEntryId; } if (other.Retcode != 0) { Retcode = other.Retcode; } mazePropList_.Add(other.mazePropList_); lightenSectionList_.Add(other.lightenSectionList_); jMLDMOCNMHM_.Add(other.jMLDMOCNMHM_); unlockTeleportList_.Add(other.unlockTeleportList_); _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: { mazeGroupList_.AddEntriesFrom(input, _repeated_mazeGroupList_codec); break; } case 16: { EntryId = input.ReadUInt32(); break; } case 26: { mazePropList_.AddEntriesFrom(input, _repeated_mazePropList_codec); break; } case 34: { chestList_.AddEntriesFrom(input, _repeated_chestList_codec); break; } case 42: { jMLDMOCNMHM_.AddEntriesFrom(input, _repeated_jMLDMOCNMHM_codec); break; } case 50: case 48: { unlockTeleportList_.AddEntriesFrom(input, _repeated_unlockTeleportList_codec); break; } case 64: { CurMapEntryId = input.ReadUInt32(); break; } case 80: { FloorId = input.ReadUInt32(); break; } case 90: { floorSavedData_.AddEntriesFrom(input, _map_floorSavedData_codec); break; } case 96: { DimensionId = input.ReadUInt32(); break; } case 112: { Retcode = input.ReadUInt32(); break; } case 122: case 120: { lightenSectionList_.AddEntriesFrom(input, _repeated_lightenSectionList_codec); 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: { mazeGroupList_.AddEntriesFrom(ref input, _repeated_mazeGroupList_codec); break; } case 16: { EntryId = input.ReadUInt32(); break; } case 26: { mazePropList_.AddEntriesFrom(ref input, _repeated_mazePropList_codec); break; } case 34: { chestList_.AddEntriesFrom(ref input, _repeated_chestList_codec); break; } case 42: { jMLDMOCNMHM_.AddEntriesFrom(ref input, _repeated_jMLDMOCNMHM_codec); break; } case 50: case 48: { unlockTeleportList_.AddEntriesFrom(ref input, _repeated_unlockTeleportList_codec); break; } case 64: { CurMapEntryId = input.ReadUInt32(); break; } case 80: { FloorId = input.ReadUInt32(); break; } case 90: { floorSavedData_.AddEntriesFrom(ref input, _map_floorSavedData_codec); break; } case 96: { DimensionId = input.ReadUInt32(); break; } case 112: { Retcode = input.ReadUInt32(); break; } case 122: case 120: { lightenSectionList_.AddEntriesFrom(ref input, _repeated_lightenSectionList_codec); break; } } } } #endif } #endregion } #endregion Designer generated code