// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: UpdateMapRotationDataScNotify.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 UpdateMapRotationDataScNotify.proto public static partial class UpdateMapRotationDataScNotifyReflection { #region Descriptor /// File descriptor for UpdateMapRotationDataScNotify.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static UpdateMapRotationDataScNotifyReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiNVcGRhdGVNYXBSb3RhdGlvbkRhdGFTY05vdGlmeS5wcm90bxoXUm90YXRl", "ckVuZXJneUluZm8ucHJvdG8aEUNoYXJnZXJJbmZvLnByb3RvGg9OZXdNYXBS", "b3QucHJvdG8aEVJvdGF0ZXJEYXRhLnByb3RvIvMBCh1VcGRhdGVNYXBSb3Rh", "dGlvbkRhdGFTY05vdGlmeRITCgtJRkRHSk9KS0JQThgKIAEoDRIiCgxjaGFy", "Z2VyX2luZm8YByADKAsyDC5DaGFyZ2VySW5mbxIdCglyb2d1ZV9tYXAYCyAB", "KAsyCi5OZXdNYXBSb3QSEwoLR09GTEVGSE9LREYYDiABKAgSEwoLRkRHR0xM", "SENQTEkYBCABKAUSJwoLZW5lcmd5X2luZm8YDSABKAsyEi5Sb3RhdGVyRW5l", "cmd5SW5mbxInChFyb3RhdGVyX2RhdGFfbGlzdBgMIAMoCzIMLlJvdGF0ZXJE", "YXRhQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RotaterEnergyInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChargerInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.NewMapRotReflection.Descriptor, global::EggLink.DanhengServer.Proto.RotaterDataReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.UpdateMapRotationDataScNotify), global::EggLink.DanhengServer.Proto.UpdateMapRotationDataScNotify.Parser, new[]{ "IFDGJOJKBPN", "ChargerInfo", "RogueMap", "GOFLEFHOKDF", "FDGGLLHCPLI", "EnergyInfo", "RotaterDataList" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class UpdateMapRotationDataScNotify : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateMapRotationDataScNotify()); 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.UpdateMapRotationDataScNotifyReflection.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 UpdateMapRotationDataScNotify() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public UpdateMapRotationDataScNotify(UpdateMapRotationDataScNotify other) : this() { iFDGJOJKBPN_ = other.iFDGJOJKBPN_; chargerInfo_ = other.chargerInfo_.Clone(); rogueMap_ = other.rogueMap_ != null ? other.rogueMap_.Clone() : null; gOFLEFHOKDF_ = other.gOFLEFHOKDF_; fDGGLLHCPLI_ = other.fDGGLLHCPLI_; energyInfo_ = other.energyInfo_ != null ? other.energyInfo_.Clone() : null; rotaterDataList_ = other.rotaterDataList_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public UpdateMapRotationDataScNotify Clone() { return new UpdateMapRotationDataScNotify(this); } /// Field number for the "IFDGJOJKBPN" field. public const int IFDGJOJKBPNFieldNumber = 10; private uint iFDGJOJKBPN_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint IFDGJOJKBPN { get { return iFDGJOJKBPN_; } set { iFDGJOJKBPN_ = value; } } /// Field number for the "charger_info" field. public const int ChargerInfoFieldNumber = 7; private static readonly pb::FieldCodec _repeated_chargerInfo_codec = pb::FieldCodec.ForMessage(58, 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 "rogue_map" field. public const int RogueMapFieldNumber = 11; private global::EggLink.DanhengServer.Proto.NewMapRot rogueMap_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.NewMapRot RogueMap { get { return rogueMap_; } set { rogueMap_ = value; } } /// Field number for the "GOFLEFHOKDF" field. public const int GOFLEFHOKDFFieldNumber = 14; private bool gOFLEFHOKDF_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool GOFLEFHOKDF { get { return gOFLEFHOKDF_; } set { gOFLEFHOKDF_ = value; } } /// Field number for the "FDGGLLHCPLI" field. public const int FDGGLLHCPLIFieldNumber = 4; private int fDGGLLHCPLI_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int FDGGLLHCPLI { get { return fDGGLLHCPLI_; } set { fDGGLLHCPLI_ = value; } } /// Field number for the "energy_info" field. public const int EnergyInfoFieldNumber = 13; 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 "rotater_data_list" field. public const int RotaterDataListFieldNumber = 12; private static readonly pb::FieldCodec _repeated_rotaterDataList_codec = pb::FieldCodec.ForMessage(98, 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 UpdateMapRotationDataScNotify); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(UpdateMapRotationDataScNotify other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (IFDGJOJKBPN != other.IFDGJOJKBPN) return false; if(!chargerInfo_.Equals(other.chargerInfo_)) return false; if (!object.Equals(RogueMap, other.RogueMap)) return false; if (GOFLEFHOKDF != other.GOFLEFHOKDF) return false; if (FDGGLLHCPLI != other.FDGGLLHCPLI) return false; if (!object.Equals(EnergyInfo, other.EnergyInfo)) 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 (IFDGJOJKBPN != 0) hash ^= IFDGJOJKBPN.GetHashCode(); hash ^= chargerInfo_.GetHashCode(); if (rogueMap_ != null) hash ^= RogueMap.GetHashCode(); if (GOFLEFHOKDF != false) hash ^= GOFLEFHOKDF.GetHashCode(); if (FDGGLLHCPLI != 0) hash ^= FDGGLLHCPLI.GetHashCode(); if (energyInfo_ != null) hash ^= EnergyInfo.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 if (FDGGLLHCPLI != 0) { output.WriteRawTag(32); output.WriteInt32(FDGGLLHCPLI); } chargerInfo_.WriteTo(output, _repeated_chargerInfo_codec); if (IFDGJOJKBPN != 0) { output.WriteRawTag(80); output.WriteUInt32(IFDGJOJKBPN); } if (rogueMap_ != null) { output.WriteRawTag(90); output.WriteMessage(RogueMap); } rotaterDataList_.WriteTo(output, _repeated_rotaterDataList_codec); if (energyInfo_ != null) { output.WriteRawTag(106); output.WriteMessage(EnergyInfo); } if (GOFLEFHOKDF != false) { output.WriteRawTag(112); output.WriteBool(GOFLEFHOKDF); } 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 (FDGGLLHCPLI != 0) { output.WriteRawTag(32); output.WriteInt32(FDGGLLHCPLI); } chargerInfo_.WriteTo(ref output, _repeated_chargerInfo_codec); if (IFDGJOJKBPN != 0) { output.WriteRawTag(80); output.WriteUInt32(IFDGJOJKBPN); } if (rogueMap_ != null) { output.WriteRawTag(90); output.WriteMessage(RogueMap); } rotaterDataList_.WriteTo(ref output, _repeated_rotaterDataList_codec); if (energyInfo_ != null) { output.WriteRawTag(106); output.WriteMessage(EnergyInfo); } if (GOFLEFHOKDF != false) { output.WriteRawTag(112); output.WriteBool(GOFLEFHOKDF); } 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 (IFDGJOJKBPN != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(IFDGJOJKBPN); } size += chargerInfo_.CalculateSize(_repeated_chargerInfo_codec); if (rogueMap_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueMap); } if (GOFLEFHOKDF != false) { size += 1 + 1; } if (FDGGLLHCPLI != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(FDGGLLHCPLI); } if (energyInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(EnergyInfo); } 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(UpdateMapRotationDataScNotify other) { if (other == null) { return; } if (other.IFDGJOJKBPN != 0) { IFDGJOJKBPN = other.IFDGJOJKBPN; } chargerInfo_.Add(other.chargerInfo_); if (other.rogueMap_ != null) { if (rogueMap_ == null) { RogueMap = new global::EggLink.DanhengServer.Proto.NewMapRot(); } RogueMap.MergeFrom(other.RogueMap); } if (other.GOFLEFHOKDF != false) { GOFLEFHOKDF = other.GOFLEFHOKDF; } if (other.FDGGLLHCPLI != 0) { FDGGLLHCPLI = other.FDGGLLHCPLI; } if (other.energyInfo_ != null) { if (energyInfo_ == null) { EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo(); } EnergyInfo.MergeFrom(other.EnergyInfo); } 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 32: { FDGGLLHCPLI = input.ReadInt32(); break; } case 58: { chargerInfo_.AddEntriesFrom(input, _repeated_chargerInfo_codec); break; } case 80: { IFDGJOJKBPN = input.ReadUInt32(); break; } case 90: { if (rogueMap_ == null) { RogueMap = new global::EggLink.DanhengServer.Proto.NewMapRot(); } input.ReadMessage(RogueMap); break; } case 98: { rotaterDataList_.AddEntriesFrom(input, _repeated_rotaterDataList_codec); break; } case 106: { if (energyInfo_ == null) { EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo(); } input.ReadMessage(EnergyInfo); break; } case 112: { GOFLEFHOKDF = input.ReadBool(); 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 32: { FDGGLLHCPLI = input.ReadInt32(); break; } case 58: { chargerInfo_.AddEntriesFrom(ref input, _repeated_chargerInfo_codec); break; } case 80: { IFDGJOJKBPN = input.ReadUInt32(); break; } case 90: { if (rogueMap_ == null) { RogueMap = new global::EggLink.DanhengServer.Proto.NewMapRot(); } input.ReadMessage(RogueMap); break; } case 98: { rotaterDataList_.AddEntriesFrom(ref input, _repeated_rotaterDataList_codec); break; } case 106: { if (energyInfo_ == null) { EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo(); } input.ReadMessage(EnergyInfo); break; } case 112: { GOFLEFHOKDF = input.ReadBool(); break; } } } } #endif } #endregion } #endregion Designer generated code