mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
360 lines
14 KiB
C#
360 lines
14 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: PunkLordMonsterInfoScNotify.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 PunkLordMonsterInfoScNotify.proto</summary>
|
|
public static partial class PunkLordMonsterInfoScNotifyReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for PunkLordMonsterInfoScNotify.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static PunkLordMonsterInfoScNotifyReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CiFQdW5rTG9yZE1vbnN0ZXJJbmZvU2NOb3RpZnkucHJvdG8aHlB1bmtMb3Jk",
|
|
"TW9uc3RlckJhc2ljSW5mby5wcm90bxoRQUhLQU5LRVBBREoucHJvdG8aJVB1",
|
|
"bmtMb3JkTW9uc3RlckluZm9Ob3RpZnlSZWFzb24ucHJvdG8itgEKG1B1bmtM",
|
|
"b3JkTW9uc3RlckluZm9TY05vdGlmeRITCgtETUlMQ0ZITElIUBgLIAMoDRIh",
|
|
"CgtESExQS01JSEROTRgIIAEoCzIMLkFIS0FOS0VQQURKEi0KCmJhc2ljX2lu",
|
|
"Zm8YDCABKAsyGS5QdW5rTG9yZE1vbnN0ZXJCYXNpY0luZm8SMAoGcmVhc29u",
|
|
"GAQgASgOMiAuUHVua0xvcmRNb25zdGVySW5mb05vdGlmeVJlYXNvbkIeqgIb",
|
|
"RWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.AHKANKEPADJReflection.Descriptor, global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReasonReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoScNotify), global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoScNotify.Parser, new[]{ "DMILCFHLIHP", "DHLPKMIHDNM", "BasicInfo", "Reason" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class PunkLordMonsterInfoScNotify : pb::IMessage<PunkLordMonsterInfoScNotify>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<PunkLordMonsterInfoScNotify> _parser = new pb::MessageParser<PunkLordMonsterInfoScNotify>(() => new PunkLordMonsterInfoScNotify());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<PunkLordMonsterInfoScNotify> 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.PunkLordMonsterInfoScNotifyReflection.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 PunkLordMonsterInfoScNotify() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PunkLordMonsterInfoScNotify(PunkLordMonsterInfoScNotify other) : this() {
|
|
dMILCFHLIHP_ = other.dMILCFHLIHP_.Clone();
|
|
dHLPKMIHDNM_ = other.dHLPKMIHDNM_ != null ? other.dHLPKMIHDNM_.Clone() : null;
|
|
basicInfo_ = other.basicInfo_ != null ? other.basicInfo_.Clone() : null;
|
|
reason_ = other.reason_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PunkLordMonsterInfoScNotify Clone() {
|
|
return new PunkLordMonsterInfoScNotify(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "DMILCFHLIHP" field.</summary>
|
|
public const int DMILCFHLIHPFieldNumber = 11;
|
|
private static readonly pb::FieldCodec<uint> _repeated_dMILCFHLIHP_codec
|
|
= pb::FieldCodec.ForUInt32(90);
|
|
private readonly pbc::RepeatedField<uint> dMILCFHLIHP_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> DMILCFHLIHP {
|
|
get { return dMILCFHLIHP_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "DHLPKMIHDNM" field.</summary>
|
|
public const int DHLPKMIHDNMFieldNumber = 8;
|
|
private global::EggLink.DanhengServer.Proto.AHKANKEPADJ dHLPKMIHDNM_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.AHKANKEPADJ DHLPKMIHDNM {
|
|
get { return dHLPKMIHDNM_; }
|
|
set {
|
|
dHLPKMIHDNM_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "basic_info" field.</summary>
|
|
public const int BasicInfoFieldNumber = 12;
|
|
private global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfo basicInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfo BasicInfo {
|
|
get { return basicInfo_; }
|
|
set {
|
|
basicInfo_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "reason" field.</summary>
|
|
public const int ReasonFieldNumber = 4;
|
|
private global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason reason_ = global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason Reason {
|
|
get { return reason_; }
|
|
set {
|
|
reason_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as PunkLordMonsterInfoScNotify);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(PunkLordMonsterInfoScNotify other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!dMILCFHLIHP_.Equals(other.dMILCFHLIHP_)) return false;
|
|
if (!object.Equals(DHLPKMIHDNM, other.DHLPKMIHDNM)) return false;
|
|
if (!object.Equals(BasicInfo, other.BasicInfo)) return false;
|
|
if (Reason != other.Reason) 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;
|
|
hash ^= dMILCFHLIHP_.GetHashCode();
|
|
if (dHLPKMIHDNM_ != null) hash ^= DHLPKMIHDNM.GetHashCode();
|
|
if (basicInfo_ != null) hash ^= BasicInfo.GetHashCode();
|
|
if (Reason != global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason.None) hash ^= Reason.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 (Reason != global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason.None) {
|
|
output.WriteRawTag(32);
|
|
output.WriteEnum((int) Reason);
|
|
}
|
|
if (dHLPKMIHDNM_ != null) {
|
|
output.WriteRawTag(66);
|
|
output.WriteMessage(DHLPKMIHDNM);
|
|
}
|
|
dMILCFHLIHP_.WriteTo(output, _repeated_dMILCFHLIHP_codec);
|
|
if (basicInfo_ != null) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(BasicInfo);
|
|
}
|
|
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 (Reason != global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason.None) {
|
|
output.WriteRawTag(32);
|
|
output.WriteEnum((int) Reason);
|
|
}
|
|
if (dHLPKMIHDNM_ != null) {
|
|
output.WriteRawTag(66);
|
|
output.WriteMessage(DHLPKMIHDNM);
|
|
}
|
|
dMILCFHLIHP_.WriteTo(ref output, _repeated_dMILCFHLIHP_codec);
|
|
if (basicInfo_ != null) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(BasicInfo);
|
|
}
|
|
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;
|
|
size += dMILCFHLIHP_.CalculateSize(_repeated_dMILCFHLIHP_codec);
|
|
if (dHLPKMIHDNM_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DHLPKMIHDNM);
|
|
}
|
|
if (basicInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BasicInfo);
|
|
}
|
|
if (Reason != global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Reason);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(PunkLordMonsterInfoScNotify other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
dMILCFHLIHP_.Add(other.dMILCFHLIHP_);
|
|
if (other.dHLPKMIHDNM_ != null) {
|
|
if (dHLPKMIHDNM_ == null) {
|
|
DHLPKMIHDNM = new global::EggLink.DanhengServer.Proto.AHKANKEPADJ();
|
|
}
|
|
DHLPKMIHDNM.MergeFrom(other.DHLPKMIHDNM);
|
|
}
|
|
if (other.basicInfo_ != null) {
|
|
if (basicInfo_ == null) {
|
|
BasicInfo = new global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfo();
|
|
}
|
|
BasicInfo.MergeFrom(other.BasicInfo);
|
|
}
|
|
if (other.Reason != global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason.None) {
|
|
Reason = other.Reason;
|
|
}
|
|
_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 32: {
|
|
Reason = (global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 66: {
|
|
if (dHLPKMIHDNM_ == null) {
|
|
DHLPKMIHDNM = new global::EggLink.DanhengServer.Proto.AHKANKEPADJ();
|
|
}
|
|
input.ReadMessage(DHLPKMIHDNM);
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
dMILCFHLIHP_.AddEntriesFrom(input, _repeated_dMILCFHLIHP_codec);
|
|
break;
|
|
}
|
|
case 98: {
|
|
if (basicInfo_ == null) {
|
|
BasicInfo = new global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfo();
|
|
}
|
|
input.ReadMessage(BasicInfo);
|
|
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 32: {
|
|
Reason = (global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 66: {
|
|
if (dHLPKMIHDNM_ == null) {
|
|
DHLPKMIHDNM = new global::EggLink.DanhengServer.Proto.AHKANKEPADJ();
|
|
}
|
|
input.ReadMessage(DHLPKMIHDNM);
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
dMILCFHLIHP_.AddEntriesFrom(ref input, _repeated_dMILCFHLIHP_codec);
|
|
break;
|
|
}
|
|
case 98: {
|
|
if (basicInfo_ == null) {
|
|
BasicInfo = new global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfo();
|
|
}
|
|
input.ReadMessage(BasicInfo);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|