Files
DanhengServer-OpenSource/Proto/RogueCommonDialogueInfo.cs

436 lines
18 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RogueCommonDialogueInfo.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 RogueCommonDialogueInfo.proto</summary>
public static partial class RogueCommonDialogueInfoReflection {
#region Descriptor
/// <summary>File descriptor for RogueCommonDialogueInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RogueCommonDialogueInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch1Sb2d1ZUNvbW1vbkRpYWxvZ3VlSW5mby5wcm90bxoiUm9ndWVDb21tb25E",
"aWFsb2d1ZUJhc2ljSW5mby5wcm90bxoRQ0JFUEVKRERCSEsucHJvdG8aEU5D",
"QUhGSkVQQk1PLnByb3RvGhFESUFDS0JKTUdPTS5wcm90byLTAQoXUm9ndWVD",
"b21tb25EaWFsb2d1ZUluZm8SIQoLSUJPRURHS0ZMSUgYASABKAsyDC5OQ0FI",
"RkpFUEJNTxI8ChNkaWFsb2d1ZV9iYXNpY19pbmZvGA0gASgLMh0uUm9ndWVD",
"b21tb25EaWFsb2d1ZUJhc2ljSW5mb0gAEiMKC0lFQ0ZDQklIQ0tHGAYgASgL",
"MgwuRElBQ0tCSk1HT01IABIjCgtIQ05LRUFPUElHRhgEIAEoCzIMLkNCRVBF",
"SkREQkhLSABCDQoLT0JDREhFRUpFRkhCHqoCG0VnZ0xpbmsuRGFuaGVuZ1Nl",
"cnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueCommonDialogueBasicInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.CBEPEJDDBHKReflection.Descriptor, global::EggLink.DanhengServer.Proto.NCAHFJEPBMOReflection.Descriptor, global::EggLink.DanhengServer.Proto.DIACKBJMGOMReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueCommonDialogueInfo), global::EggLink.DanhengServer.Proto.RogueCommonDialogueInfo.Parser, new[]{ "IBOEDGKFLIH", "DialogueBasicInfo", "IECFCBIHCKG", "HCNKEAOPIGF" }, new[]{ "OBCDHEEJEFH" }, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RogueCommonDialogueInfo : pb::IMessage<RogueCommonDialogueInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RogueCommonDialogueInfo> _parser = new pb::MessageParser<RogueCommonDialogueInfo>(() => new RogueCommonDialogueInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RogueCommonDialogueInfo> 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.RogueCommonDialogueInfoReflection.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 RogueCommonDialogueInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueCommonDialogueInfo(RogueCommonDialogueInfo other) : this() {
iBOEDGKFLIH_ = other.iBOEDGKFLIH_ != null ? other.iBOEDGKFLIH_.Clone() : null;
switch (other.OBCDHEEJEFHCase) {
case OBCDHEEJEFHOneofCase.DialogueBasicInfo:
DialogueBasicInfo = other.DialogueBasicInfo.Clone();
break;
case OBCDHEEJEFHOneofCase.IECFCBIHCKG:
IECFCBIHCKG = other.IECFCBIHCKG.Clone();
break;
case OBCDHEEJEFHOneofCase.HCNKEAOPIGF:
HCNKEAOPIGF = other.HCNKEAOPIGF.Clone();
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueCommonDialogueInfo Clone() {
return new RogueCommonDialogueInfo(this);
}
/// <summary>Field number for the "IBOEDGKFLIH" field.</summary>
public const int IBOEDGKFLIHFieldNumber = 1;
private global::EggLink.DanhengServer.Proto.NCAHFJEPBMO iBOEDGKFLIH_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.NCAHFJEPBMO IBOEDGKFLIH {
get { return iBOEDGKFLIH_; }
set {
iBOEDGKFLIH_ = value;
}
}
/// <summary>Field number for the "dialogue_basic_info" field.</summary>
public const int DialogueBasicInfoFieldNumber = 13;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.RogueCommonDialogueBasicInfo DialogueBasicInfo {
get { return oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.DialogueBasicInfo ? (global::EggLink.DanhengServer.Proto.RogueCommonDialogueBasicInfo) oBCDHEEJEFH_ : null; }
set {
oBCDHEEJEFH_ = value;
oBCDHEEJEFHCase_ = value == null ? OBCDHEEJEFHOneofCase.None : OBCDHEEJEFHOneofCase.DialogueBasicInfo;
}
}
/// <summary>Field number for the "IECFCBIHCKG" field.</summary>
public const int IECFCBIHCKGFieldNumber = 6;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.DIACKBJMGOM IECFCBIHCKG {
get { return oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.IECFCBIHCKG ? (global::EggLink.DanhengServer.Proto.DIACKBJMGOM) oBCDHEEJEFH_ : null; }
set {
oBCDHEEJEFH_ = value;
oBCDHEEJEFHCase_ = value == null ? OBCDHEEJEFHOneofCase.None : OBCDHEEJEFHOneofCase.IECFCBIHCKG;
}
}
/// <summary>Field number for the "HCNKEAOPIGF" field.</summary>
public const int HCNKEAOPIGFFieldNumber = 4;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.CBEPEJDDBHK HCNKEAOPIGF {
get { return oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.HCNKEAOPIGF ? (global::EggLink.DanhengServer.Proto.CBEPEJDDBHK) oBCDHEEJEFH_ : null; }
set {
oBCDHEEJEFH_ = value;
oBCDHEEJEFHCase_ = value == null ? OBCDHEEJEFHOneofCase.None : OBCDHEEJEFHOneofCase.HCNKEAOPIGF;
}
}
private object oBCDHEEJEFH_;
/// <summary>Enum of possible cases for the "OBCDHEEJEFH" oneof.</summary>
public enum OBCDHEEJEFHOneofCase {
None = 0,
DialogueBasicInfo = 13,
IECFCBIHCKG = 6,
HCNKEAOPIGF = 4,
}
private OBCDHEEJEFHOneofCase oBCDHEEJEFHCase_ = OBCDHEEJEFHOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public OBCDHEEJEFHOneofCase OBCDHEEJEFHCase {
get { return oBCDHEEJEFHCase_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearOBCDHEEJEFH() {
oBCDHEEJEFHCase_ = OBCDHEEJEFHOneofCase.None;
oBCDHEEJEFH_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RogueCommonDialogueInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RogueCommonDialogueInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(IBOEDGKFLIH, other.IBOEDGKFLIH)) return false;
if (!object.Equals(DialogueBasicInfo, other.DialogueBasicInfo)) return false;
if (!object.Equals(IECFCBIHCKG, other.IECFCBIHCKG)) return false;
if (!object.Equals(HCNKEAOPIGF, other.HCNKEAOPIGF)) return false;
if (OBCDHEEJEFHCase != other.OBCDHEEJEFHCase) 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 (iBOEDGKFLIH_ != null) hash ^= IBOEDGKFLIH.GetHashCode();
if (oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.DialogueBasicInfo) hash ^= DialogueBasicInfo.GetHashCode();
if (oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.IECFCBIHCKG) hash ^= IECFCBIHCKG.GetHashCode();
if (oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.HCNKEAOPIGF) hash ^= HCNKEAOPIGF.GetHashCode();
hash ^= (int) oBCDHEEJEFHCase_;
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 (iBOEDGKFLIH_ != null) {
output.WriteRawTag(10);
output.WriteMessage(IBOEDGKFLIH);
}
if (oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.HCNKEAOPIGF) {
output.WriteRawTag(34);
output.WriteMessage(HCNKEAOPIGF);
}
if (oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.IECFCBIHCKG) {
output.WriteRawTag(50);
output.WriteMessage(IECFCBIHCKG);
}
if (oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.DialogueBasicInfo) {
output.WriteRawTag(106);
output.WriteMessage(DialogueBasicInfo);
}
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 (iBOEDGKFLIH_ != null) {
output.WriteRawTag(10);
output.WriteMessage(IBOEDGKFLIH);
}
if (oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.HCNKEAOPIGF) {
output.WriteRawTag(34);
output.WriteMessage(HCNKEAOPIGF);
}
if (oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.IECFCBIHCKG) {
output.WriteRawTag(50);
output.WriteMessage(IECFCBIHCKG);
}
if (oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.DialogueBasicInfo) {
output.WriteRawTag(106);
output.WriteMessage(DialogueBasicInfo);
}
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 (iBOEDGKFLIH_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(IBOEDGKFLIH);
}
if (oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.DialogueBasicInfo) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DialogueBasicInfo);
}
if (oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.IECFCBIHCKG) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(IECFCBIHCKG);
}
if (oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.HCNKEAOPIGF) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(HCNKEAOPIGF);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RogueCommonDialogueInfo other) {
if (other == null) {
return;
}
if (other.iBOEDGKFLIH_ != null) {
if (iBOEDGKFLIH_ == null) {
IBOEDGKFLIH = new global::EggLink.DanhengServer.Proto.NCAHFJEPBMO();
}
IBOEDGKFLIH.MergeFrom(other.IBOEDGKFLIH);
}
switch (other.OBCDHEEJEFHCase) {
case OBCDHEEJEFHOneofCase.DialogueBasicInfo:
if (DialogueBasicInfo == null) {
DialogueBasicInfo = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueBasicInfo();
}
DialogueBasicInfo.MergeFrom(other.DialogueBasicInfo);
break;
case OBCDHEEJEFHOneofCase.IECFCBIHCKG:
if (IECFCBIHCKG == null) {
IECFCBIHCKG = new global::EggLink.DanhengServer.Proto.DIACKBJMGOM();
}
IECFCBIHCKG.MergeFrom(other.IECFCBIHCKG);
break;
case OBCDHEEJEFHOneofCase.HCNKEAOPIGF:
if (HCNKEAOPIGF == null) {
HCNKEAOPIGF = new global::EggLink.DanhengServer.Proto.CBEPEJDDBHK();
}
HCNKEAOPIGF.MergeFrom(other.HCNKEAOPIGF);
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 10: {
if (iBOEDGKFLIH_ == null) {
IBOEDGKFLIH = new global::EggLink.DanhengServer.Proto.NCAHFJEPBMO();
}
input.ReadMessage(IBOEDGKFLIH);
break;
}
case 34: {
global::EggLink.DanhengServer.Proto.CBEPEJDDBHK subBuilder = new global::EggLink.DanhengServer.Proto.CBEPEJDDBHK();
if (oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.HCNKEAOPIGF) {
subBuilder.MergeFrom(HCNKEAOPIGF);
}
input.ReadMessage(subBuilder);
HCNKEAOPIGF = subBuilder;
break;
}
case 50: {
global::EggLink.DanhengServer.Proto.DIACKBJMGOM subBuilder = new global::EggLink.DanhengServer.Proto.DIACKBJMGOM();
if (oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.IECFCBIHCKG) {
subBuilder.MergeFrom(IECFCBIHCKG);
}
input.ReadMessage(subBuilder);
IECFCBIHCKG = subBuilder;
break;
}
case 106: {
global::EggLink.DanhengServer.Proto.RogueCommonDialogueBasicInfo subBuilder = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueBasicInfo();
if (oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.DialogueBasicInfo) {
subBuilder.MergeFrom(DialogueBasicInfo);
}
input.ReadMessage(subBuilder);
DialogueBasicInfo = 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 10: {
if (iBOEDGKFLIH_ == null) {
IBOEDGKFLIH = new global::EggLink.DanhengServer.Proto.NCAHFJEPBMO();
}
input.ReadMessage(IBOEDGKFLIH);
break;
}
case 34: {
global::EggLink.DanhengServer.Proto.CBEPEJDDBHK subBuilder = new global::EggLink.DanhengServer.Proto.CBEPEJDDBHK();
if (oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.HCNKEAOPIGF) {
subBuilder.MergeFrom(HCNKEAOPIGF);
}
input.ReadMessage(subBuilder);
HCNKEAOPIGF = subBuilder;
break;
}
case 50: {
global::EggLink.DanhengServer.Proto.DIACKBJMGOM subBuilder = new global::EggLink.DanhengServer.Proto.DIACKBJMGOM();
if (oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.IECFCBIHCKG) {
subBuilder.MergeFrom(IECFCBIHCKG);
}
input.ReadMessage(subBuilder);
IECFCBIHCKG = subBuilder;
break;
}
case 106: {
global::EggLink.DanhengServer.Proto.RogueCommonDialogueBasicInfo subBuilder = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueBasicInfo();
if (oBCDHEEJEFHCase_ == OBCDHEEJEFHOneofCase.DialogueBasicInfo) {
subBuilder.MergeFrom(DialogueBasicInfo);
}
input.ReadMessage(subBuilder);
DialogueBasicInfo = subBuilder;
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code