mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
404 lines
15 KiB
C#
404 lines
15 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: DialogueEvent.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 DialogueEvent.proto</summary>
|
|
public static partial class DialogueEventReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for DialogueEvent.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static DialogueEventReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChNEaWFsb2d1ZUV2ZW50LnByb3RvGh1Sb2d1ZURpYWxvZ3VlRXZlbnRQYXJh",
|
|
"bS5wcm90byLEAQoNRGlhbG9ndWVFdmVudBIQCghldmVudF9pZBgKIAEoDRIW",
|
|
"Cg5nYW1lX21vZGVfdHlwZRgCIAEoDRITCgtNQk5CSUVKSUJGShgNIAEoDRIX",
|
|
"Cg9ldmVudF91bmlxdWVfaWQYASABKA0SHgoWZGlhbG9ndWVfZXZlbnRfaWRf",
|
|
"bGlzdBgPIAMoDRI7ChlkaWFsb2d1ZV9ldmVudF9wYXJhbV9saXN0GAwgAygL",
|
|
"MhguUm9ndWVEaWFsb2d1ZUV2ZW50UGFyYW1CHqoCG0VnZ0xpbmsuRGFuaGVu",
|
|
"Z1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RogueDialogueEventParamReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.DialogueEvent), global::EggLink.DanhengServer.Proto.DialogueEvent.Parser, new[]{ "EventId", "GameModeType", "MBNBIEJIBFJ", "EventUniqueId", "DialogueEventIdList", "DialogueEventParamList" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class DialogueEvent : pb::IMessage<DialogueEvent>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<DialogueEvent> _parser = new pb::MessageParser<DialogueEvent>(() => new DialogueEvent());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<DialogueEvent> 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.DialogueEventReflection.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 DialogueEvent() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DialogueEvent(DialogueEvent other) : this() {
|
|
eventId_ = other.eventId_;
|
|
gameModeType_ = other.gameModeType_;
|
|
mBNBIEJIBFJ_ = other.mBNBIEJIBFJ_;
|
|
eventUniqueId_ = other.eventUniqueId_;
|
|
dialogueEventIdList_ = other.dialogueEventIdList_.Clone();
|
|
dialogueEventParamList_ = other.dialogueEventParamList_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DialogueEvent Clone() {
|
|
return new DialogueEvent(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "event_id" field.</summary>
|
|
public const int EventIdFieldNumber = 10;
|
|
private uint eventId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint EventId {
|
|
get { return eventId_; }
|
|
set {
|
|
eventId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "game_mode_type" field.</summary>
|
|
public const int GameModeTypeFieldNumber = 2;
|
|
private uint gameModeType_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint GameModeType {
|
|
get { return gameModeType_; }
|
|
set {
|
|
gameModeType_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "MBNBIEJIBFJ" field.</summary>
|
|
public const int MBNBIEJIBFJFieldNumber = 13;
|
|
private uint mBNBIEJIBFJ_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MBNBIEJIBFJ {
|
|
get { return mBNBIEJIBFJ_; }
|
|
set {
|
|
mBNBIEJIBFJ_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "event_unique_id" field.</summary>
|
|
public const int EventUniqueIdFieldNumber = 1;
|
|
private uint eventUniqueId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint EventUniqueId {
|
|
get { return eventUniqueId_; }
|
|
set {
|
|
eventUniqueId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "dialogue_event_id_list" field.</summary>
|
|
public const int DialogueEventIdListFieldNumber = 15;
|
|
private static readonly pb::FieldCodec<uint> _repeated_dialogueEventIdList_codec
|
|
= pb::FieldCodec.ForUInt32(122);
|
|
private readonly pbc::RepeatedField<uint> dialogueEventIdList_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> DialogueEventIdList {
|
|
get { return dialogueEventIdList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "dialogue_event_param_list" field.</summary>
|
|
public const int DialogueEventParamListFieldNumber = 12;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RogueDialogueEventParam> _repeated_dialogueEventParamList_codec
|
|
= pb::FieldCodec.ForMessage(98, global::EggLink.DanhengServer.Proto.RogueDialogueEventParam.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueDialogueEventParam> dialogueEventParamList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueDialogueEventParam>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RogueDialogueEventParam> DialogueEventParamList {
|
|
get { return dialogueEventParamList_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as DialogueEvent);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(DialogueEvent other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (EventId != other.EventId) return false;
|
|
if (GameModeType != other.GameModeType) return false;
|
|
if (MBNBIEJIBFJ != other.MBNBIEJIBFJ) return false;
|
|
if (EventUniqueId != other.EventUniqueId) return false;
|
|
if(!dialogueEventIdList_.Equals(other.dialogueEventIdList_)) return false;
|
|
if(!dialogueEventParamList_.Equals(other.dialogueEventParamList_)) 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 (EventId != 0) hash ^= EventId.GetHashCode();
|
|
if (GameModeType != 0) hash ^= GameModeType.GetHashCode();
|
|
if (MBNBIEJIBFJ != 0) hash ^= MBNBIEJIBFJ.GetHashCode();
|
|
if (EventUniqueId != 0) hash ^= EventUniqueId.GetHashCode();
|
|
hash ^= dialogueEventIdList_.GetHashCode();
|
|
hash ^= dialogueEventParamList_.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 (EventUniqueId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(EventUniqueId);
|
|
}
|
|
if (GameModeType != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(GameModeType);
|
|
}
|
|
if (EventId != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(EventId);
|
|
}
|
|
dialogueEventParamList_.WriteTo(output, _repeated_dialogueEventParamList_codec);
|
|
if (MBNBIEJIBFJ != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(MBNBIEJIBFJ);
|
|
}
|
|
dialogueEventIdList_.WriteTo(output, _repeated_dialogueEventIdList_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 (EventUniqueId != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(EventUniqueId);
|
|
}
|
|
if (GameModeType != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(GameModeType);
|
|
}
|
|
if (EventId != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(EventId);
|
|
}
|
|
dialogueEventParamList_.WriteTo(ref output, _repeated_dialogueEventParamList_codec);
|
|
if (MBNBIEJIBFJ != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(MBNBIEJIBFJ);
|
|
}
|
|
dialogueEventIdList_.WriteTo(ref output, _repeated_dialogueEventIdList_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;
|
|
if (EventId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EventId);
|
|
}
|
|
if (GameModeType != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GameModeType);
|
|
}
|
|
if (MBNBIEJIBFJ != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MBNBIEJIBFJ);
|
|
}
|
|
if (EventUniqueId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EventUniqueId);
|
|
}
|
|
size += dialogueEventIdList_.CalculateSize(_repeated_dialogueEventIdList_codec);
|
|
size += dialogueEventParamList_.CalculateSize(_repeated_dialogueEventParamList_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(DialogueEvent other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.EventId != 0) {
|
|
EventId = other.EventId;
|
|
}
|
|
if (other.GameModeType != 0) {
|
|
GameModeType = other.GameModeType;
|
|
}
|
|
if (other.MBNBIEJIBFJ != 0) {
|
|
MBNBIEJIBFJ = other.MBNBIEJIBFJ;
|
|
}
|
|
if (other.EventUniqueId != 0) {
|
|
EventUniqueId = other.EventUniqueId;
|
|
}
|
|
dialogueEventIdList_.Add(other.dialogueEventIdList_);
|
|
dialogueEventParamList_.Add(other.dialogueEventParamList_);
|
|
_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: {
|
|
EventUniqueId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
GameModeType = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
EventId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 98: {
|
|
dialogueEventParamList_.AddEntriesFrom(input, _repeated_dialogueEventParamList_codec);
|
|
break;
|
|
}
|
|
case 104: {
|
|
MBNBIEJIBFJ = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 122:
|
|
case 120: {
|
|
dialogueEventIdList_.AddEntriesFrom(input, _repeated_dialogueEventIdList_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: {
|
|
EventUniqueId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
GameModeType = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
EventId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 98: {
|
|
dialogueEventParamList_.AddEntriesFrom(ref input, _repeated_dialogueEventParamList_codec);
|
|
break;
|
|
}
|
|
case 104: {
|
|
MBNBIEJIBFJ = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 122:
|
|
case 120: {
|
|
dialogueEventIdList_.AddEntriesFrom(ref input, _repeated_dialogueEventIdList_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|