mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 12:46:03 +08:00
388 lines
16 KiB
C#
388 lines
16 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: CellAdvanceInfo.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 CellAdvanceInfo.proto</summary>
|
|
public static partial class CellAdvanceInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for CellAdvanceInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static CellAdvanceInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChVDZWxsQWR2YW5jZUluZm8ucHJvdG8aFUNlbGxNb25zdGVySW5mby5wcm90",
|
|
"bxoRSERHTE5ETUVNRUQucHJvdG8aG0NlbGxNb25zdGVyU2VsZWN0SW5mby5w",
|
|
"cm90byKgAQoPQ2VsbEFkdmFuY2VJbmZvEiUKCWJvc3NfaW5mbxgHIAEoCzIQ",
|
|
"LkNlbGxNb25zdGVySW5mb0gAEjIKEHNlbGVjdF9ib3NzX2luZm8YCCABKAsy",
|
|
"Fi5DZWxsTW9uc3RlclNlbGVjdEluZm9IABIjCgtBUERBRk1DTUpKRRgGIAEo",
|
|
"CzIMLkhER0xORE1FTUVESABCDQoLSEJMS01EUEpES0VCHqoCG0VnZ0xpbmsu",
|
|
"RGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.CellMonsterInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.HDGLNDMEMEDReflection.Descriptor, global::EggLink.DanhengServer.Proto.CellMonsterSelectInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.CellAdvanceInfo), global::EggLink.DanhengServer.Proto.CellAdvanceInfo.Parser, new[]{ "BossInfo", "SelectBossInfo", "APDAFMCMJJE" }, new[]{ "HBLKMDPJDKE" }, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class CellAdvanceInfo : pb::IMessage<CellAdvanceInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<CellAdvanceInfo> _parser = new pb::MessageParser<CellAdvanceInfo>(() => new CellAdvanceInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<CellAdvanceInfo> 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.CellAdvanceInfoReflection.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 CellAdvanceInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public CellAdvanceInfo(CellAdvanceInfo other) : this() {
|
|
switch (other.HBLKMDPJDKECase) {
|
|
case HBLKMDPJDKEOneofCase.BossInfo:
|
|
BossInfo = other.BossInfo.Clone();
|
|
break;
|
|
case HBLKMDPJDKEOneofCase.SelectBossInfo:
|
|
SelectBossInfo = other.SelectBossInfo.Clone();
|
|
break;
|
|
case HBLKMDPJDKEOneofCase.APDAFMCMJJE:
|
|
APDAFMCMJJE = other.APDAFMCMJJE.Clone();
|
|
break;
|
|
}
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public CellAdvanceInfo Clone() {
|
|
return new CellAdvanceInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "boss_info" field.</summary>
|
|
public const int BossInfoFieldNumber = 7;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.CellMonsterInfo BossInfo {
|
|
get { return hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.BossInfo ? (global::EggLink.DanhengServer.Proto.CellMonsterInfo) hBLKMDPJDKE_ : null; }
|
|
set {
|
|
hBLKMDPJDKE_ = value;
|
|
hBLKMDPJDKECase_ = value == null ? HBLKMDPJDKEOneofCase.None : HBLKMDPJDKEOneofCase.BossInfo;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "select_boss_info" field.</summary>
|
|
public const int SelectBossInfoFieldNumber = 8;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.CellMonsterSelectInfo SelectBossInfo {
|
|
get { return hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.SelectBossInfo ? (global::EggLink.DanhengServer.Proto.CellMonsterSelectInfo) hBLKMDPJDKE_ : null; }
|
|
set {
|
|
hBLKMDPJDKE_ = value;
|
|
hBLKMDPJDKECase_ = value == null ? HBLKMDPJDKEOneofCase.None : HBLKMDPJDKEOneofCase.SelectBossInfo;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "APDAFMCMJJE" field.</summary>
|
|
public const int APDAFMCMJJEFieldNumber = 6;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.HDGLNDMEMED APDAFMCMJJE {
|
|
get { return hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.APDAFMCMJJE ? (global::EggLink.DanhengServer.Proto.HDGLNDMEMED) hBLKMDPJDKE_ : null; }
|
|
set {
|
|
hBLKMDPJDKE_ = value;
|
|
hBLKMDPJDKECase_ = value == null ? HBLKMDPJDKEOneofCase.None : HBLKMDPJDKEOneofCase.APDAFMCMJJE;
|
|
}
|
|
}
|
|
|
|
private object hBLKMDPJDKE_;
|
|
/// <summary>Enum of possible cases for the "HBLKMDPJDKE" oneof.</summary>
|
|
public enum HBLKMDPJDKEOneofCase {
|
|
None = 0,
|
|
BossInfo = 7,
|
|
SelectBossInfo = 8,
|
|
APDAFMCMJJE = 6,
|
|
}
|
|
private HBLKMDPJDKEOneofCase hBLKMDPJDKECase_ = HBLKMDPJDKEOneofCase.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public HBLKMDPJDKEOneofCase HBLKMDPJDKECase {
|
|
get { return hBLKMDPJDKECase_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void ClearHBLKMDPJDKE() {
|
|
hBLKMDPJDKECase_ = HBLKMDPJDKEOneofCase.None;
|
|
hBLKMDPJDKE_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as CellAdvanceInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(CellAdvanceInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(BossInfo, other.BossInfo)) return false;
|
|
if (!object.Equals(SelectBossInfo, other.SelectBossInfo)) return false;
|
|
if (!object.Equals(APDAFMCMJJE, other.APDAFMCMJJE)) return false;
|
|
if (HBLKMDPJDKECase != other.HBLKMDPJDKECase) 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 (hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.BossInfo) hash ^= BossInfo.GetHashCode();
|
|
if (hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.SelectBossInfo) hash ^= SelectBossInfo.GetHashCode();
|
|
if (hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.APDAFMCMJJE) hash ^= APDAFMCMJJE.GetHashCode();
|
|
hash ^= (int) hBLKMDPJDKECase_;
|
|
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 (hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.APDAFMCMJJE) {
|
|
output.WriteRawTag(50);
|
|
output.WriteMessage(APDAFMCMJJE);
|
|
}
|
|
if (hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.BossInfo) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(BossInfo);
|
|
}
|
|
if (hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.SelectBossInfo) {
|
|
output.WriteRawTag(66);
|
|
output.WriteMessage(SelectBossInfo);
|
|
}
|
|
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 (hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.APDAFMCMJJE) {
|
|
output.WriteRawTag(50);
|
|
output.WriteMessage(APDAFMCMJJE);
|
|
}
|
|
if (hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.BossInfo) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(BossInfo);
|
|
}
|
|
if (hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.SelectBossInfo) {
|
|
output.WriteRawTag(66);
|
|
output.WriteMessage(SelectBossInfo);
|
|
}
|
|
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 (hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.BossInfo) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BossInfo);
|
|
}
|
|
if (hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.SelectBossInfo) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(SelectBossInfo);
|
|
}
|
|
if (hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.APDAFMCMJJE) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(APDAFMCMJJE);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(CellAdvanceInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
switch (other.HBLKMDPJDKECase) {
|
|
case HBLKMDPJDKEOneofCase.BossInfo:
|
|
if (BossInfo == null) {
|
|
BossInfo = new global::EggLink.DanhengServer.Proto.CellMonsterInfo();
|
|
}
|
|
BossInfo.MergeFrom(other.BossInfo);
|
|
break;
|
|
case HBLKMDPJDKEOneofCase.SelectBossInfo:
|
|
if (SelectBossInfo == null) {
|
|
SelectBossInfo = new global::EggLink.DanhengServer.Proto.CellMonsterSelectInfo();
|
|
}
|
|
SelectBossInfo.MergeFrom(other.SelectBossInfo);
|
|
break;
|
|
case HBLKMDPJDKEOneofCase.APDAFMCMJJE:
|
|
if (APDAFMCMJJE == null) {
|
|
APDAFMCMJJE = new global::EggLink.DanhengServer.Proto.HDGLNDMEMED();
|
|
}
|
|
APDAFMCMJJE.MergeFrom(other.APDAFMCMJJE);
|
|
break;
|
|
}
|
|
|
|
_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 50: {
|
|
global::EggLink.DanhengServer.Proto.HDGLNDMEMED subBuilder = new global::EggLink.DanhengServer.Proto.HDGLNDMEMED();
|
|
if (hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.APDAFMCMJJE) {
|
|
subBuilder.MergeFrom(APDAFMCMJJE);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
APDAFMCMJJE = subBuilder;
|
|
break;
|
|
}
|
|
case 58: {
|
|
global::EggLink.DanhengServer.Proto.CellMonsterInfo subBuilder = new global::EggLink.DanhengServer.Proto.CellMonsterInfo();
|
|
if (hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.BossInfo) {
|
|
subBuilder.MergeFrom(BossInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
BossInfo = subBuilder;
|
|
break;
|
|
}
|
|
case 66: {
|
|
global::EggLink.DanhengServer.Proto.CellMonsterSelectInfo subBuilder = new global::EggLink.DanhengServer.Proto.CellMonsterSelectInfo();
|
|
if (hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.SelectBossInfo) {
|
|
subBuilder.MergeFrom(SelectBossInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
SelectBossInfo = subBuilder;
|
|
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 50: {
|
|
global::EggLink.DanhengServer.Proto.HDGLNDMEMED subBuilder = new global::EggLink.DanhengServer.Proto.HDGLNDMEMED();
|
|
if (hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.APDAFMCMJJE) {
|
|
subBuilder.MergeFrom(APDAFMCMJJE);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
APDAFMCMJJE = subBuilder;
|
|
break;
|
|
}
|
|
case 58: {
|
|
global::EggLink.DanhengServer.Proto.CellMonsterInfo subBuilder = new global::EggLink.DanhengServer.Proto.CellMonsterInfo();
|
|
if (hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.BossInfo) {
|
|
subBuilder.MergeFrom(BossInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
BossInfo = subBuilder;
|
|
break;
|
|
}
|
|
case 66: {
|
|
global::EggLink.DanhengServer.Proto.CellMonsterSelectInfo subBuilder = new global::EggLink.DanhengServer.Proto.CellMonsterSelectInfo();
|
|
if (hBLKMDPJDKECase_ == HBLKMDPJDKEOneofCase.SelectBossInfo) {
|
|
subBuilder.MergeFrom(SelectBossInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
SelectBossInfo = subBuilder;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|