Files
DanhengServer-OpenSource/Proto/PunkLordMonsterBasicInfo.cs
2024-10-27 13:23:57 +08:00

536 lines
18 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: PunkLordMonsterBasicInfo.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 PunkLordMonsterBasicInfo.proto</summary>
public static partial class PunkLordMonsterBasicInfoReflection {
#region Descriptor
/// <summary>File descriptor for PunkLordMonsterBasicInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static PunkLordMonsterBasicInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch5QdW5rTG9yZE1vbnN0ZXJCYXNpY0luZm8ucHJvdG8aF1B1bmtMb3JkU2hh",
"cmVUeXBlLnByb3RvItwBChhQdW5rTG9yZE1vbnN0ZXJCYXNpY0luZm8SCwoD",
"dWlkGAEgASgNEhIKCm1vbnN0ZXJfaWQYAiABKA0SEQoJY29uZmlnX2lkGAMg",
"ASgNEhMKC3dvcmxkX2xldmVsGAQgASgNEhMKC2NyZWF0ZV90aW1lGAUgASgD",
"Eg8KB2xlZnRfaHAYBiABKA0SFAoMYXR0YWNrZXJfbnVtGAcgASgNEiYKCnNo",
"YXJlX3R5cGUYCCABKA4yEi5QdW5rTG9yZFNoYXJlVHlwZRITCgtIR0FJQkVD",
"RkNQTBgJIAEoCEIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZw",
"cm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PunkLordShareTypeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfo), global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfo.Parser, new[]{ "Uid", "MonsterId", "ConfigId", "WorldLevel", "CreateTime", "LeftHp", "AttackerNum", "ShareType", "HGAIBECFCPL" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PunkLordMonsterBasicInfo : pb::IMessage<PunkLordMonsterBasicInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<PunkLordMonsterBasicInfo> _parser = new pb::MessageParser<PunkLordMonsterBasicInfo>(() => new PunkLordMonsterBasicInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<PunkLordMonsterBasicInfo> 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.PunkLordMonsterBasicInfoReflection.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 PunkLordMonsterBasicInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PunkLordMonsterBasicInfo(PunkLordMonsterBasicInfo other) : this() {
uid_ = other.uid_;
monsterId_ = other.monsterId_;
configId_ = other.configId_;
worldLevel_ = other.worldLevel_;
createTime_ = other.createTime_;
leftHp_ = other.leftHp_;
attackerNum_ = other.attackerNum_;
shareType_ = other.shareType_;
hGAIBECFCPL_ = other.hGAIBECFCPL_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PunkLordMonsterBasicInfo Clone() {
return new PunkLordMonsterBasicInfo(this);
}
/// <summary>Field number for the "uid" field.</summary>
public const int UidFieldNumber = 1;
private uint uid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Uid {
get { return uid_; }
set {
uid_ = value;
}
}
/// <summary>Field number for the "monster_id" field.</summary>
public const int MonsterIdFieldNumber = 2;
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 "config_id" field.</summary>
public const int ConfigIdFieldNumber = 3;
private uint configId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ConfigId {
get { return configId_; }
set {
configId_ = value;
}
}
/// <summary>Field number for the "world_level" field.</summary>
public const int WorldLevelFieldNumber = 4;
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 "create_time" field.</summary>
public const int CreateTimeFieldNumber = 5;
private long createTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long CreateTime {
get { return createTime_; }
set {
createTime_ = value;
}
}
/// <summary>Field number for the "left_hp" field.</summary>
public const int LeftHpFieldNumber = 6;
private uint leftHp_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint LeftHp {
get { return leftHp_; }
set {
leftHp_ = value;
}
}
/// <summary>Field number for the "attacker_num" field.</summary>
public const int AttackerNumFieldNumber = 7;
private uint attackerNum_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint AttackerNum {
get { return attackerNum_; }
set {
attackerNum_ = value;
}
}
/// <summary>Field number for the "share_type" field.</summary>
public const int ShareTypeFieldNumber = 8;
private global::EggLink.DanhengServer.Proto.PunkLordShareType shareType_ = global::EggLink.DanhengServer.Proto.PunkLordShareType.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.PunkLordShareType ShareType {
get { return shareType_; }
set {
shareType_ = value;
}
}
/// <summary>Field number for the "HGAIBECFCPL" field.</summary>
public const int HGAIBECFCPLFieldNumber = 9;
private bool hGAIBECFCPL_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HGAIBECFCPL {
get { return hGAIBECFCPL_; }
set {
hGAIBECFCPL_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PunkLordMonsterBasicInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PunkLordMonsterBasicInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Uid != other.Uid) return false;
if (MonsterId != other.MonsterId) return false;
if (ConfigId != other.ConfigId) return false;
if (WorldLevel != other.WorldLevel) return false;
if (CreateTime != other.CreateTime) return false;
if (LeftHp != other.LeftHp) return false;
if (AttackerNum != other.AttackerNum) return false;
if (ShareType != other.ShareType) return false;
if (HGAIBECFCPL != other.HGAIBECFCPL) 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 (Uid != 0) hash ^= Uid.GetHashCode();
if (MonsterId != 0) hash ^= MonsterId.GetHashCode();
if (ConfigId != 0) hash ^= ConfigId.GetHashCode();
if (WorldLevel != 0) hash ^= WorldLevel.GetHashCode();
if (CreateTime != 0L) hash ^= CreateTime.GetHashCode();
if (LeftHp != 0) hash ^= LeftHp.GetHashCode();
if (AttackerNum != 0) hash ^= AttackerNum.GetHashCode();
if (ShareType != global::EggLink.DanhengServer.Proto.PunkLordShareType.None) hash ^= ShareType.GetHashCode();
if (HGAIBECFCPL != false) hash ^= HGAIBECFCPL.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 (Uid != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Uid);
}
if (MonsterId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(MonsterId);
}
if (ConfigId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(ConfigId);
}
if (WorldLevel != 0) {
output.WriteRawTag(32);
output.WriteUInt32(WorldLevel);
}
if (CreateTime != 0L) {
output.WriteRawTag(40);
output.WriteInt64(CreateTime);
}
if (LeftHp != 0) {
output.WriteRawTag(48);
output.WriteUInt32(LeftHp);
}
if (AttackerNum != 0) {
output.WriteRawTag(56);
output.WriteUInt32(AttackerNum);
}
if (ShareType != global::EggLink.DanhengServer.Proto.PunkLordShareType.None) {
output.WriteRawTag(64);
output.WriteEnum((int) ShareType);
}
if (HGAIBECFCPL != false) {
output.WriteRawTag(72);
output.WriteBool(HGAIBECFCPL);
}
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 (Uid != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Uid);
}
if (MonsterId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(MonsterId);
}
if (ConfigId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(ConfigId);
}
if (WorldLevel != 0) {
output.WriteRawTag(32);
output.WriteUInt32(WorldLevel);
}
if (CreateTime != 0L) {
output.WriteRawTag(40);
output.WriteInt64(CreateTime);
}
if (LeftHp != 0) {
output.WriteRawTag(48);
output.WriteUInt32(LeftHp);
}
if (AttackerNum != 0) {
output.WriteRawTag(56);
output.WriteUInt32(AttackerNum);
}
if (ShareType != global::EggLink.DanhengServer.Proto.PunkLordShareType.None) {
output.WriteRawTag(64);
output.WriteEnum((int) ShareType);
}
if (HGAIBECFCPL != false) {
output.WriteRawTag(72);
output.WriteBool(HGAIBECFCPL);
}
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 (Uid != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Uid);
}
if (MonsterId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MonsterId);
}
if (ConfigId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ConfigId);
}
if (WorldLevel != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WorldLevel);
}
if (CreateTime != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(CreateTime);
}
if (LeftHp != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LeftHp);
}
if (AttackerNum != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AttackerNum);
}
if (ShareType != global::EggLink.DanhengServer.Proto.PunkLordShareType.None) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ShareType);
}
if (HGAIBECFCPL != false) {
size += 1 + 1;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PunkLordMonsterBasicInfo other) {
if (other == null) {
return;
}
if (other.Uid != 0) {
Uid = other.Uid;
}
if (other.MonsterId != 0) {
MonsterId = other.MonsterId;
}
if (other.ConfigId != 0) {
ConfigId = other.ConfigId;
}
if (other.WorldLevel != 0) {
WorldLevel = other.WorldLevel;
}
if (other.CreateTime != 0L) {
CreateTime = other.CreateTime;
}
if (other.LeftHp != 0) {
LeftHp = other.LeftHp;
}
if (other.AttackerNum != 0) {
AttackerNum = other.AttackerNum;
}
if (other.ShareType != global::EggLink.DanhengServer.Proto.PunkLordShareType.None) {
ShareType = other.ShareType;
}
if (other.HGAIBECFCPL != false) {
HGAIBECFCPL = other.HGAIBECFCPL;
}
_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: {
Uid = input.ReadUInt32();
break;
}
case 16: {
MonsterId = input.ReadUInt32();
break;
}
case 24: {
ConfigId = input.ReadUInt32();
break;
}
case 32: {
WorldLevel = input.ReadUInt32();
break;
}
case 40: {
CreateTime = input.ReadInt64();
break;
}
case 48: {
LeftHp = input.ReadUInt32();
break;
}
case 56: {
AttackerNum = input.ReadUInt32();
break;
}
case 64: {
ShareType = (global::EggLink.DanhengServer.Proto.PunkLordShareType) input.ReadEnum();
break;
}
case 72: {
HGAIBECFCPL = input.ReadBool();
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: {
Uid = input.ReadUInt32();
break;
}
case 16: {
MonsterId = input.ReadUInt32();
break;
}
case 24: {
ConfigId = input.ReadUInt32();
break;
}
case 32: {
WorldLevel = input.ReadUInt32();
break;
}
case 40: {
CreateTime = input.ReadInt64();
break;
}
case 48: {
LeftHp = input.ReadUInt32();
break;
}
case 56: {
AttackerNum = input.ReadUInt32();
break;
}
case 64: {
ShareType = (global::EggLink.DanhengServer.Proto.PunkLordShareType) input.ReadEnum();
break;
}
case 72: {
HGAIBECFCPL = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code