mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
336 lines
14 KiB
C#
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",
|
|
"TkVCUEdIRERFUEMucHJvdG8aL1JvZ3VlQ29tbW9uRGlhbG9ndWVPcHRpb25C",
|
|
"YXR0bGVSZXN1bHRJbmZvLnByb3RvIqMBCiNSb2d1ZUNvbW1vbkRpYWxvZ3Vl",
|
|
"T3B0aW9uUmVzdWx0SW5mbxJIChJiYXR0bGVfcmVzdWx0X2luZm8YAiABKAsy",
|
|
"Ki5Sb2d1ZUNvbW1vbkRpYWxvZ3VlT3B0aW9uQmF0dGxlUmVzdWx0SW5mb0gA",
|
|
"EiMKC0hNTENFSElLRkZLGAwgASgLMgwuTkVCUEdIRERFUENIAEINCgtDTU1K",
|
|
"SUdOT0NMTUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90",
|
|
"bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.NEBPGHDDEPCReflection.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", "HMLCEHIKFFK" }, new[]{ "CMMJIGNOCLM" }, 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.CMMJIGNOCLMCase) {
|
|
case CMMJIGNOCLMOneofCase.BattleResultInfo:
|
|
BattleResultInfo = other.BattleResultInfo.Clone();
|
|
break;
|
|
case CMMJIGNOCLMOneofCase.HMLCEHIKFFK:
|
|
HMLCEHIKFFK = other.HMLCEHIKFFK.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 = 2;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionBattleResultInfo BattleResultInfo {
|
|
get { return cMMJIGNOCLMCase_ == CMMJIGNOCLMOneofCase.BattleResultInfo ? (global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionBattleResultInfo) cMMJIGNOCLM_ : null; }
|
|
set {
|
|
cMMJIGNOCLM_ = value;
|
|
cMMJIGNOCLMCase_ = value == null ? CMMJIGNOCLMOneofCase.None : CMMJIGNOCLMOneofCase.BattleResultInfo;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "HMLCEHIKFFK" field.</summary>
|
|
public const int HMLCEHIKFFKFieldNumber = 12;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.NEBPGHDDEPC HMLCEHIKFFK {
|
|
get { return cMMJIGNOCLMCase_ == CMMJIGNOCLMOneofCase.HMLCEHIKFFK ? (global::EggLink.DanhengServer.Proto.NEBPGHDDEPC) cMMJIGNOCLM_ : null; }
|
|
set {
|
|
cMMJIGNOCLM_ = value;
|
|
cMMJIGNOCLMCase_ = value == null ? CMMJIGNOCLMOneofCase.None : CMMJIGNOCLMOneofCase.HMLCEHIKFFK;
|
|
}
|
|
}
|
|
|
|
private object cMMJIGNOCLM_;
|
|
/// <summary>Enum of possible cases for the "CMMJIGNOCLM" oneof.</summary>
|
|
public enum CMMJIGNOCLMOneofCase {
|
|
None = 0,
|
|
BattleResultInfo = 2,
|
|
HMLCEHIKFFK = 12,
|
|
}
|
|
private CMMJIGNOCLMOneofCase cMMJIGNOCLMCase_ = CMMJIGNOCLMOneofCase.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public CMMJIGNOCLMOneofCase CMMJIGNOCLMCase {
|
|
get { return cMMJIGNOCLMCase_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void ClearCMMJIGNOCLM() {
|
|
cMMJIGNOCLMCase_ = CMMJIGNOCLMOneofCase.None;
|
|
cMMJIGNOCLM_ = 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(HMLCEHIKFFK, other.HMLCEHIKFFK)) return false;
|
|
if (CMMJIGNOCLMCase != other.CMMJIGNOCLMCase) 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 (cMMJIGNOCLMCase_ == CMMJIGNOCLMOneofCase.BattleResultInfo) hash ^= BattleResultInfo.GetHashCode();
|
|
if (cMMJIGNOCLMCase_ == CMMJIGNOCLMOneofCase.HMLCEHIKFFK) hash ^= HMLCEHIKFFK.GetHashCode();
|
|
hash ^= (int) cMMJIGNOCLMCase_;
|
|
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 (cMMJIGNOCLMCase_ == CMMJIGNOCLMOneofCase.BattleResultInfo) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(BattleResultInfo);
|
|
}
|
|
if (cMMJIGNOCLMCase_ == CMMJIGNOCLMOneofCase.HMLCEHIKFFK) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(HMLCEHIKFFK);
|
|
}
|
|
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 (cMMJIGNOCLMCase_ == CMMJIGNOCLMOneofCase.BattleResultInfo) {
|
|
output.WriteRawTag(18);
|
|
output.WriteMessage(BattleResultInfo);
|
|
}
|
|
if (cMMJIGNOCLMCase_ == CMMJIGNOCLMOneofCase.HMLCEHIKFFK) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(HMLCEHIKFFK);
|
|
}
|
|
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 (cMMJIGNOCLMCase_ == CMMJIGNOCLMOneofCase.BattleResultInfo) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BattleResultInfo);
|
|
}
|
|
if (cMMJIGNOCLMCase_ == CMMJIGNOCLMOneofCase.HMLCEHIKFFK) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(HMLCEHIKFFK);
|
|
}
|
|
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.CMMJIGNOCLMCase) {
|
|
case CMMJIGNOCLMOneofCase.BattleResultInfo:
|
|
if (BattleResultInfo == null) {
|
|
BattleResultInfo = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionBattleResultInfo();
|
|
}
|
|
BattleResultInfo.MergeFrom(other.BattleResultInfo);
|
|
break;
|
|
case CMMJIGNOCLMOneofCase.HMLCEHIKFFK:
|
|
if (HMLCEHIKFFK == null) {
|
|
HMLCEHIKFFK = new global::EggLink.DanhengServer.Proto.NEBPGHDDEPC();
|
|
}
|
|
HMLCEHIKFFK.MergeFrom(other.HMLCEHIKFFK);
|
|
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 18: {
|
|
global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionBattleResultInfo subBuilder = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionBattleResultInfo();
|
|
if (cMMJIGNOCLMCase_ == CMMJIGNOCLMOneofCase.BattleResultInfo) {
|
|
subBuilder.MergeFrom(BattleResultInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
BattleResultInfo = subBuilder;
|
|
break;
|
|
}
|
|
case 98: {
|
|
global::EggLink.DanhengServer.Proto.NEBPGHDDEPC subBuilder = new global::EggLink.DanhengServer.Proto.NEBPGHDDEPC();
|
|
if (cMMJIGNOCLMCase_ == CMMJIGNOCLMOneofCase.HMLCEHIKFFK) {
|
|
subBuilder.MergeFrom(HMLCEHIKFFK);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
HMLCEHIKFFK = 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 18: {
|
|
global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionBattleResultInfo subBuilder = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionBattleResultInfo();
|
|
if (cMMJIGNOCLMCase_ == CMMJIGNOCLMOneofCase.BattleResultInfo) {
|
|
subBuilder.MergeFrom(BattleResultInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
BattleResultInfo = subBuilder;
|
|
break;
|
|
}
|
|
case 98: {
|
|
global::EggLink.DanhengServer.Proto.NEBPGHDDEPC subBuilder = new global::EggLink.DanhengServer.Proto.NEBPGHDDEPC();
|
|
if (cMMJIGNOCLMCase_ == CMMJIGNOCLMOneofCase.HMLCEHIKFFK) {
|
|
subBuilder.MergeFrom(HMLCEHIKFFK);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
HMLCEHIKFFK = subBuilder;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|