mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
312 lines
12 KiB
C#
312 lines
12 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: DialogueResultInfo.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 DialogueResultInfo.proto</summary>
|
|
public static partial class DialogueResultInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for DialogueResultInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static DialogueResultInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChhEaWFsb2d1ZVJlc3VsdEluZm8ucHJvdG8aGVJvZ3VlRGlhbG9ndWVSZXN1",
|
|
"bHQucHJvdG8aDkl0ZW1MaXN0LnByb3RvIoUBChJEaWFsb2d1ZVJlc3VsdElu",
|
|
"Zm8SEwoLQlBHTFBPTkVJQUwYDyADKA0SOgoccm9ndWVfZGlhbG9ndWVfcmVz",
|
|
"dWx0X3N0YXR1cxgCIAEoDjIULlJvZ3VlRGlhbG9ndWVSZXN1bHQSHgoLaXRl",
|
|
"bV9yZXN1bHQYBSABKAsyCS5JdGVtTGlzdEIeqgIbRWdnTGluay5EYW5oZW5n",
|
|
"U2VydmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueDialogueResultReflection.Descriptor, global::EggLink.DanhengServer.Proto.ItemListReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.DialogueResultInfo), global::EggLink.DanhengServer.Proto.DialogueResultInfo.Parser, new[]{ "BPGLPONEIAL", "RogueDialogueResultStatus", "ItemResult" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class DialogueResultInfo : pb::IMessage<DialogueResultInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<DialogueResultInfo> _parser = new pb::MessageParser<DialogueResultInfo>(() => new DialogueResultInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<DialogueResultInfo> 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.DialogueResultInfoReflection.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 DialogueResultInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DialogueResultInfo(DialogueResultInfo other) : this() {
|
|
bPGLPONEIAL_ = other.bPGLPONEIAL_.Clone();
|
|
rogueDialogueResultStatus_ = other.rogueDialogueResultStatus_;
|
|
itemResult_ = other.itemResult_ != null ? other.itemResult_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DialogueResultInfo Clone() {
|
|
return new DialogueResultInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "BPGLPONEIAL" field.</summary>
|
|
public const int BPGLPONEIALFieldNumber = 15;
|
|
private static readonly pb::FieldCodec<uint> _repeated_bPGLPONEIAL_codec
|
|
= pb::FieldCodec.ForUInt32(122);
|
|
private readonly pbc::RepeatedField<uint> bPGLPONEIAL_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> BPGLPONEIAL {
|
|
get { return bPGLPONEIAL_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "rogue_dialogue_result_status" field.</summary>
|
|
public const int RogueDialogueResultStatusFieldNumber = 2;
|
|
private global::EggLink.DanhengServer.Proto.RogueDialogueResult rogueDialogueResultStatus_ = global::EggLink.DanhengServer.Proto.RogueDialogueResult.Succ;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.RogueDialogueResult RogueDialogueResultStatus {
|
|
get { return rogueDialogueResultStatus_; }
|
|
set {
|
|
rogueDialogueResultStatus_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "item_result" field.</summary>
|
|
public const int ItemResultFieldNumber = 5;
|
|
private global::EggLink.DanhengServer.Proto.ItemList itemResult_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ItemList ItemResult {
|
|
get { return itemResult_; }
|
|
set {
|
|
itemResult_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as DialogueResultInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(DialogueResultInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!bPGLPONEIAL_.Equals(other.bPGLPONEIAL_)) return false;
|
|
if (RogueDialogueResultStatus != other.RogueDialogueResultStatus) return false;
|
|
if (!object.Equals(ItemResult, other.ItemResult)) 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 ^= bPGLPONEIAL_.GetHashCode();
|
|
if (RogueDialogueResultStatus != global::EggLink.DanhengServer.Proto.RogueDialogueResult.Succ) hash ^= RogueDialogueResultStatus.GetHashCode();
|
|
if (itemResult_ != null) hash ^= ItemResult.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 (RogueDialogueResultStatus != global::EggLink.DanhengServer.Proto.RogueDialogueResult.Succ) {
|
|
output.WriteRawTag(16);
|
|
output.WriteEnum((int) RogueDialogueResultStatus);
|
|
}
|
|
if (itemResult_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(ItemResult);
|
|
}
|
|
bPGLPONEIAL_.WriteTo(output, _repeated_bPGLPONEIAL_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 (RogueDialogueResultStatus != global::EggLink.DanhengServer.Proto.RogueDialogueResult.Succ) {
|
|
output.WriteRawTag(16);
|
|
output.WriteEnum((int) RogueDialogueResultStatus);
|
|
}
|
|
if (itemResult_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(ItemResult);
|
|
}
|
|
bPGLPONEIAL_.WriteTo(ref output, _repeated_bPGLPONEIAL_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 += bPGLPONEIAL_.CalculateSize(_repeated_bPGLPONEIAL_codec);
|
|
if (RogueDialogueResultStatus != global::EggLink.DanhengServer.Proto.RogueDialogueResult.Succ) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RogueDialogueResultStatus);
|
|
}
|
|
if (itemResult_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ItemResult);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(DialogueResultInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
bPGLPONEIAL_.Add(other.bPGLPONEIAL_);
|
|
if (other.RogueDialogueResultStatus != global::EggLink.DanhengServer.Proto.RogueDialogueResult.Succ) {
|
|
RogueDialogueResultStatus = other.RogueDialogueResultStatus;
|
|
}
|
|
if (other.itemResult_ != null) {
|
|
if (itemResult_ == null) {
|
|
ItemResult = new global::EggLink.DanhengServer.Proto.ItemList();
|
|
}
|
|
ItemResult.MergeFrom(other.ItemResult);
|
|
}
|
|
_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: {
|
|
RogueDialogueResultStatus = (global::EggLink.DanhengServer.Proto.RogueDialogueResult) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (itemResult_ == null) {
|
|
ItemResult = new global::EggLink.DanhengServer.Proto.ItemList();
|
|
}
|
|
input.ReadMessage(ItemResult);
|
|
break;
|
|
}
|
|
case 122:
|
|
case 120: {
|
|
bPGLPONEIAL_.AddEntriesFrom(input, _repeated_bPGLPONEIAL_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 16: {
|
|
RogueDialogueResultStatus = (global::EggLink.DanhengServer.Proto.RogueDialogueResult) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (itemResult_ == null) {
|
|
ItemResult = new global::EggLink.DanhengServer.Proto.ItemList();
|
|
}
|
|
input.ReadMessage(ItemResult);
|
|
break;
|
|
}
|
|
case 122:
|
|
case 120: {
|
|
bPGLPONEIAL_.AddEntriesFrom(ref input, _repeated_bPGLPONEIAL_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|