Files
DanhengServer-OpenSource/Proto/SceneNpcMonsterInfo.cs
2025-04-15 16:44:46 +08:00

432 lines
15 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: SceneNpcMonsterInfo.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 SceneNpcMonsterInfo.proto</summary>
public static partial class SceneNpcMonsterInfoReflection {
#region Descriptor
/// <summary>File descriptor for SceneNpcMonsterInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static SceneNpcMonsterInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChlTY2VuZU5wY01vbnN0ZXJJbmZvLnByb3RvGhlOcGNNb25zdGVyRXh0cmFJ",
"bmZvLnByb3RvIqQBChNTY2VuZU5wY01vbnN0ZXJJbmZvEhMKC3dvcmxkX2xl",
"dmVsGAogASgNEhIKCm1vbnN0ZXJfaWQYBiABKA0SEwoLTVBGRURGQktLREYY",
"DSABKAgSKAoKZXh0cmFfaW5mbxgEIAEoCzIULk5wY01vbnN0ZXJFeHRyYUlu",
"Zm8SEwoLSURQSklETkxFSEgYByABKAgSEAoIZXZlbnRfaWQYDiABKA1CHqoC",
"G0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.NpcMonsterExtraInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SceneNpcMonsterInfo), global::EggLink.DanhengServer.Proto.SceneNpcMonsterInfo.Parser, new[]{ "WorldLevel", "MonsterId", "MPFEDFBKKDF", "ExtraInfo", "IDPJIDNLEHH", "EventId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SceneNpcMonsterInfo : pb::IMessage<SceneNpcMonsterInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SceneNpcMonsterInfo> _parser = new pb::MessageParser<SceneNpcMonsterInfo>(() => new SceneNpcMonsterInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SceneNpcMonsterInfo> 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.SceneNpcMonsterInfoReflection.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 SceneNpcMonsterInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SceneNpcMonsterInfo(SceneNpcMonsterInfo other) : this() {
worldLevel_ = other.worldLevel_;
monsterId_ = other.monsterId_;
mPFEDFBKKDF_ = other.mPFEDFBKKDF_;
extraInfo_ = other.extraInfo_ != null ? other.extraInfo_.Clone() : null;
iDPJIDNLEHH_ = other.iDPJIDNLEHH_;
eventId_ = other.eventId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SceneNpcMonsterInfo Clone() {
return new SceneNpcMonsterInfo(this);
}
/// <summary>Field number for the "world_level" field.</summary>
public const int WorldLevelFieldNumber = 10;
private uint worldLevel_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint WorldLevel {
get { return worldLevel_; }
set {
worldLevel_ = value;
}
}
/// <summary>Field number for the "monster_id" field.</summary>
public const int MonsterIdFieldNumber = 6;
private uint monsterId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint MonsterId {
get { return monsterId_; }
set {
monsterId_ = value;
}
}
/// <summary>Field number for the "MPFEDFBKKDF" field.</summary>
public const int MPFEDFBKKDFFieldNumber = 13;
private bool mPFEDFBKKDF_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool MPFEDFBKKDF {
get { return mPFEDFBKKDF_; }
set {
mPFEDFBKKDF_ = value;
}
}
/// <summary>Field number for the "extra_info" field.</summary>
public const int ExtraInfoFieldNumber = 4;
private global::EggLink.DanhengServer.Proto.NpcMonsterExtraInfo extraInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.NpcMonsterExtraInfo ExtraInfo {
get { return extraInfo_; }
set {
extraInfo_ = value;
}
}
/// <summary>Field number for the "IDPJIDNLEHH" field.</summary>
public const int IDPJIDNLEHHFieldNumber = 7;
private bool iDPJIDNLEHH_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IDPJIDNLEHH {
get { return iDPJIDNLEHH_; }
set {
iDPJIDNLEHH_ = value;
}
}
/// <summary>Field number for the "event_id" field.</summary>
public const int EventIdFieldNumber = 14;
private uint eventId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint EventId {
get { return eventId_; }
set {
eventId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SceneNpcMonsterInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SceneNpcMonsterInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (WorldLevel != other.WorldLevel) return false;
if (MonsterId != other.MonsterId) return false;
if (MPFEDFBKKDF != other.MPFEDFBKKDF) return false;
if (!object.Equals(ExtraInfo, other.ExtraInfo)) return false;
if (IDPJIDNLEHH != other.IDPJIDNLEHH) return false;
if (EventId != other.EventId) 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 (WorldLevel != 0) hash ^= WorldLevel.GetHashCode();
if (MonsterId != 0) hash ^= MonsterId.GetHashCode();
if (MPFEDFBKKDF != false) hash ^= MPFEDFBKKDF.GetHashCode();
if (extraInfo_ != null) hash ^= ExtraInfo.GetHashCode();
if (IDPJIDNLEHH != false) hash ^= IDPJIDNLEHH.GetHashCode();
if (EventId != 0) hash ^= EventId.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 (extraInfo_ != null) {
output.WriteRawTag(34);
output.WriteMessage(ExtraInfo);
}
if (MonsterId != 0) {
output.WriteRawTag(48);
output.WriteUInt32(MonsterId);
}
if (IDPJIDNLEHH != false) {
output.WriteRawTag(56);
output.WriteBool(IDPJIDNLEHH);
}
if (WorldLevel != 0) {
output.WriteRawTag(80);
output.WriteUInt32(WorldLevel);
}
if (MPFEDFBKKDF != false) {
output.WriteRawTag(104);
output.WriteBool(MPFEDFBKKDF);
}
if (EventId != 0) {
output.WriteRawTag(112);
output.WriteUInt32(EventId);
}
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 (extraInfo_ != null) {
output.WriteRawTag(34);
output.WriteMessage(ExtraInfo);
}
if (MonsterId != 0) {
output.WriteRawTag(48);
output.WriteUInt32(MonsterId);
}
if (IDPJIDNLEHH != false) {
output.WriteRawTag(56);
output.WriteBool(IDPJIDNLEHH);
}
if (WorldLevel != 0) {
output.WriteRawTag(80);
output.WriteUInt32(WorldLevel);
}
if (MPFEDFBKKDF != false) {
output.WriteRawTag(104);
output.WriteBool(MPFEDFBKKDF);
}
if (EventId != 0) {
output.WriteRawTag(112);
output.WriteUInt32(EventId);
}
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 (WorldLevel != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WorldLevel);
}
if (MonsterId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MonsterId);
}
if (MPFEDFBKKDF != false) {
size += 1 + 1;
}
if (extraInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExtraInfo);
}
if (IDPJIDNLEHH != false) {
size += 1 + 1;
}
if (EventId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EventId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SceneNpcMonsterInfo other) {
if (other == null) {
return;
}
if (other.WorldLevel != 0) {
WorldLevel = other.WorldLevel;
}
if (other.MonsterId != 0) {
MonsterId = other.MonsterId;
}
if (other.MPFEDFBKKDF != false) {
MPFEDFBKKDF = other.MPFEDFBKKDF;
}
if (other.extraInfo_ != null) {
if (extraInfo_ == null) {
ExtraInfo = new global::EggLink.DanhengServer.Proto.NpcMonsterExtraInfo();
}
ExtraInfo.MergeFrom(other.ExtraInfo);
}
if (other.IDPJIDNLEHH != false) {
IDPJIDNLEHH = other.IDPJIDNLEHH;
}
if (other.EventId != 0) {
EventId = other.EventId;
}
_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 34: {
if (extraInfo_ == null) {
ExtraInfo = new global::EggLink.DanhengServer.Proto.NpcMonsterExtraInfo();
}
input.ReadMessage(ExtraInfo);
break;
}
case 48: {
MonsterId = input.ReadUInt32();
break;
}
case 56: {
IDPJIDNLEHH = input.ReadBool();
break;
}
case 80: {
WorldLevel = input.ReadUInt32();
break;
}
case 104: {
MPFEDFBKKDF = input.ReadBool();
break;
}
case 112: {
EventId = 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 34: {
if (extraInfo_ == null) {
ExtraInfo = new global::EggLink.DanhengServer.Proto.NpcMonsterExtraInfo();
}
input.ReadMessage(ExtraInfo);
break;
}
case 48: {
MonsterId = input.ReadUInt32();
break;
}
case 56: {
IDPJIDNLEHH = input.ReadBool();
break;
}
case 80: {
WorldLevel = input.ReadUInt32();
break;
}
case 104: {
MPFEDFBKKDF = input.ReadBool();
break;
}
case 112: {
EventId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code