// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: RogueMapRotateInfo.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 RogueMapRotateInfo.proto public static partial class RogueMapRotateInfoReflection { #region Descriptor /// File descriptor for RogueMapRotateInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static RogueMapRotateInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChhSb2d1ZU1hcFJvdGF0ZUluZm8ucHJvdG8aEU9BS09KQk9FTUFBLnByb3Rv", "GhFSb3RhdGVyRGF0YS5wcm90bxoXUm90YXRlckVuZXJneUluZm8ucHJvdG8a", "EUNoYXJnZXJJbmZvLnByb3RvIucBChJSb2d1ZU1hcFJvdGF0ZUluZm8SHgoI", "cm9vbV9tYXAYCCABKAsyDC5PQUtPSkJPRU1BQRITCgtNUFBJTEVLQ01EUBgN", "IAEoBRIiCgxjaGFyZ2VyX2luZm8YASADKAsyDC5DaGFyZ2VySW5mbxITCgtJ", "Sk1OSktBS05ESRgKIAEoDRInCgtlbmVyZ3lfaW5mbxgEIAEoCzISLlJvdGF0", "ZXJFbmVyZ3lJbmZvEhEKCWlzX3JvdGF0ZRgGIAEoCBInChFyb3RhdGVyX2Rh", "dGFfbGlzdBgCIAMoCzIMLlJvdGF0ZXJEYXRhQh6qAhtFZ2dMaW5rLkRhbmhl", "bmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.OAKOJBOEMAAReflection.Descriptor, global::EggLink.DanhengServer.Proto.RotaterDataReflection.Descriptor, global::EggLink.DanhengServer.Proto.RotaterEnergyInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChargerInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueMapRotateInfo), global::EggLink.DanhengServer.Proto.RogueMapRotateInfo.Parser, new[]{ "RoomMap", "MPPILEKCMDP", "ChargerInfo", "IJMNJKAKNDI", "EnergyInfo", "IsRotate", "RotaterDataList" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class RogueMapRotateInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RogueMapRotateInfo()); 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.RogueMapRotateInfoReflection.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 RogueMapRotateInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RogueMapRotateInfo(RogueMapRotateInfo other) : this() { roomMap_ = other.roomMap_ != null ? other.roomMap_.Clone() : null; mPPILEKCMDP_ = other.mPPILEKCMDP_; chargerInfo_ = other.chargerInfo_.Clone(); iJMNJKAKNDI_ = other.iJMNJKAKNDI_; energyInfo_ = other.energyInfo_ != null ? other.energyInfo_.Clone() : null; isRotate_ = other.isRotate_; rotaterDataList_ = other.rotaterDataList_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RogueMapRotateInfo Clone() { return new RogueMapRotateInfo(this); } /// Field number for the "room_map" field. public const int RoomMapFieldNumber = 8; private global::EggLink.DanhengServer.Proto.OAKOJBOEMAA roomMap_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.OAKOJBOEMAA RoomMap { get { return roomMap_; } set { roomMap_ = value; } } /// Field number for the "MPPILEKCMDP" field. public const int MPPILEKCMDPFieldNumber = 13; private int mPPILEKCMDP_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int MPPILEKCMDP { get { return mPPILEKCMDP_; } set { mPPILEKCMDP_ = value; } } /// Field number for the "charger_info" field. public const int ChargerInfoFieldNumber = 1; private static readonly pb::FieldCodec _repeated_chargerInfo_codec = pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.ChargerInfo.Parser); private readonly pbc::RepeatedField chargerInfo_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField ChargerInfo { get { return chargerInfo_; } } /// Field number for the "IJMNJKAKNDI" field. public const int IJMNJKAKNDIFieldNumber = 10; private uint iJMNJKAKNDI_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint IJMNJKAKNDI { get { return iJMNJKAKNDI_; } set { iJMNJKAKNDI_ = value; } } /// Field number for the "energy_info" field. public const int EnergyInfoFieldNumber = 4; private global::EggLink.DanhengServer.Proto.RotaterEnergyInfo energyInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.RotaterEnergyInfo EnergyInfo { get { return energyInfo_; } set { energyInfo_ = value; } } /// Field number for the "is_rotate" field. public const int IsRotateFieldNumber = 6; private bool isRotate_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsRotate { get { return isRotate_; } set { isRotate_ = value; } } /// Field number for the "rotater_data_list" field. public const int RotaterDataListFieldNumber = 2; private static readonly pb::FieldCodec _repeated_rotaterDataList_codec = pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.RotaterData.Parser); private readonly pbc::RepeatedField rotaterDataList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField RotaterDataList { get { return rotaterDataList_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RogueMapRotateInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RogueMapRotateInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(RoomMap, other.RoomMap)) return false; if (MPPILEKCMDP != other.MPPILEKCMDP) return false; if(!chargerInfo_.Equals(other.chargerInfo_)) return false; if (IJMNJKAKNDI != other.IJMNJKAKNDI) return false; if (!object.Equals(EnergyInfo, other.EnergyInfo)) return false; if (IsRotate != other.IsRotate) return false; if(!rotaterDataList_.Equals(other.rotaterDataList_)) 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 (roomMap_ != null) hash ^= RoomMap.GetHashCode(); if (MPPILEKCMDP != 0) hash ^= MPPILEKCMDP.GetHashCode(); hash ^= chargerInfo_.GetHashCode(); if (IJMNJKAKNDI != 0) hash ^= IJMNJKAKNDI.GetHashCode(); if (energyInfo_ != null) hash ^= EnergyInfo.GetHashCode(); if (IsRotate != false) hash ^= IsRotate.GetHashCode(); hash ^= rotaterDataList_.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 chargerInfo_.WriteTo(output, _repeated_chargerInfo_codec); rotaterDataList_.WriteTo(output, _repeated_rotaterDataList_codec); if (energyInfo_ != null) { output.WriteRawTag(34); output.WriteMessage(EnergyInfo); } if (IsRotate != false) { output.WriteRawTag(48); output.WriteBool(IsRotate); } if (roomMap_ != null) { output.WriteRawTag(66); output.WriteMessage(RoomMap); } if (IJMNJKAKNDI != 0) { output.WriteRawTag(80); output.WriteUInt32(IJMNJKAKNDI); } if (MPPILEKCMDP != 0) { output.WriteRawTag(104); output.WriteInt32(MPPILEKCMDP); } 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) { chargerInfo_.WriteTo(ref output, _repeated_chargerInfo_codec); rotaterDataList_.WriteTo(ref output, _repeated_rotaterDataList_codec); if (energyInfo_ != null) { output.WriteRawTag(34); output.WriteMessage(EnergyInfo); } if (IsRotate != false) { output.WriteRawTag(48); output.WriteBool(IsRotate); } if (roomMap_ != null) { output.WriteRawTag(66); output.WriteMessage(RoomMap); } if (IJMNJKAKNDI != 0) { output.WriteRawTag(80); output.WriteUInt32(IJMNJKAKNDI); } if (MPPILEKCMDP != 0) { output.WriteRawTag(104); output.WriteInt32(MPPILEKCMDP); } 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 (roomMap_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoomMap); } if (MPPILEKCMDP != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(MPPILEKCMDP); } size += chargerInfo_.CalculateSize(_repeated_chargerInfo_codec); if (IJMNJKAKNDI != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(IJMNJKAKNDI); } if (energyInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(EnergyInfo); } if (IsRotate != false) { size += 1 + 1; } size += rotaterDataList_.CalculateSize(_repeated_rotaterDataList_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RogueMapRotateInfo other) { if (other == null) { return; } if (other.roomMap_ != null) { if (roomMap_ == null) { RoomMap = new global::EggLink.DanhengServer.Proto.OAKOJBOEMAA(); } RoomMap.MergeFrom(other.RoomMap); } if (other.MPPILEKCMDP != 0) { MPPILEKCMDP = other.MPPILEKCMDP; } chargerInfo_.Add(other.chargerInfo_); if (other.IJMNJKAKNDI != 0) { IJMNJKAKNDI = other.IJMNJKAKNDI; } if (other.energyInfo_ != null) { if (energyInfo_ == null) { EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo(); } EnergyInfo.MergeFrom(other.EnergyInfo); } if (other.IsRotate != false) { IsRotate = other.IsRotate; } rotaterDataList_.Add(other.rotaterDataList_); _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: { chargerInfo_.AddEntriesFrom(input, _repeated_chargerInfo_codec); break; } case 18: { rotaterDataList_.AddEntriesFrom(input, _repeated_rotaterDataList_codec); break; } case 34: { if (energyInfo_ == null) { EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo(); } input.ReadMessage(EnergyInfo); break; } case 48: { IsRotate = input.ReadBool(); break; } case 66: { if (roomMap_ == null) { RoomMap = new global::EggLink.DanhengServer.Proto.OAKOJBOEMAA(); } input.ReadMessage(RoomMap); break; } case 80: { IJMNJKAKNDI = input.ReadUInt32(); break; } case 104: { MPPILEKCMDP = input.ReadInt32(); 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: { chargerInfo_.AddEntriesFrom(ref input, _repeated_chargerInfo_codec); break; } case 18: { rotaterDataList_.AddEntriesFrom(ref input, _repeated_rotaterDataList_codec); break; } case 34: { if (energyInfo_ == null) { EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo(); } input.ReadMessage(EnergyInfo); break; } case 48: { IsRotate = input.ReadBool(); break; } case 66: { if (roomMap_ == null) { RoomMap = new global::EggLink.DanhengServer.Proto.OAKOJBOEMAA(); } input.ReadMessage(RoomMap); break; } case 80: { IJMNJKAKNDI = input.ReadUInt32(); break; } case 104: { MPPILEKCMDP = input.ReadInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code