Files
DanhengServer-OpenSource/Proto/GetMapRotationDataScRsp.cs
2024-10-05 22:40:41 +08:00

497 lines
19 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GetMapRotationDataScRsp.proto
// </auto-generated>
#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 {
/// <summary>Holder for reflection information generated from GetMapRotationDataScRsp.proto</summary>
public static partial class GetMapRotationDataScRspReflection {
#region Descriptor
/// <summary>File descriptor for GetMapRotationDataScRsp.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GetMapRotationDataScRspReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch1HZXRNYXBSb3RhdGlvbkRhdGFTY1JzcC5wcm90bxoRSE1CTElBRE5LRU8u",
"cHJvdG8aEUNoYXJnZXJJbmZvLnByb3RvGhdSb3RhdGVyRW5lcmd5SW5mby5w",
"cm90bxoRUm90YXRlckRhdGEucHJvdG8i/wEKF0dldE1hcFJvdGF0aW9uRGF0",
"YVNjUnNwEh4KCHJvb21fbWFwGAYgASgLMgwuSE1CTElBRE5LRU8SEwoLSEZK",
"Tk5CUERMQ0sYCyABKAgSDwoHcmV0Y29kZRgNIAEoDRIiCgxjaGFyZ2VyX2lu",
"Zm8YBSADKAsyDC5DaGFyZ2VySW5mbxITCgtDSEpNT0RJTUxEQRgEIAEoDRIn",
"ChFyb3RhdGVyX2RhdGFfbGlzdBgOIAMoCzIMLlJvdGF0ZXJEYXRhEhMKC0lQ",
"Rk9GSEhLSktQGAEgASgFEicKC2VuZXJneV9pbmZvGAcgASgLMhIuUm90YXRl",
"ckVuZXJneUluZm9CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IG",
"cHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.HMBLIADNKEOReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChargerInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RotaterEnergyInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RotaterDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetMapRotationDataScRsp), global::EggLink.DanhengServer.Proto.GetMapRotationDataScRsp.Parser, new[]{ "RoomMap", "HFJNNBPDLCK", "Retcode", "ChargerInfo", "CHJMODIMLDA", "RotaterDataList", "IPFOFHHKJKP", "EnergyInfo" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetMapRotationDataScRsp : pb::IMessage<GetMapRotationDataScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GetMapRotationDataScRsp> _parser = new pb::MessageParser<GetMapRotationDataScRsp>(() => new GetMapRotationDataScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GetMapRotationDataScRsp> 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.GetMapRotationDataScRspReflection.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 GetMapRotationDataScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetMapRotationDataScRsp(GetMapRotationDataScRsp other) : this() {
roomMap_ = other.roomMap_ != null ? other.roomMap_.Clone() : null;
hFJNNBPDLCK_ = other.hFJNNBPDLCK_;
retcode_ = other.retcode_;
chargerInfo_ = other.chargerInfo_.Clone();
cHJMODIMLDA_ = other.cHJMODIMLDA_;
rotaterDataList_ = other.rotaterDataList_.Clone();
iPFOFHHKJKP_ = other.iPFOFHHKJKP_;
energyInfo_ = other.energyInfo_ != null ? other.energyInfo_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetMapRotationDataScRsp Clone() {
return new GetMapRotationDataScRsp(this);
}
/// <summary>Field number for the "room_map" field.</summary>
public const int RoomMapFieldNumber = 6;
private global::EggLink.DanhengServer.Proto.HMBLIADNKEO roomMap_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.HMBLIADNKEO RoomMap {
get { return roomMap_; }
set {
roomMap_ = value;
}
}
/// <summary>Field number for the "HFJNNBPDLCK" field.</summary>
public const int HFJNNBPDLCKFieldNumber = 11;
private bool hFJNNBPDLCK_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HFJNNBPDLCK {
get { return hFJNNBPDLCK_; }
set {
hFJNNBPDLCK_ = value;
}
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 13;
private uint retcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Retcode {
get { return retcode_; }
set {
retcode_ = value;
}
}
/// <summary>Field number for the "charger_info" field.</summary>
public const int ChargerInfoFieldNumber = 5;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ChargerInfo> _repeated_chargerInfo_codec
= pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.ChargerInfo.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChargerInfo> chargerInfo_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChargerInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChargerInfo> ChargerInfo {
get { return chargerInfo_; }
}
/// <summary>Field number for the "CHJMODIMLDA" field.</summary>
public const int CHJMODIMLDAFieldNumber = 4;
private uint cHJMODIMLDA_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CHJMODIMLDA {
get { return cHJMODIMLDA_; }
set {
cHJMODIMLDA_ = value;
}
}
/// <summary>Field number for the "rotater_data_list" field.</summary>
public const int RotaterDataListFieldNumber = 14;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RotaterData> _repeated_rotaterDataList_codec
= pb::FieldCodec.ForMessage(114, global::EggLink.DanhengServer.Proto.RotaterData.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RotaterData> rotaterDataList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RotaterData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RotaterData> RotaterDataList {
get { return rotaterDataList_; }
}
/// <summary>Field number for the "IPFOFHHKJKP" field.</summary>
public const int IPFOFHHKJKPFieldNumber = 1;
private int iPFOFHHKJKP_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int IPFOFHHKJKP {
get { return iPFOFHHKJKP_; }
set {
iPFOFHHKJKP_ = value;
}
}
/// <summary>Field number for the "energy_info" field.</summary>
public const int EnergyInfoFieldNumber = 7;
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;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetMapRotationDataScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetMapRotationDataScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(RoomMap, other.RoomMap)) return false;
if (HFJNNBPDLCK != other.HFJNNBPDLCK) return false;
if (Retcode != other.Retcode) return false;
if(!chargerInfo_.Equals(other.chargerInfo_)) return false;
if (CHJMODIMLDA != other.CHJMODIMLDA) return false;
if(!rotaterDataList_.Equals(other.rotaterDataList_)) return false;
if (IPFOFHHKJKP != other.IPFOFHHKJKP) return false;
if (!object.Equals(EnergyInfo, other.EnergyInfo)) 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 (HFJNNBPDLCK != false) hash ^= HFJNNBPDLCK.GetHashCode();
if (Retcode != 0) hash ^= Retcode.GetHashCode();
hash ^= chargerInfo_.GetHashCode();
if (CHJMODIMLDA != 0) hash ^= CHJMODIMLDA.GetHashCode();
hash ^= rotaterDataList_.GetHashCode();
if (IPFOFHHKJKP != 0) hash ^= IPFOFHHKJKP.GetHashCode();
if (energyInfo_ != null) hash ^= EnergyInfo.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 (IPFOFHHKJKP != 0) {
output.WriteRawTag(8);
output.WriteInt32(IPFOFHHKJKP);
}
if (CHJMODIMLDA != 0) {
output.WriteRawTag(32);
output.WriteUInt32(CHJMODIMLDA);
}
chargerInfo_.WriteTo(output, _repeated_chargerInfo_codec);
if (roomMap_ != null) {
output.WriteRawTag(50);
output.WriteMessage(RoomMap);
}
if (energyInfo_ != null) {
output.WriteRawTag(58);
output.WriteMessage(EnergyInfo);
}
if (HFJNNBPDLCK != false) {
output.WriteRawTag(88);
output.WriteBool(HFJNNBPDLCK);
}
if (Retcode != 0) {
output.WriteRawTag(104);
output.WriteUInt32(Retcode);
}
rotaterDataList_.WriteTo(output, _repeated_rotaterDataList_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) {
if (IPFOFHHKJKP != 0) {
output.WriteRawTag(8);
output.WriteInt32(IPFOFHHKJKP);
}
if (CHJMODIMLDA != 0) {
output.WriteRawTag(32);
output.WriteUInt32(CHJMODIMLDA);
}
chargerInfo_.WriteTo(ref output, _repeated_chargerInfo_codec);
if (roomMap_ != null) {
output.WriteRawTag(50);
output.WriteMessage(RoomMap);
}
if (energyInfo_ != null) {
output.WriteRawTag(58);
output.WriteMessage(EnergyInfo);
}
if (HFJNNBPDLCK != false) {
output.WriteRawTag(88);
output.WriteBool(HFJNNBPDLCK);
}
if (Retcode != 0) {
output.WriteRawTag(104);
output.WriteUInt32(Retcode);
}
rotaterDataList_.WriteTo(ref output, _repeated_rotaterDataList_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 (roomMap_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoomMap);
}
if (HFJNNBPDLCK != false) {
size += 1 + 1;
}
if (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
size += chargerInfo_.CalculateSize(_repeated_chargerInfo_codec);
if (CHJMODIMLDA != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CHJMODIMLDA);
}
size += rotaterDataList_.CalculateSize(_repeated_rotaterDataList_codec);
if (IPFOFHHKJKP != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(IPFOFHHKJKP);
}
if (energyInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(EnergyInfo);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetMapRotationDataScRsp other) {
if (other == null) {
return;
}
if (other.roomMap_ != null) {
if (roomMap_ == null) {
RoomMap = new global::EggLink.DanhengServer.Proto.HMBLIADNKEO();
}
RoomMap.MergeFrom(other.RoomMap);
}
if (other.HFJNNBPDLCK != false) {
HFJNNBPDLCK = other.HFJNNBPDLCK;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
chargerInfo_.Add(other.chargerInfo_);
if (other.CHJMODIMLDA != 0) {
CHJMODIMLDA = other.CHJMODIMLDA;
}
rotaterDataList_.Add(other.rotaterDataList_);
if (other.IPFOFHHKJKP != 0) {
IPFOFHHKJKP = other.IPFOFHHKJKP;
}
if (other.energyInfo_ != null) {
if (energyInfo_ == null) {
EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo();
}
EnergyInfo.MergeFrom(other.EnergyInfo);
}
_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 8: {
IPFOFHHKJKP = input.ReadInt32();
break;
}
case 32: {
CHJMODIMLDA = input.ReadUInt32();
break;
}
case 42: {
chargerInfo_.AddEntriesFrom(input, _repeated_chargerInfo_codec);
break;
}
case 50: {
if (roomMap_ == null) {
RoomMap = new global::EggLink.DanhengServer.Proto.HMBLIADNKEO();
}
input.ReadMessage(RoomMap);
break;
}
case 58: {
if (energyInfo_ == null) {
EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo();
}
input.ReadMessage(EnergyInfo);
break;
}
case 88: {
HFJNNBPDLCK = input.ReadBool();
break;
}
case 104: {
Retcode = input.ReadUInt32();
break;
}
case 114: {
rotaterDataList_.AddEntriesFrom(input, _repeated_rotaterDataList_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 8: {
IPFOFHHKJKP = input.ReadInt32();
break;
}
case 32: {
CHJMODIMLDA = input.ReadUInt32();
break;
}
case 42: {
chargerInfo_.AddEntriesFrom(ref input, _repeated_chargerInfo_codec);
break;
}
case 50: {
if (roomMap_ == null) {
RoomMap = new global::EggLink.DanhengServer.Proto.HMBLIADNKEO();
}
input.ReadMessage(RoomMap);
break;
}
case 58: {
if (energyInfo_ == null) {
EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo();
}
input.ReadMessage(EnergyInfo);
break;
}
case 88: {
HFJNNBPDLCK = input.ReadBool();
break;
}
case 104: {
Retcode = input.ReadUInt32();
break;
}
case 114: {
rotaterDataList_.AddEntriesFrom(ref input, _repeated_rotaterDataList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code