Files
DanhengServer-OpenSource/Proto/RogueCommonDialogueOptionResultInfo.cs
2024-12-07 17:06:07 +08:00

336 lines
14 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RogueCommonDialogueOptionResultInfo.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 RogueCommonDialogueOptionResultInfo.proto</summary>
public static partial class RogueCommonDialogueOptionResultInfoReflection {
#region Descriptor
/// <summary>File descriptor for RogueCommonDialogueOptionResultInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RogueCommonDialogueOptionResultInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CilSb2d1ZUNvbW1vbkRpYWxvZ3VlT3B0aW9uUmVzdWx0SW5mby5wcm90bxoR",
"R0lIRkdHTUNIS0EucHJvdG8aL1JvZ3VlQ29tbW9uRGlhbG9ndWVPcHRpb25C",
"YXR0bGVSZXN1bHRJbmZvLnByb3RvIqoBCiNSb2d1ZUNvbW1vbkRpYWxvZ3Vl",
"T3B0aW9uUmVzdWx0SW5mbxJIChJiYXR0bGVfcmVzdWx0X2luZm8YByABKAsy",
"Ki5Sb2d1ZUNvbW1vbkRpYWxvZ3VlT3B0aW9uQmF0dGxlUmVzdWx0SW5mb0gA",
"EiMKC0pEQkZPQ01KTUpEGAkgASgLMgwuR0lIRkdHTUNIS0FIAEIUChJvcHRp",
"b25fcmVzdWx0X2luZm9CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90",
"b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GIHFGGMCHKAReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionBattleResultInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionResultInfo), global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionResultInfo.Parser, new[]{ "BattleResultInfo", "JDBFOCMJMJD" }, new[]{ "OptionResultInfo" }, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RogueCommonDialogueOptionResultInfo : pb::IMessage<RogueCommonDialogueOptionResultInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RogueCommonDialogueOptionResultInfo> _parser = new pb::MessageParser<RogueCommonDialogueOptionResultInfo>(() => new RogueCommonDialogueOptionResultInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RogueCommonDialogueOptionResultInfo> 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.RogueCommonDialogueOptionResultInfoReflection.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 RogueCommonDialogueOptionResultInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueCommonDialogueOptionResultInfo(RogueCommonDialogueOptionResultInfo other) : this() {
switch (other.OptionResultInfoCase) {
case OptionResultInfoOneofCase.BattleResultInfo:
BattleResultInfo = other.BattleResultInfo.Clone();
break;
case OptionResultInfoOneofCase.JDBFOCMJMJD:
JDBFOCMJMJD = other.JDBFOCMJMJD.Clone();
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueCommonDialogueOptionResultInfo Clone() {
return new RogueCommonDialogueOptionResultInfo(this);
}
/// <summary>Field number for the "battle_result_info" field.</summary>
public const int BattleResultInfoFieldNumber = 7;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionBattleResultInfo BattleResultInfo {
get { return optionResultInfoCase_ == OptionResultInfoOneofCase.BattleResultInfo ? (global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionBattleResultInfo) optionResultInfo_ : null; }
set {
optionResultInfo_ = value;
optionResultInfoCase_ = value == null ? OptionResultInfoOneofCase.None : OptionResultInfoOneofCase.BattleResultInfo;
}
}
/// <summary>Field number for the "JDBFOCMJMJD" field.</summary>
public const int JDBFOCMJMJDFieldNumber = 9;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.GIHFGGMCHKA JDBFOCMJMJD {
get { return optionResultInfoCase_ == OptionResultInfoOneofCase.JDBFOCMJMJD ? (global::EggLink.DanhengServer.Proto.GIHFGGMCHKA) optionResultInfo_ : null; }
set {
optionResultInfo_ = value;
optionResultInfoCase_ = value == null ? OptionResultInfoOneofCase.None : OptionResultInfoOneofCase.JDBFOCMJMJD;
}
}
private object optionResultInfo_;
/// <summary>Enum of possible cases for the "option_result_info" oneof.</summary>
public enum OptionResultInfoOneofCase {
None = 0,
BattleResultInfo = 7,
JDBFOCMJMJD = 9,
}
private OptionResultInfoOneofCase optionResultInfoCase_ = OptionResultInfoOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public OptionResultInfoOneofCase OptionResultInfoCase {
get { return optionResultInfoCase_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearOptionResultInfo() {
optionResultInfoCase_ = OptionResultInfoOneofCase.None;
optionResultInfo_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RogueCommonDialogueOptionResultInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RogueCommonDialogueOptionResultInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(BattleResultInfo, other.BattleResultInfo)) return false;
if (!object.Equals(JDBFOCMJMJD, other.JDBFOCMJMJD)) return false;
if (OptionResultInfoCase != other.OptionResultInfoCase) 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 (optionResultInfoCase_ == OptionResultInfoOneofCase.BattleResultInfo) hash ^= BattleResultInfo.GetHashCode();
if (optionResultInfoCase_ == OptionResultInfoOneofCase.JDBFOCMJMJD) hash ^= JDBFOCMJMJD.GetHashCode();
hash ^= (int) optionResultInfoCase_;
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 (optionResultInfoCase_ == OptionResultInfoOneofCase.BattleResultInfo) {
output.WriteRawTag(58);
output.WriteMessage(BattleResultInfo);
}
if (optionResultInfoCase_ == OptionResultInfoOneofCase.JDBFOCMJMJD) {
output.WriteRawTag(74);
output.WriteMessage(JDBFOCMJMJD);
}
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 (optionResultInfoCase_ == OptionResultInfoOneofCase.BattleResultInfo) {
output.WriteRawTag(58);
output.WriteMessage(BattleResultInfo);
}
if (optionResultInfoCase_ == OptionResultInfoOneofCase.JDBFOCMJMJD) {
output.WriteRawTag(74);
output.WriteMessage(JDBFOCMJMJD);
}
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 (optionResultInfoCase_ == OptionResultInfoOneofCase.BattleResultInfo) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BattleResultInfo);
}
if (optionResultInfoCase_ == OptionResultInfoOneofCase.JDBFOCMJMJD) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(JDBFOCMJMJD);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RogueCommonDialogueOptionResultInfo other) {
if (other == null) {
return;
}
switch (other.OptionResultInfoCase) {
case OptionResultInfoOneofCase.BattleResultInfo:
if (BattleResultInfo == null) {
BattleResultInfo = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionBattleResultInfo();
}
BattleResultInfo.MergeFrom(other.BattleResultInfo);
break;
case OptionResultInfoOneofCase.JDBFOCMJMJD:
if (JDBFOCMJMJD == null) {
JDBFOCMJMJD = new global::EggLink.DanhengServer.Proto.GIHFGGMCHKA();
}
JDBFOCMJMJD.MergeFrom(other.JDBFOCMJMJD);
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 58: {
global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionBattleResultInfo subBuilder = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionBattleResultInfo();
if (optionResultInfoCase_ == OptionResultInfoOneofCase.BattleResultInfo) {
subBuilder.MergeFrom(BattleResultInfo);
}
input.ReadMessage(subBuilder);
BattleResultInfo = subBuilder;
break;
}
case 74: {
global::EggLink.DanhengServer.Proto.GIHFGGMCHKA subBuilder = new global::EggLink.DanhengServer.Proto.GIHFGGMCHKA();
if (optionResultInfoCase_ == OptionResultInfoOneofCase.JDBFOCMJMJD) {
subBuilder.MergeFrom(JDBFOCMJMJD);
}
input.ReadMessage(subBuilder);
JDBFOCMJMJD = 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 58: {
global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionBattleResultInfo subBuilder = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionBattleResultInfo();
if (optionResultInfoCase_ == OptionResultInfoOneofCase.BattleResultInfo) {
subBuilder.MergeFrom(BattleResultInfo);
}
input.ReadMessage(subBuilder);
BattleResultInfo = subBuilder;
break;
}
case 74: {
global::EggLink.DanhengServer.Proto.GIHFGGMCHKA subBuilder = new global::EggLink.DanhengServer.Proto.GIHFGGMCHKA();
if (optionResultInfoCase_ == OptionResultInfoOneofCase.JDBFOCMJMJD) {
subBuilder.MergeFrom(JDBFOCMJMJD);
}
input.ReadMessage(subBuilder);
JDBFOCMJMJD = subBuilder;
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code