Files
DanhengServer-OpenSource/Proto/NpcExtraInfo.cs

387 lines
15 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: NpcExtraInfo.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 NpcExtraInfo.proto</summary>
public static partial class NpcExtraInfoReflection {
#region Descriptor
/// <summary>File descriptor for NpcExtraInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static NpcExtraInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChJOcGNFeHRyYUluZm8ucHJvdG8aEk5wY1JvZ3VlSW5mby5wcm90bxoRQUFM",
"QUhOREVQQkEucHJvdG8aEUVDSExISkFMQ0tMLnByb3RvIowBCgxOcGNFeHRy",
"YUluZm8SIwoKcm9ndWVfaW5mbxgHIAEoCzINLk5wY1JvZ3VlSW5mb0gAEiMK",
"C0tFSUxBTEtIQ0NBGAYgASgLMgwuRUNITEhKQUxDS0xIABIjCgtPTEdBT0JI",
"QUNLRBgOIAEoCzIMLkFBTEFITkRFUEJBSABCDQoLTEhNUE1ET1BERENCHqoC",
"G0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.NpcRogueInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.AALAHNDEPBAReflection.Descriptor, global::EggLink.DanhengServer.Proto.ECHLHJALCKLReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.NpcExtraInfo), global::EggLink.DanhengServer.Proto.NpcExtraInfo.Parser, new[]{ "RogueInfo", "KEILALKHCCA", "OLGAOBHACKD" }, new[]{ "LHMPMDOPDDC" }, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class NpcExtraInfo : pb::IMessage<NpcExtraInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<NpcExtraInfo> _parser = new pb::MessageParser<NpcExtraInfo>(() => new NpcExtraInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<NpcExtraInfo> 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.NpcExtraInfoReflection.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 NpcExtraInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public NpcExtraInfo(NpcExtraInfo other) : this() {
switch (other.LHMPMDOPDDCCase) {
case LHMPMDOPDDCOneofCase.RogueInfo:
RogueInfo = other.RogueInfo.Clone();
break;
case LHMPMDOPDDCOneofCase.KEILALKHCCA:
KEILALKHCCA = other.KEILALKHCCA.Clone();
break;
case LHMPMDOPDDCOneofCase.OLGAOBHACKD:
OLGAOBHACKD = other.OLGAOBHACKD.Clone();
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public NpcExtraInfo Clone() {
return new NpcExtraInfo(this);
}
/// <summary>Field number for the "rogue_info" field.</summary>
public const int RogueInfoFieldNumber = 7;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.NpcRogueInfo RogueInfo {
get { return lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.RogueInfo ? (global::EggLink.DanhengServer.Proto.NpcRogueInfo) lHMPMDOPDDC_ : null; }
set {
lHMPMDOPDDC_ = value;
lHMPMDOPDDCCase_ = value == null ? LHMPMDOPDDCOneofCase.None : LHMPMDOPDDCOneofCase.RogueInfo;
}
}
/// <summary>Field number for the "KEILALKHCCA" field.</summary>
public const int KEILALKHCCAFieldNumber = 6;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.ECHLHJALCKL KEILALKHCCA {
get { return lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.KEILALKHCCA ? (global::EggLink.DanhengServer.Proto.ECHLHJALCKL) lHMPMDOPDDC_ : null; }
set {
lHMPMDOPDDC_ = value;
lHMPMDOPDDCCase_ = value == null ? LHMPMDOPDDCOneofCase.None : LHMPMDOPDDCOneofCase.KEILALKHCCA;
}
}
/// <summary>Field number for the "OLGAOBHACKD" field.</summary>
public const int OLGAOBHACKDFieldNumber = 14;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.AALAHNDEPBA OLGAOBHACKD {
get { return lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.OLGAOBHACKD ? (global::EggLink.DanhengServer.Proto.AALAHNDEPBA) lHMPMDOPDDC_ : null; }
set {
lHMPMDOPDDC_ = value;
lHMPMDOPDDCCase_ = value == null ? LHMPMDOPDDCOneofCase.None : LHMPMDOPDDCOneofCase.OLGAOBHACKD;
}
}
private object lHMPMDOPDDC_;
/// <summary>Enum of possible cases for the "LHMPMDOPDDC" oneof.</summary>
public enum LHMPMDOPDDCOneofCase {
None = 0,
RogueInfo = 7,
KEILALKHCCA = 6,
OLGAOBHACKD = 14,
}
private LHMPMDOPDDCOneofCase lHMPMDOPDDCCase_ = LHMPMDOPDDCOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public LHMPMDOPDDCOneofCase LHMPMDOPDDCCase {
get { return lHMPMDOPDDCCase_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearLHMPMDOPDDC() {
lHMPMDOPDDCCase_ = LHMPMDOPDDCOneofCase.None;
lHMPMDOPDDC_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as NpcExtraInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(NpcExtraInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(RogueInfo, other.RogueInfo)) return false;
if (!object.Equals(KEILALKHCCA, other.KEILALKHCCA)) return false;
if (!object.Equals(OLGAOBHACKD, other.OLGAOBHACKD)) return false;
if (LHMPMDOPDDCCase != other.LHMPMDOPDDCCase) 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 (lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.RogueInfo) hash ^= RogueInfo.GetHashCode();
if (lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.KEILALKHCCA) hash ^= KEILALKHCCA.GetHashCode();
if (lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.OLGAOBHACKD) hash ^= OLGAOBHACKD.GetHashCode();
hash ^= (int) lHMPMDOPDDCCase_;
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 (lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.KEILALKHCCA) {
output.WriteRawTag(50);
output.WriteMessage(KEILALKHCCA);
}
if (lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.RogueInfo) {
output.WriteRawTag(58);
output.WriteMessage(RogueInfo);
}
if (lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.OLGAOBHACKD) {
output.WriteRawTag(114);
output.WriteMessage(OLGAOBHACKD);
}
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 (lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.KEILALKHCCA) {
output.WriteRawTag(50);
output.WriteMessage(KEILALKHCCA);
}
if (lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.RogueInfo) {
output.WriteRawTag(58);
output.WriteMessage(RogueInfo);
}
if (lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.OLGAOBHACKD) {
output.WriteRawTag(114);
output.WriteMessage(OLGAOBHACKD);
}
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 (lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.RogueInfo) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueInfo);
}
if (lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.KEILALKHCCA) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(KEILALKHCCA);
}
if (lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.OLGAOBHACKD) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(OLGAOBHACKD);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(NpcExtraInfo other) {
if (other == null) {
return;
}
switch (other.LHMPMDOPDDCCase) {
case LHMPMDOPDDCOneofCase.RogueInfo:
if (RogueInfo == null) {
RogueInfo = new global::EggLink.DanhengServer.Proto.NpcRogueInfo();
}
RogueInfo.MergeFrom(other.RogueInfo);
break;
case LHMPMDOPDDCOneofCase.KEILALKHCCA:
if (KEILALKHCCA == null) {
KEILALKHCCA = new global::EggLink.DanhengServer.Proto.ECHLHJALCKL();
}
KEILALKHCCA.MergeFrom(other.KEILALKHCCA);
break;
case LHMPMDOPDDCOneofCase.OLGAOBHACKD:
if (OLGAOBHACKD == null) {
OLGAOBHACKD = new global::EggLink.DanhengServer.Proto.AALAHNDEPBA();
}
OLGAOBHACKD.MergeFrom(other.OLGAOBHACKD);
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.ECHLHJALCKL subBuilder = new global::EggLink.DanhengServer.Proto.ECHLHJALCKL();
if (lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.KEILALKHCCA) {
subBuilder.MergeFrom(KEILALKHCCA);
}
input.ReadMessage(subBuilder);
KEILALKHCCA = subBuilder;
break;
}
case 58: {
global::EggLink.DanhengServer.Proto.NpcRogueInfo subBuilder = new global::EggLink.DanhengServer.Proto.NpcRogueInfo();
if (lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.RogueInfo) {
subBuilder.MergeFrom(RogueInfo);
}
input.ReadMessage(subBuilder);
RogueInfo = subBuilder;
break;
}
case 114: {
global::EggLink.DanhengServer.Proto.AALAHNDEPBA subBuilder = new global::EggLink.DanhengServer.Proto.AALAHNDEPBA();
if (lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.OLGAOBHACKD) {
subBuilder.MergeFrom(OLGAOBHACKD);
}
input.ReadMessage(subBuilder);
OLGAOBHACKD = 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.ECHLHJALCKL subBuilder = new global::EggLink.DanhengServer.Proto.ECHLHJALCKL();
if (lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.KEILALKHCCA) {
subBuilder.MergeFrom(KEILALKHCCA);
}
input.ReadMessage(subBuilder);
KEILALKHCCA = subBuilder;
break;
}
case 58: {
global::EggLink.DanhengServer.Proto.NpcRogueInfo subBuilder = new global::EggLink.DanhengServer.Proto.NpcRogueInfo();
if (lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.RogueInfo) {
subBuilder.MergeFrom(RogueInfo);
}
input.ReadMessage(subBuilder);
RogueInfo = subBuilder;
break;
}
case 114: {
global::EggLink.DanhengServer.Proto.AALAHNDEPBA subBuilder = new global::EggLink.DanhengServer.Proto.AALAHNDEPBA();
if (lHMPMDOPDDCCase_ == LHMPMDOPDDCOneofCase.OLGAOBHACKD) {
subBuilder.MergeFrom(OLGAOBHACKD);
}
input.ReadMessage(subBuilder);
OLGAOBHACKD = subBuilder;
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code