mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 12:46:03 +08:00
425 lines
16 KiB
C#
425 lines
16 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: SelectRogueCommonDialogueOptionScRsp.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 SelectRogueCommonDialogueOptionScRsp.proto</summary>
|
|
public static partial class SelectRogueCommonDialogueOptionScRspReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for SelectRogueCommonDialogueOptionScRsp.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static SelectRogueCommonDialogueOptionScRspReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CipTZWxlY3RSb2d1ZUNvbW1vbkRpYWxvZ3VlT3B0aW9uU2NSc3AucHJvdG8a",
|
|
"IVJvZ3VlQ29tbW9uRGlhbG9ndWVEYXRhSW5mby5wcm90byLCAQokU2VsZWN0",
|
|
"Um9ndWVDb21tb25EaWFsb2d1ZU9wdGlvblNjUnNwEhMKC0NOSk5FTE9FR0FP",
|
|
"GAYgAygNEhcKD2V2ZW50X3VuaXF1ZV9pZBgEIAEoDRIPCgdyZXRjb2RlGA8g",
|
|
"ASgNEjMKDWRpYWxvZ3VlX2RhdGEYDiABKAsyHC5Sb2d1ZUNvbW1vbkRpYWxv",
|
|
"Z3VlRGF0YUluZm8SEQoJb3B0aW9uX2lkGAwgASgNEhMKC0FJR09CTU1GSEVK",
|
|
"GAggASgIQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3Rv",
|
|
"Mw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SelectRogueCommonDialogueOptionScRsp), global::EggLink.DanhengServer.Proto.SelectRogueCommonDialogueOptionScRsp.Parser, new[]{ "CNJNELOEGAO", "EventUniqueId", "Retcode", "DialogueData", "OptionId", "AIGOBMMFHEJ" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class SelectRogueCommonDialogueOptionScRsp : pb::IMessage<SelectRogueCommonDialogueOptionScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<SelectRogueCommonDialogueOptionScRsp> _parser = new pb::MessageParser<SelectRogueCommonDialogueOptionScRsp>(() => new SelectRogueCommonDialogueOptionScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<SelectRogueCommonDialogueOptionScRsp> 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.SelectRogueCommonDialogueOptionScRspReflection.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 SelectRogueCommonDialogueOptionScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public SelectRogueCommonDialogueOptionScRsp(SelectRogueCommonDialogueOptionScRsp other) : this() {
|
|
cNJNELOEGAO_ = other.cNJNELOEGAO_.Clone();
|
|
eventUniqueId_ = other.eventUniqueId_;
|
|
retcode_ = other.retcode_;
|
|
dialogueData_ = other.dialogueData_ != null ? other.dialogueData_.Clone() : null;
|
|
optionId_ = other.optionId_;
|
|
aIGOBMMFHEJ_ = other.aIGOBMMFHEJ_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public SelectRogueCommonDialogueOptionScRsp Clone() {
|
|
return new SelectRogueCommonDialogueOptionScRsp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "CNJNELOEGAO" field.</summary>
|
|
public const int CNJNELOEGAOFieldNumber = 6;
|
|
private static readonly pb::FieldCodec<uint> _repeated_cNJNELOEGAO_codec
|
|
= pb::FieldCodec.ForUInt32(50);
|
|
private readonly pbc::RepeatedField<uint> cNJNELOEGAO_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> CNJNELOEGAO {
|
|
get { return cNJNELOEGAO_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "event_unique_id" field.</summary>
|
|
public const int EventUniqueIdFieldNumber = 4;
|
|
private uint eventUniqueId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint EventUniqueId {
|
|
get { return eventUniqueId_; }
|
|
set {
|
|
eventUniqueId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 15;
|
|
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 "dialogue_data" field.</summary>
|
|
public const int DialogueDataFieldNumber = 14;
|
|
private global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfo dialogueData_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfo DialogueData {
|
|
get { return dialogueData_; }
|
|
set {
|
|
dialogueData_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "option_id" field.</summary>
|
|
public const int OptionIdFieldNumber = 12;
|
|
private uint optionId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint OptionId {
|
|
get { return optionId_; }
|
|
set {
|
|
optionId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "AIGOBMMFHEJ" field.</summary>
|
|
public const int AIGOBMMFHEJFieldNumber = 8;
|
|
private bool aIGOBMMFHEJ_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool AIGOBMMFHEJ {
|
|
get { return aIGOBMMFHEJ_; }
|
|
set {
|
|
aIGOBMMFHEJ_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as SelectRogueCommonDialogueOptionScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(SelectRogueCommonDialogueOptionScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!cNJNELOEGAO_.Equals(other.cNJNELOEGAO_)) return false;
|
|
if (EventUniqueId != other.EventUniqueId) return false;
|
|
if (Retcode != other.Retcode) return false;
|
|
if (!object.Equals(DialogueData, other.DialogueData)) return false;
|
|
if (OptionId != other.OptionId) return false;
|
|
if (AIGOBMMFHEJ != other.AIGOBMMFHEJ) 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 ^= cNJNELOEGAO_.GetHashCode();
|
|
if (EventUniqueId != 0) hash ^= EventUniqueId.GetHashCode();
|
|
if (Retcode != 0) hash ^= Retcode.GetHashCode();
|
|
if (dialogueData_ != null) hash ^= DialogueData.GetHashCode();
|
|
if (OptionId != 0) hash ^= OptionId.GetHashCode();
|
|
if (AIGOBMMFHEJ != false) hash ^= AIGOBMMFHEJ.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 (EventUniqueId != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(EventUniqueId);
|
|
}
|
|
cNJNELOEGAO_.WriteTo(output, _repeated_cNJNELOEGAO_codec);
|
|
if (AIGOBMMFHEJ != false) {
|
|
output.WriteRawTag(64);
|
|
output.WriteBool(AIGOBMMFHEJ);
|
|
}
|
|
if (OptionId != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(OptionId);
|
|
}
|
|
if (dialogueData_ != null) {
|
|
output.WriteRawTag(114);
|
|
output.WriteMessage(DialogueData);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
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 (EventUniqueId != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(EventUniqueId);
|
|
}
|
|
cNJNELOEGAO_.WriteTo(ref output, _repeated_cNJNELOEGAO_codec);
|
|
if (AIGOBMMFHEJ != false) {
|
|
output.WriteRawTag(64);
|
|
output.WriteBool(AIGOBMMFHEJ);
|
|
}
|
|
if (OptionId != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(OptionId);
|
|
}
|
|
if (dialogueData_ != null) {
|
|
output.WriteRawTag(114);
|
|
output.WriteMessage(DialogueData);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
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 += cNJNELOEGAO_.CalculateSize(_repeated_cNJNELOEGAO_codec);
|
|
if (EventUniqueId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EventUniqueId);
|
|
}
|
|
if (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
if (dialogueData_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DialogueData);
|
|
}
|
|
if (OptionId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OptionId);
|
|
}
|
|
if (AIGOBMMFHEJ != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(SelectRogueCommonDialogueOptionScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
cNJNELOEGAO_.Add(other.cNJNELOEGAO_);
|
|
if (other.EventUniqueId != 0) {
|
|
EventUniqueId = other.EventUniqueId;
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
if (other.dialogueData_ != null) {
|
|
if (dialogueData_ == null) {
|
|
DialogueData = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfo();
|
|
}
|
|
DialogueData.MergeFrom(other.DialogueData);
|
|
}
|
|
if (other.OptionId != 0) {
|
|
OptionId = other.OptionId;
|
|
}
|
|
if (other.AIGOBMMFHEJ != false) {
|
|
AIGOBMMFHEJ = other.AIGOBMMFHEJ;
|
|
}
|
|
_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 32: {
|
|
EventUniqueId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 50:
|
|
case 48: {
|
|
cNJNELOEGAO_.AddEntriesFrom(input, _repeated_cNJNELOEGAO_codec);
|
|
break;
|
|
}
|
|
case 64: {
|
|
AIGOBMMFHEJ = input.ReadBool();
|
|
break;
|
|
}
|
|
case 96: {
|
|
OptionId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 114: {
|
|
if (dialogueData_ == null) {
|
|
DialogueData = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfo();
|
|
}
|
|
input.ReadMessage(DialogueData);
|
|
break;
|
|
}
|
|
case 120: {
|
|
Retcode = input.ReadUInt32();
|
|
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 32: {
|
|
EventUniqueId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 50:
|
|
case 48: {
|
|
cNJNELOEGAO_.AddEntriesFrom(ref input, _repeated_cNJNELOEGAO_codec);
|
|
break;
|
|
}
|
|
case 64: {
|
|
AIGOBMMFHEJ = input.ReadBool();
|
|
break;
|
|
}
|
|
case 96: {
|
|
OptionId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 114: {
|
|
if (dialogueData_ == null) {
|
|
DialogueData = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfo();
|
|
}
|
|
input.ReadMessage(DialogueData);
|
|
break;
|
|
}
|
|
case 120: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|