mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
370 lines
14 KiB
C#
370 lines
14 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: SyncRogueCommonDialogueOptionFinishScNotify.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 SyncRogueCommonDialogueOptionFinishScNotify.proto</summary>
|
|
public static partial class SyncRogueCommonDialogueOptionFinishScNotifyReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for SyncRogueCommonDialogueOptionFinishScNotify.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static SyncRogueCommonDialogueOptionFinishScNotifyReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CjFTeW5jUm9ndWVDb21tb25EaWFsb2d1ZU9wdGlvbkZpbmlzaFNjTm90aWZ5",
|
|
"LnByb3RvGiFSb2d1ZUNvbW1vbkRpYWxvZ3VlRGF0YUluZm8ucHJvdG8aI1Jv",
|
|
"Z3VlQ29tbW9uRGlhbG9ndWVPcHRpb25JbmZvLnByb3RvIsoBCitTeW5jUm9n",
|
|
"dWVDb21tb25EaWFsb2d1ZU9wdGlvbkZpbmlzaFNjTm90aWZ5EjMKDWRpYWxv",
|
|
"Z3VlX2RhdGEYBSABKAsyHC5Sb2d1ZUNvbW1vbkRpYWxvZ3VlRGF0YUluZm8S",
|
|
"OgoScmVzdWx0X29wdGlvbl9pbmZvGAcgASgLMh4uUm9ndWVDb21tb25EaWFs",
|
|
"b2d1ZU9wdGlvbkluZm8SEQoJb3B0aW9uX2lkGAEgASgNEhcKD2V2ZW50X3Vu",
|
|
"aXF1ZV9pZBgEIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3Rv",
|
|
"YgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SyncRogueCommonDialogueOptionFinishScNotify), global::EggLink.DanhengServer.Proto.SyncRogueCommonDialogueOptionFinishScNotify.Parser, new[]{ "DialogueData", "ResultOptionInfo", "OptionId", "EventUniqueId" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class SyncRogueCommonDialogueOptionFinishScNotify : pb::IMessage<SyncRogueCommonDialogueOptionFinishScNotify>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<SyncRogueCommonDialogueOptionFinishScNotify> _parser = new pb::MessageParser<SyncRogueCommonDialogueOptionFinishScNotify>(() => new SyncRogueCommonDialogueOptionFinishScNotify());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<SyncRogueCommonDialogueOptionFinishScNotify> 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.SyncRogueCommonDialogueOptionFinishScNotifyReflection.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 SyncRogueCommonDialogueOptionFinishScNotify() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public SyncRogueCommonDialogueOptionFinishScNotify(SyncRogueCommonDialogueOptionFinishScNotify other) : this() {
|
|
dialogueData_ = other.dialogueData_ != null ? other.dialogueData_.Clone() : null;
|
|
resultOptionInfo_ = other.resultOptionInfo_ != null ? other.resultOptionInfo_.Clone() : null;
|
|
optionId_ = other.optionId_;
|
|
eventUniqueId_ = other.eventUniqueId_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public SyncRogueCommonDialogueOptionFinishScNotify Clone() {
|
|
return new SyncRogueCommonDialogueOptionFinishScNotify(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "dialogue_data" field.</summary>
|
|
public const int DialogueDataFieldNumber = 5;
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "result_option_info" field.</summary>
|
|
public const int ResultOptionInfoFieldNumber = 7;
|
|
private global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfo resultOptionInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfo ResultOptionInfo {
|
|
get { return resultOptionInfo_; }
|
|
set {
|
|
resultOptionInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "option_id" field.</summary>
|
|
public const int OptionIdFieldNumber = 1;
|
|
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 "event_unique_id" field.</summary>
|
|
public const int EventUniqueIdFieldNumber = 4;
|
|
private uint eventUniqueId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint EventUniqueId {
|
|
get { return eventUniqueId_; }
|
|
set {
|
|
eventUniqueId_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as SyncRogueCommonDialogueOptionFinishScNotify);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(SyncRogueCommonDialogueOptionFinishScNotify other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(DialogueData, other.DialogueData)) return false;
|
|
if (!object.Equals(ResultOptionInfo, other.ResultOptionInfo)) return false;
|
|
if (OptionId != other.OptionId) return false;
|
|
if (EventUniqueId != other.EventUniqueId) 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 (dialogueData_ != null) hash ^= DialogueData.GetHashCode();
|
|
if (resultOptionInfo_ != null) hash ^= ResultOptionInfo.GetHashCode();
|
|
if (OptionId != 0) hash ^= OptionId.GetHashCode();
|
|
if (EventUniqueId != 0) hash ^= EventUniqueId.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(8);
|
|
output.WriteUInt32(OptionId);
|
|
}
|
|
if (EventUniqueId != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(EventUniqueId);
|
|
}
|
|
if (dialogueData_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(DialogueData);
|
|
}
|
|
if (resultOptionInfo_ != null) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(ResultOptionInfo);
|
|
}
|
|
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(8);
|
|
output.WriteUInt32(OptionId);
|
|
}
|
|
if (EventUniqueId != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(EventUniqueId);
|
|
}
|
|
if (dialogueData_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(DialogueData);
|
|
}
|
|
if (resultOptionInfo_ != null) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(ResultOptionInfo);
|
|
}
|
|
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 (dialogueData_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DialogueData);
|
|
}
|
|
if (resultOptionInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ResultOptionInfo);
|
|
}
|
|
if (OptionId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OptionId);
|
|
}
|
|
if (EventUniqueId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EventUniqueId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(SyncRogueCommonDialogueOptionFinishScNotify other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.dialogueData_ != null) {
|
|
if (dialogueData_ == null) {
|
|
DialogueData = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfo();
|
|
}
|
|
DialogueData.MergeFrom(other.DialogueData);
|
|
}
|
|
if (other.resultOptionInfo_ != null) {
|
|
if (resultOptionInfo_ == null) {
|
|
ResultOptionInfo = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfo();
|
|
}
|
|
ResultOptionInfo.MergeFrom(other.ResultOptionInfo);
|
|
}
|
|
if (other.OptionId != 0) {
|
|
OptionId = other.OptionId;
|
|
}
|
|
if (other.EventUniqueId != 0) {
|
|
EventUniqueId = other.EventUniqueId;
|
|
}
|
|
_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: {
|
|
OptionId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
EventUniqueId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (dialogueData_ == null) {
|
|
DialogueData = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfo();
|
|
}
|
|
input.ReadMessage(DialogueData);
|
|
break;
|
|
}
|
|
case 58: {
|
|
if (resultOptionInfo_ == null) {
|
|
ResultOptionInfo = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfo();
|
|
}
|
|
input.ReadMessage(ResultOptionInfo);
|
|
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: {
|
|
OptionId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
EventUniqueId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (dialogueData_ == null) {
|
|
DialogueData = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueDataInfo();
|
|
}
|
|
input.ReadMessage(DialogueData);
|
|
break;
|
|
}
|
|
case 58: {
|
|
if (resultOptionInfo_ == null) {
|
|
ResultOptionInfo = new global::EggLink.DanhengServer.Proto.RogueCommonDialogueOptionInfo();
|
|
}
|
|
input.ReadMessage(ResultOptionInfo);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|