Files
DanhengServer-OpenSource/Proto/RogueCommonDialogueOptionInfo.cs
Somebody b84800bc80 Upload to Game 2.5.0
- Fix ChessRogue Final Boss
2024-09-14 19:46:42 +08:00

424 lines
16 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RogueCommonDialogueOptionInfo.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 RogueCommonDialogueOptionInfo.proto</summary>
public static partial class RogueCommonDialogueOptionInfoReflection {
#region Descriptor
/// <summary>File descriptor for RogueCommonDialogueOptionInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RogueCommonDialogueOptionInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiNSb2d1ZUNvbW1vbkRpYWxvZ3VlT3B0aW9uSW5mby5wcm90bxopUm9ndWVD",
"b21tb25EaWFsb2d1ZU9wdGlvblJlc3VsdEluZm8ucHJvdG8aKlJvZ3VlQ29t",
"bW9uRGlhbG9ndWVPcHRpb25EaXNwbGF5SW5mby5wcm90byLlAQodUm9ndWVD",
"b21tb25EaWFsb2d1ZU9wdGlvbkluZm8SQAoSb3B0aW9uX3Jlc3VsdF9pbmZv",
"GAwgAygLMiQuUm9ndWVDb21tb25EaWFsb2d1ZU9wdGlvblJlc3VsdEluZm8S",
"PAoNZGlzcGxheV92YWx1ZRgLIAEoCzIlLlJvZ3VlQ29tbW9uRGlhbG9ndWVP",
"cHRpb25EaXNwbGF5SW5mbxIOCgZhcmdfaWQYASABKA0SEQoJb3B0aW9uX2lk",
"GAYgASgNEhAKCGlzX3ZhbGlkGAUgASgIEg8KB2NvbmZpcm0YByABKAhCHqoC",
"G0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionResultInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionDisplayInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfo), global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfo.Parser, new[]{ "OptionResultInfo", "DisplayValue", "ArgId", "OptionId", "IsValid", "Confirm" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RogueCommonDialogueOptionInfo : pb::IMessage<RogueCommonDialogueOptionInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RogueCommonDialogueOptionInfo> _parser = new pb::MessageParser<RogueCommonDialogueOptionInfo>(() => new RogueCommonDialogueOptionInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RogueCommonDialogueOptionInfo> 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.RogueCommonDialogueOptionInfoReflection.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 RogueCommonDialogueOptionInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueCommonDialogueOptionInfo(RogueCommonDialogueOptionInfo other) : this() {
optionResultInfo_ = other.optionResultInfo_.Clone();
displayValue_ = other.displayValue_ != null ? other.displayValue_.Clone() : null;
argId_ = other.argId_;
optionId_ = other.optionId_;
isValid_ = other.isValid_;
confirm_ = other.confirm_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueCommonDialogueOptionInfo Clone() {
return new RogueCommonDialogueOptionInfo(this);
}
/// <summary>Field number for the "option_result_info" field.</summary>
public const int OptionResultInfoFieldNumber = 12;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionResultInfo> _repeated_optionResultInfo_codec
= pb::FieldCodec.ForMessage(98, global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionResultInfo.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionResultInfo> optionResultInfo_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionResultInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionResultInfo> OptionResultInfo {
get { return optionResultInfo_; }
}
/// <summary>Field number for the "display_value" field.</summary>
public const int DisplayValueFieldNumber = 11;
private global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionDisplayInfo displayValue_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionDisplayInfo DisplayValue {
get { return displayValue_; }
set {
displayValue_ = value;
}
}
/// <summary>Field number for the "arg_id" field.</summary>
public const int ArgIdFieldNumber = 1;
private uint argId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ArgId {
get { return argId_; }
set {
argId_ = value;
}
}
/// <summary>Field number for the "option_id" field.</summary>
public const int OptionIdFieldNumber = 6;
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 "is_valid" field.</summary>
public const int IsValidFieldNumber = 5;
private bool isValid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsValid {
get { return isValid_; }
set {
isValid_ = value;
}
}
/// <summary>Field number for the "confirm" field.</summary>
public const int ConfirmFieldNumber = 7;
private bool confirm_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Confirm {
get { return confirm_; }
set {
confirm_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RogueCommonDialogueOptionInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RogueCommonDialogueOptionInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!optionResultInfo_.Equals(other.optionResultInfo_)) return false;
if (!object.Equals(DisplayValue, other.DisplayValue)) return false;
if (ArgId != other.ArgId) return false;
if (OptionId != other.OptionId) return false;
if (IsValid != other.IsValid) return false;
if (Confirm != other.Confirm) 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 ^= optionResultInfo_.GetHashCode();
if (displayValue_ != null) hash ^= DisplayValue.GetHashCode();
if (ArgId != 0) hash ^= ArgId.GetHashCode();
if (OptionId != 0) hash ^= OptionId.GetHashCode();
if (IsValid != false) hash ^= IsValid.GetHashCode();
if (Confirm != false) hash ^= Confirm.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 (ArgId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(ArgId);
}
if (IsValid != false) {
output.WriteRawTag(40);
output.WriteBool(IsValid);
}
if (OptionId != 0) {
output.WriteRawTag(48);
output.WriteUInt32(OptionId);
}
if (Confirm != false) {
output.WriteRawTag(56);
output.WriteBool(Confirm);
}
if (displayValue_ != null) {
output.WriteRawTag(90);
output.WriteMessage(DisplayValue);
}
optionResultInfo_.WriteTo(output, _repeated_optionResultInfo_codec);
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 (ArgId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(ArgId);
}
if (IsValid != false) {
output.WriteRawTag(40);
output.WriteBool(IsValid);
}
if (OptionId != 0) {
output.WriteRawTag(48);
output.WriteUInt32(OptionId);
}
if (Confirm != false) {
output.WriteRawTag(56);
output.WriteBool(Confirm);
}
if (displayValue_ != null) {
output.WriteRawTag(90);
output.WriteMessage(DisplayValue);
}
optionResultInfo_.WriteTo(ref output, _repeated_optionResultInfo_codec);
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 += optionResultInfo_.CalculateSize(_repeated_optionResultInfo_codec);
if (displayValue_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DisplayValue);
}
if (ArgId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ArgId);
}
if (OptionId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OptionId);
}
if (IsValid != false) {
size += 1 + 1;
}
if (Confirm != 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(RogueCommonDialogueOptionInfo other) {
if (other == null) {
return;
}
optionResultInfo_.Add(other.optionResultInfo_);
if (other.displayValue_ != null) {
if (displayValue_ == null) {
DisplayValue = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionDisplayInfo();
}
DisplayValue.MergeFrom(other.DisplayValue);
}
if (other.ArgId != 0) {
ArgId = other.ArgId;
}
if (other.OptionId != 0) {
OptionId = other.OptionId;
}
if (other.IsValid != false) {
IsValid = other.IsValid;
}
if (other.Confirm != false) {
Confirm = other.Confirm;
}
_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 8: {
ArgId = input.ReadUInt32();
break;
}
case 40: {
IsValid = input.ReadBool();
break;
}
case 48: {
OptionId = input.ReadUInt32();
break;
}
case 56: {
Confirm = input.ReadBool();
break;
}
case 90: {
if (displayValue_ == null) {
DisplayValue = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionDisplayInfo();
}
input.ReadMessage(DisplayValue);
break;
}
case 98: {
optionResultInfo_.AddEntriesFrom(input, _repeated_optionResultInfo_codec);
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 8: {
ArgId = input.ReadUInt32();
break;
}
case 40: {
IsValid = input.ReadBool();
break;
}
case 48: {
OptionId = input.ReadUInt32();
break;
}
case 56: {
Confirm = input.ReadBool();
break;
}
case 90: {
if (displayValue_ == null) {
DisplayValue = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionDisplayInfo();
}
input.ReadMessage(DisplayValue);
break;
}
case 98: {
optionResultInfo_.AddEntriesFrom(ref input, _repeated_optionResultInfo_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code