mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
459 lines
18 KiB
C#
459 lines
18 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: RogueMapRotateInfo.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 RogueMapRotateInfo.proto</summary>
|
|
public static partial class RogueMapRotateInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for RogueMapRotateInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static RogueMapRotateInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChhSb2d1ZU1hcFJvdGF0ZUluZm8ucHJvdG8aEVJvdGF0ZXJEYXRhLnByb3Rv",
|
|
"GhdSb3RhdGVyRW5lcmd5SW5mby5wcm90bxoRSUNJTUFLQkFKR0IucHJvdG8a",
|
|
"EUNoYXJnZXJJbmZvLnByb3RvIugBChJSb2d1ZU1hcFJvdGF0ZUluZm8SIgoM",
|
|
"Y2hhcmdlcl9pbmZvGAcgAygLMgwuQ2hhcmdlckluZm8SEQoJaXNfcm90YXRl",
|
|
"GAYgASgIEicKEXJvdGF0ZXJfZGF0YV9saXN0GAggAygLMgwuUm90YXRlckRh",
|
|
"dGESJwoLZW5lcmd5X2luZm8YCSABKAsyEi5Sb3RhdGVyRW5lcmd5SW5mbxIT",
|
|
"CgtORkxCT05ESkFJRRgKIAEoDRITCgtBQ05QQkJOTE1JRRgPIAEoBRIfCgly",
|
|
"b2d1ZV9tYXAYCyABKAsyDC5JQ0lNQUtCQUpHQkIeqgIbRWdnTGluay5EYW5o",
|
|
"ZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RotaterDataReflection.Descriptor, global::EggLink.DanhengServer.Proto.RotaterEnergyInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ICIMAKBAJGBReflection.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[]{ "ChargerInfo", "IsRotate", "RotaterDataList", "EnergyInfo", "NFLBONDJAIE", "ACNPBBNLMIE", "RogueMap" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class RogueMapRotateInfo : pb::IMessage<RogueMapRotateInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<RogueMapRotateInfo> _parser = new pb::MessageParser<RogueMapRotateInfo>(() => new RogueMapRotateInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<RogueMapRotateInfo> 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() {
|
|
chargerInfo_ = other.chargerInfo_.Clone();
|
|
isRotate_ = other.isRotate_;
|
|
rotaterDataList_ = other.rotaterDataList_.Clone();
|
|
energyInfo_ = other.energyInfo_ != null ? other.energyInfo_.Clone() : null;
|
|
nFLBONDJAIE_ = other.nFLBONDJAIE_;
|
|
aCNPBBNLMIE_ = other.aCNPBBNLMIE_;
|
|
rogueMap_ = other.rogueMap_ != null ? other.rogueMap_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RogueMapRotateInfo Clone() {
|
|
return new RogueMapRotateInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "charger_info" field.</summary>
|
|
public const int ChargerInfoFieldNumber = 7;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ChargerInfo> _repeated_chargerInfo_codec
|
|
= pb::FieldCodec.ForMessage(58, 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 "is_rotate" field.</summary>
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "rotater_data_list" field.</summary>
|
|
public const int RotaterDataListFieldNumber = 8;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RotaterData> _repeated_rotaterDataList_codec
|
|
= pb::FieldCodec.ForMessage(66, 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 "energy_info" field.</summary>
|
|
public const int EnergyInfoFieldNumber = 9;
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "NFLBONDJAIE" field.</summary>
|
|
public const int NFLBONDJAIEFieldNumber = 10;
|
|
private uint nFLBONDJAIE_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint NFLBONDJAIE {
|
|
get { return nFLBONDJAIE_; }
|
|
set {
|
|
nFLBONDJAIE_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "ACNPBBNLMIE" field.</summary>
|
|
public const int ACNPBBNLMIEFieldNumber = 15;
|
|
private int aCNPBBNLMIE_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int ACNPBBNLMIE {
|
|
get { return aCNPBBNLMIE_; }
|
|
set {
|
|
aCNPBBNLMIE_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "rogue_map" field.</summary>
|
|
public const int RogueMapFieldNumber = 11;
|
|
private global::EggLink.DanhengServer.Proto.ICIMAKBAJGB rogueMap_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ICIMAKBAJGB RogueMap {
|
|
get { return rogueMap_; }
|
|
set {
|
|
rogueMap_ = value;
|
|
}
|
|
}
|
|
|
|
[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(!chargerInfo_.Equals(other.chargerInfo_)) return false;
|
|
if (IsRotate != other.IsRotate) return false;
|
|
if(!rotaterDataList_.Equals(other.rotaterDataList_)) return false;
|
|
if (!object.Equals(EnergyInfo, other.EnergyInfo)) return false;
|
|
if (NFLBONDJAIE != other.NFLBONDJAIE) return false;
|
|
if (ACNPBBNLMIE != other.ACNPBBNLMIE) return false;
|
|
if (!object.Equals(RogueMap, other.RogueMap)) 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;
|
|
hash ^= chargerInfo_.GetHashCode();
|
|
if (IsRotate != false) hash ^= IsRotate.GetHashCode();
|
|
hash ^= rotaterDataList_.GetHashCode();
|
|
if (energyInfo_ != null) hash ^= EnergyInfo.GetHashCode();
|
|
if (NFLBONDJAIE != 0) hash ^= NFLBONDJAIE.GetHashCode();
|
|
if (ACNPBBNLMIE != 0) hash ^= ACNPBBNLMIE.GetHashCode();
|
|
if (rogueMap_ != null) hash ^= RogueMap.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 (IsRotate != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(IsRotate);
|
|
}
|
|
chargerInfo_.WriteTo(output, _repeated_chargerInfo_codec);
|
|
rotaterDataList_.WriteTo(output, _repeated_rotaterDataList_codec);
|
|
if (energyInfo_ != null) {
|
|
output.WriteRawTag(74);
|
|
output.WriteMessage(EnergyInfo);
|
|
}
|
|
if (NFLBONDJAIE != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(NFLBONDJAIE);
|
|
}
|
|
if (rogueMap_ != null) {
|
|
output.WriteRawTag(90);
|
|
output.WriteMessage(RogueMap);
|
|
}
|
|
if (ACNPBBNLMIE != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteInt32(ACNPBBNLMIE);
|
|
}
|
|
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 (IsRotate != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(IsRotate);
|
|
}
|
|
chargerInfo_.WriteTo(ref output, _repeated_chargerInfo_codec);
|
|
rotaterDataList_.WriteTo(ref output, _repeated_rotaterDataList_codec);
|
|
if (energyInfo_ != null) {
|
|
output.WriteRawTag(74);
|
|
output.WriteMessage(EnergyInfo);
|
|
}
|
|
if (NFLBONDJAIE != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(NFLBONDJAIE);
|
|
}
|
|
if (rogueMap_ != null) {
|
|
output.WriteRawTag(90);
|
|
output.WriteMessage(RogueMap);
|
|
}
|
|
if (ACNPBBNLMIE != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteInt32(ACNPBBNLMIE);
|
|
}
|
|
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;
|
|
size += chargerInfo_.CalculateSize(_repeated_chargerInfo_codec);
|
|
if (IsRotate != false) {
|
|
size += 1 + 1;
|
|
}
|
|
size += rotaterDataList_.CalculateSize(_repeated_rotaterDataList_codec);
|
|
if (energyInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(EnergyInfo);
|
|
}
|
|
if (NFLBONDJAIE != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NFLBONDJAIE);
|
|
}
|
|
if (ACNPBBNLMIE != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ACNPBBNLMIE);
|
|
}
|
|
if (rogueMap_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueMap);
|
|
}
|
|
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;
|
|
}
|
|
chargerInfo_.Add(other.chargerInfo_);
|
|
if (other.IsRotate != false) {
|
|
IsRotate = other.IsRotate;
|
|
}
|
|
rotaterDataList_.Add(other.rotaterDataList_);
|
|
if (other.energyInfo_ != null) {
|
|
if (energyInfo_ == null) {
|
|
EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo();
|
|
}
|
|
EnergyInfo.MergeFrom(other.EnergyInfo);
|
|
}
|
|
if (other.NFLBONDJAIE != 0) {
|
|
NFLBONDJAIE = other.NFLBONDJAIE;
|
|
}
|
|
if (other.ACNPBBNLMIE != 0) {
|
|
ACNPBBNLMIE = other.ACNPBBNLMIE;
|
|
}
|
|
if (other.rogueMap_ != null) {
|
|
if (rogueMap_ == null) {
|
|
RogueMap = new global::EggLink.DanhengServer.Proto.ICIMAKBAJGB();
|
|
}
|
|
RogueMap.MergeFrom(other.RogueMap);
|
|
}
|
|
_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 48: {
|
|
IsRotate = input.ReadBool();
|
|
break;
|
|
}
|
|
case 58: {
|
|
chargerInfo_.AddEntriesFrom(input, _repeated_chargerInfo_codec);
|
|
break;
|
|
}
|
|
case 66: {
|
|
rotaterDataList_.AddEntriesFrom(input, _repeated_rotaterDataList_codec);
|
|
break;
|
|
}
|
|
case 74: {
|
|
if (energyInfo_ == null) {
|
|
EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo();
|
|
}
|
|
input.ReadMessage(EnergyInfo);
|
|
break;
|
|
}
|
|
case 80: {
|
|
NFLBONDJAIE = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 90: {
|
|
if (rogueMap_ == null) {
|
|
RogueMap = new global::EggLink.DanhengServer.Proto.ICIMAKBAJGB();
|
|
}
|
|
input.ReadMessage(RogueMap);
|
|
break;
|
|
}
|
|
case 120: {
|
|
ACNPBBNLMIE = 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 48: {
|
|
IsRotate = input.ReadBool();
|
|
break;
|
|
}
|
|
case 58: {
|
|
chargerInfo_.AddEntriesFrom(ref input, _repeated_chargerInfo_codec);
|
|
break;
|
|
}
|
|
case 66: {
|
|
rotaterDataList_.AddEntriesFrom(ref input, _repeated_rotaterDataList_codec);
|
|
break;
|
|
}
|
|
case 74: {
|
|
if (energyInfo_ == null) {
|
|
EnergyInfo = new global::EggLink.DanhengServer.Proto.RotaterEnergyInfo();
|
|
}
|
|
input.ReadMessage(EnergyInfo);
|
|
break;
|
|
}
|
|
case 80: {
|
|
NFLBONDJAIE = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 90: {
|
|
if (rogueMap_ == null) {
|
|
RogueMap = new global::EggLink.DanhengServer.Proto.ICIMAKBAJGB();
|
|
}
|
|
input.ReadMessage(RogueMap);
|
|
break;
|
|
}
|
|
case 120: {
|
|
ACNPBBNLMIE = input.ReadInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|