mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36: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",
|
|
"IVJvZ3VlQ29tbW9uRGlhbG9ndWVEYXRhSW5mby5wcm90byLQAQokU2VsZWN0",
|
|
"Um9ndWVDb21tb25EaWFsb2d1ZU9wdGlvblNjUnNwEhgKEGV2ZW50X2hhc19l",
|
|
"ZmZlY3QYBiABKAgSFwoPZXZlbnRfdW5pcXVlX2lkGAkgASgNEhEKCW9wdGlv",
|
|
"bl9pZBgCIAEoDRIPCgdyZXRjb2RlGAggASgNEhwKFGVmZmVjdF9ldmVudF9p",
|
|
"ZF9saXN0GAMgAygNEjMKDWRpYWxvZ3VlX2RhdGEYCiABKAsyHC5Sb2d1ZUNv",
|
|
"bW1vbkRpYWxvZ3VlRGF0YUluZm9CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZl",
|
|
"ci5Qcm90b2IGcHJvdG8z"));
|
|
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[]{ "EventHasEffect", "EventUniqueId", "OptionId", "Retcode", "EffectEventIdList", "DialogueData" }, 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() {
|
|
eventHasEffect_ = other.eventHasEffect_;
|
|
eventUniqueId_ = other.eventUniqueId_;
|
|
optionId_ = other.optionId_;
|
|
retcode_ = other.retcode_;
|
|
effectEventIdList_ = other.effectEventIdList_.Clone();
|
|
dialogueData_ = other.dialogueData_ != null ? other.dialogueData_.Clone() : null;
|
|
_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 "event_has_effect" field.</summary>
|
|
public const int EventHasEffectFieldNumber = 6;
|
|
private bool eventHasEffect_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool EventHasEffect {
|
|
get { return eventHasEffect_; }
|
|
set {
|
|
eventHasEffect_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "event_unique_id" field.</summary>
|
|
public const int EventUniqueIdFieldNumber = 9;
|
|
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 "option_id" field.</summary>
|
|
public const int OptionIdFieldNumber = 2;
|
|
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 "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 8;
|
|
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 "effect_event_id_list" field.</summary>
|
|
public const int EffectEventIdListFieldNumber = 3;
|
|
private static readonly pb::FieldCodec<uint> _repeated_effectEventIdList_codec
|
|
= pb::FieldCodec.ForUInt32(26);
|
|
private readonly pbc::RepeatedField<uint> effectEventIdList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> EffectEventIdList {
|
|
get { return effectEventIdList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "dialogue_data" field.</summary>
|
|
public const int DialogueDataFieldNumber = 10;
|
|
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;
|
|
}
|
|
}
|
|
|
|
[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 (EventHasEffect != other.EventHasEffect) return false;
|
|
if (EventUniqueId != other.EventUniqueId) return false;
|
|
if (OptionId != other.OptionId) return false;
|
|
if (Retcode != other.Retcode) return false;
|
|
if(!effectEventIdList_.Equals(other.effectEventIdList_)) return false;
|
|
if (!object.Equals(DialogueData, other.DialogueData)) 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 (EventHasEffect != false) hash ^= EventHasEffect.GetHashCode();
|
|
if (EventUniqueId != 0) hash ^= EventUniqueId.GetHashCode();
|
|
if (OptionId != 0) hash ^= OptionId.GetHashCode();
|
|
if (Retcode != 0) hash ^= Retcode.GetHashCode();
|
|
hash ^= effectEventIdList_.GetHashCode();
|
|
if (dialogueData_ != null) hash ^= DialogueData.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 (OptionId != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(OptionId);
|
|
}
|
|
effectEventIdList_.WriteTo(output, _repeated_effectEventIdList_codec);
|
|
if (EventHasEffect != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(EventHasEffect);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (EventUniqueId != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(EventUniqueId);
|
|
}
|
|
if (dialogueData_ != null) {
|
|
output.WriteRawTag(82);
|
|
output.WriteMessage(DialogueData);
|
|
}
|
|
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 (OptionId != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(OptionId);
|
|
}
|
|
effectEventIdList_.WriteTo(ref output, _repeated_effectEventIdList_codec);
|
|
if (EventHasEffect != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(EventHasEffect);
|
|
}
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
if (EventUniqueId != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(EventUniqueId);
|
|
}
|
|
if (dialogueData_ != null) {
|
|
output.WriteRawTag(82);
|
|
output.WriteMessage(DialogueData);
|
|
}
|
|
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 (EventHasEffect != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (EventUniqueId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EventUniqueId);
|
|
}
|
|
if (OptionId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OptionId);
|
|
}
|
|
if (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
size += effectEventIdList_.CalculateSize(_repeated_effectEventIdList_codec);
|
|
if (dialogueData_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DialogueData);
|
|
}
|
|
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;
|
|
}
|
|
if (other.EventHasEffect != false) {
|
|
EventHasEffect = other.EventHasEffect;
|
|
}
|
|
if (other.EventUniqueId != 0) {
|
|
EventUniqueId = other.EventUniqueId;
|
|
}
|
|
if (other.OptionId != 0) {
|
|
OptionId = other.OptionId;
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
effectEventIdList_.Add(other.effectEventIdList_);
|
|
if (other.dialogueData_ != null) {
|
|
if (dialogueData_ == null) {
|
|
DialogueData = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfo();
|
|
}
|
|
DialogueData.MergeFrom(other.DialogueData);
|
|
}
|
|
_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 16: {
|
|
OptionId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 26:
|
|
case 24: {
|
|
effectEventIdList_.AddEntriesFrom(input, _repeated_effectEventIdList_codec);
|
|
break;
|
|
}
|
|
case 48: {
|
|
EventHasEffect = input.ReadBool();
|
|
break;
|
|
}
|
|
case 64: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
EventUniqueId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 82: {
|
|
if (dialogueData_ == null) {
|
|
DialogueData = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfo();
|
|
}
|
|
input.ReadMessage(DialogueData);
|
|
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 16: {
|
|
OptionId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 26:
|
|
case 24: {
|
|
effectEventIdList_.AddEntriesFrom(ref input, _repeated_effectEventIdList_codec);
|
|
break;
|
|
}
|
|
case 48: {
|
|
EventHasEffect = input.ReadBool();
|
|
break;
|
|
}
|
|
case 64: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 72: {
|
|
EventUniqueId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 82: {
|
|
if (dialogueData_ == null) {
|
|
DialogueData = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfo();
|
|
}
|
|
input.ReadMessage(DialogueData);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|