mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
387 lines
14 KiB
C#
387 lines
14 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: HeartDialScriptInfo.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 HeartDialScriptInfo.proto</summary>
|
|
public static partial class HeartDialScriptInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for HeartDialScriptInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static HeartDialScriptInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChlIZWFydERpYWxTY3JpcHRJbmZvLnByb3RvGhdIZWFydERpYWxTdGVwVHlw",
|
|
"ZS5wcm90bxoaSGVhcnREaWFsRW1vdGlvblR5cGUucHJvdG8ipQEKE0hlYXJ0",
|
|
"RGlhbFNjcmlwdEluZm8SEwoLQkpPTk5LUENIQ00YAyABKAgSEQoJc2NyaXB0",
|
|
"X2lkGA4gASgNEiAKBHN0ZXAYBCABKA4yEi5IZWFydERpYWxTdGVwVHlwZRIT",
|
|
"CgtKREJMTEtDQURBThgKIAEoCBIvChBjdXJfZW1vdGlvbl90eXBlGAcgASgO",
|
|
"MhUuSGVhcnREaWFsRW1vdGlvblR5cGVCHqoCG0VnZ0xpbmsuRGFuaGVuZ1Nl",
|
|
"cnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.HeartDialStepTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.HeartDialEmotionTypeReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.HeartDialScriptInfo), global::EggLink.DanhengServer.Proto.HeartDialScriptInfo.Parser, new[]{ "BJONNKPCHCM", "ScriptId", "Step", "JDBLLKCADAN", "CurEmotionType" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class HeartDialScriptInfo : pb::IMessage<HeartDialScriptInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<HeartDialScriptInfo> _parser = new pb::MessageParser<HeartDialScriptInfo>(() => new HeartDialScriptInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<HeartDialScriptInfo> 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.HeartDialScriptInfoReflection.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 HeartDialScriptInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public HeartDialScriptInfo(HeartDialScriptInfo other) : this() {
|
|
bJONNKPCHCM_ = other.bJONNKPCHCM_;
|
|
scriptId_ = other.scriptId_;
|
|
step_ = other.step_;
|
|
jDBLLKCADAN_ = other.jDBLLKCADAN_;
|
|
curEmotionType_ = other.curEmotionType_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public HeartDialScriptInfo Clone() {
|
|
return new HeartDialScriptInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "BJONNKPCHCM" field.</summary>
|
|
public const int BJONNKPCHCMFieldNumber = 3;
|
|
private bool bJONNKPCHCM_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool BJONNKPCHCM {
|
|
get { return bJONNKPCHCM_; }
|
|
set {
|
|
bJONNKPCHCM_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "script_id" field.</summary>
|
|
public const int ScriptIdFieldNumber = 14;
|
|
private uint scriptId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ScriptId {
|
|
get { return scriptId_; }
|
|
set {
|
|
scriptId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "step" field.</summary>
|
|
public const int StepFieldNumber = 4;
|
|
private global::EggLink.DanhengServer.Proto.HeartDialStepType step_ = global::EggLink.DanhengServer.Proto.HeartDialStepType.Missing;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.HeartDialStepType Step {
|
|
get { return step_; }
|
|
set {
|
|
step_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "JDBLLKCADAN" field.</summary>
|
|
public const int JDBLLKCADANFieldNumber = 10;
|
|
private bool jDBLLKCADAN_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool JDBLLKCADAN {
|
|
get { return jDBLLKCADAN_; }
|
|
set {
|
|
jDBLLKCADAN_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "cur_emotion_type" field.</summary>
|
|
public const int CurEmotionTypeFieldNumber = 7;
|
|
private global::EggLink.DanhengServer.Proto.HeartDialEmotionType curEmotionType_ = global::EggLink.DanhengServer.Proto.HeartDialEmotionType.Peace;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.HeartDialEmotionType CurEmotionType {
|
|
get { return curEmotionType_; }
|
|
set {
|
|
curEmotionType_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as HeartDialScriptInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(HeartDialScriptInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (BJONNKPCHCM != other.BJONNKPCHCM) return false;
|
|
if (ScriptId != other.ScriptId) return false;
|
|
if (Step != other.Step) return false;
|
|
if (JDBLLKCADAN != other.JDBLLKCADAN) return false;
|
|
if (CurEmotionType != other.CurEmotionType) 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 (BJONNKPCHCM != false) hash ^= BJONNKPCHCM.GetHashCode();
|
|
if (ScriptId != 0) hash ^= ScriptId.GetHashCode();
|
|
if (Step != global::EggLink.DanhengServer.Proto.HeartDialStepType.Missing) hash ^= Step.GetHashCode();
|
|
if (JDBLLKCADAN != false) hash ^= JDBLLKCADAN.GetHashCode();
|
|
if (CurEmotionType != global::EggLink.DanhengServer.Proto.HeartDialEmotionType.Peace) hash ^= CurEmotionType.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 (BJONNKPCHCM != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(BJONNKPCHCM);
|
|
}
|
|
if (Step != global::EggLink.DanhengServer.Proto.HeartDialStepType.Missing) {
|
|
output.WriteRawTag(32);
|
|
output.WriteEnum((int) Step);
|
|
}
|
|
if (CurEmotionType != global::EggLink.DanhengServer.Proto.HeartDialEmotionType.Peace) {
|
|
output.WriteRawTag(56);
|
|
output.WriteEnum((int) CurEmotionType);
|
|
}
|
|
if (JDBLLKCADAN != false) {
|
|
output.WriteRawTag(80);
|
|
output.WriteBool(JDBLLKCADAN);
|
|
}
|
|
if (ScriptId != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(ScriptId);
|
|
}
|
|
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 (BJONNKPCHCM != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(BJONNKPCHCM);
|
|
}
|
|
if (Step != global::EggLink.DanhengServer.Proto.HeartDialStepType.Missing) {
|
|
output.WriteRawTag(32);
|
|
output.WriteEnum((int) Step);
|
|
}
|
|
if (CurEmotionType != global::EggLink.DanhengServer.Proto.HeartDialEmotionType.Peace) {
|
|
output.WriteRawTag(56);
|
|
output.WriteEnum((int) CurEmotionType);
|
|
}
|
|
if (JDBLLKCADAN != false) {
|
|
output.WriteRawTag(80);
|
|
output.WriteBool(JDBLLKCADAN);
|
|
}
|
|
if (ScriptId != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(ScriptId);
|
|
}
|
|
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 (BJONNKPCHCM != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (ScriptId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ScriptId);
|
|
}
|
|
if (Step != global::EggLink.DanhengServer.Proto.HeartDialStepType.Missing) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Step);
|
|
}
|
|
if (JDBLLKCADAN != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (CurEmotionType != global::EggLink.DanhengServer.Proto.HeartDialEmotionType.Peace) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CurEmotionType);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(HeartDialScriptInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.BJONNKPCHCM != false) {
|
|
BJONNKPCHCM = other.BJONNKPCHCM;
|
|
}
|
|
if (other.ScriptId != 0) {
|
|
ScriptId = other.ScriptId;
|
|
}
|
|
if (other.Step != global::EggLink.DanhengServer.Proto.HeartDialStepType.Missing) {
|
|
Step = other.Step;
|
|
}
|
|
if (other.JDBLLKCADAN != false) {
|
|
JDBLLKCADAN = other.JDBLLKCADAN;
|
|
}
|
|
if (other.CurEmotionType != global::EggLink.DanhengServer.Proto.HeartDialEmotionType.Peace) {
|
|
CurEmotionType = other.CurEmotionType;
|
|
}
|
|
_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 24: {
|
|
BJONNKPCHCM = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
Step = (global::EggLink.DanhengServer.Proto.HeartDialStepType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 56: {
|
|
CurEmotionType = (global::EggLink.DanhengServer.Proto.HeartDialEmotionType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 80: {
|
|
JDBLLKCADAN = input.ReadBool();
|
|
break;
|
|
}
|
|
case 112: {
|
|
ScriptId = input.ReadUInt32();
|
|
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 24: {
|
|
BJONNKPCHCM = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
Step = (global::EggLink.DanhengServer.Proto.HeartDialStepType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 56: {
|
|
CurEmotionType = (global::EggLink.DanhengServer.Proto.HeartDialEmotionType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 80: {
|
|
JDBLLKCADAN = input.ReadBool();
|
|
break;
|
|
}
|
|
case 112: {
|
|
ScriptId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|