mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
361 lines
14 KiB
C#
361 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(
|
|
"CiFQdW5rTG9yZE1vbnN0ZXJJbmZvU2NOb3RpZnkucHJvdG8aJVB1bmtMb3Jk",
|
|
"TW9uc3RlckluZm9Ob3RpZnlSZWFzb24ucHJvdG8aGlB1bmtMb3JkQmF0dGxl",
|
|
"UmVjb3JkLnByb3RvGh5QdW5rTG9yZE1vbnN0ZXJCYXNpY0luZm8ucHJvdG8i",
|
|
"vwEKG1B1bmtMb3JkTW9uc3RlckluZm9TY05vdGlmeRIwCgZyZWFzb24YDSAB",
|
|
"KA4yIC5QdW5rTG9yZE1vbnN0ZXJJbmZvTm90aWZ5UmVhc29uEioKC0hMTEVM",
|
|
"Q0dPQ05LGAggASgLMhUuUHVua0xvcmRCYXR0bGVSZWNvcmQSEwoLTkZDS0VB",
|
|
"T0lMRE0YCyADKA0SLQoKYmFzaWNfaW5mbxgJIAEoCzIZLlB1bmtMb3JkTW9u",
|
|
"c3RlckJhc2ljSW5mb0IeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3Rv",
|
|
"YgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReasonReflection.Descriptor, global::EggLink.DanhengServer.Proto.PunkLordBattleRecordReflection.Descriptor, global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfoReflection.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[]{ "Reason", "HLLELCGOCNK", "NFCKEAOILDM", "BasicInfo" }, 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() {
|
|
reason_ = other.reason_;
|
|
hLLELCGOCNK_ = other.hLLELCGOCNK_ != null ? other.hLLELCGOCNK_.Clone() : null;
|
|
nFCKEAOILDM_ = other.nFCKEAOILDM_.Clone();
|
|
basicInfo_ = other.basicInfo_ != null ? other.basicInfo_.Clone() : null;
|
|
_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 "reason" field.</summary>
|
|
public const int ReasonFieldNumber = 13;
|
|
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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "HLLELCGOCNK" field.</summary>
|
|
public const int HLLELCGOCNKFieldNumber = 8;
|
|
private global::EggLink.DanhengServer.Proto.PunkLordBattleRecord hLLELCGOCNK_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.PunkLordBattleRecord HLLELCGOCNK {
|
|
get { return hLLELCGOCNK_; }
|
|
set {
|
|
hLLELCGOCNK_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "NFCKEAOILDM" field.</summary>
|
|
public const int NFCKEAOILDMFieldNumber = 11;
|
|
private static readonly pb::FieldCodec<uint> _repeated_nFCKEAOILDM_codec
|
|
= pb::FieldCodec.ForUInt32(90);
|
|
private readonly pbc::RepeatedField<uint> nFCKEAOILDM_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> NFCKEAOILDM {
|
|
get { return nFCKEAOILDM_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "basic_info" field.</summary>
|
|
public const int BasicInfoFieldNumber = 9;
|
|
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;
|
|
}
|
|
}
|
|
|
|
[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 (Reason != other.Reason) return false;
|
|
if (!object.Equals(HLLELCGOCNK, other.HLLELCGOCNK)) return false;
|
|
if(!nFCKEAOILDM_.Equals(other.nFCKEAOILDM_)) return false;
|
|
if (!object.Equals(BasicInfo, other.BasicInfo)) 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 (Reason != global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason.None) hash ^= Reason.GetHashCode();
|
|
if (hLLELCGOCNK_ != null) hash ^= HLLELCGOCNK.GetHashCode();
|
|
hash ^= nFCKEAOILDM_.GetHashCode();
|
|
if (basicInfo_ != null) hash ^= BasicInfo.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 (hLLELCGOCNK_ != null) {
|
|
output.WriteRawTag(66);
|
|
output.WriteMessage(HLLELCGOCNK);
|
|
}
|
|
if (basicInfo_ != null) {
|
|
output.WriteRawTag(74);
|
|
output.WriteMessage(BasicInfo);
|
|
}
|
|
nFCKEAOILDM_.WriteTo(output, _repeated_nFCKEAOILDM_codec);
|
|
if (Reason != global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason.None) {
|
|
output.WriteRawTag(104);
|
|
output.WriteEnum((int) Reason);
|
|
}
|
|
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 (hLLELCGOCNK_ != null) {
|
|
output.WriteRawTag(66);
|
|
output.WriteMessage(HLLELCGOCNK);
|
|
}
|
|
if (basicInfo_ != null) {
|
|
output.WriteRawTag(74);
|
|
output.WriteMessage(BasicInfo);
|
|
}
|
|
nFCKEAOILDM_.WriteTo(ref output, _repeated_nFCKEAOILDM_codec);
|
|
if (Reason != global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason.None) {
|
|
output.WriteRawTag(104);
|
|
output.WriteEnum((int) Reason);
|
|
}
|
|
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 (Reason != global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Reason);
|
|
}
|
|
if (hLLELCGOCNK_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(HLLELCGOCNK);
|
|
}
|
|
size += nFCKEAOILDM_.CalculateSize(_repeated_nFCKEAOILDM_codec);
|
|
if (basicInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BasicInfo);
|
|
}
|
|
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;
|
|
}
|
|
if (other.Reason != global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason.None) {
|
|
Reason = other.Reason;
|
|
}
|
|
if (other.hLLELCGOCNK_ != null) {
|
|
if (hLLELCGOCNK_ == null) {
|
|
HLLELCGOCNK = new global::EggLink.DanhengServer.Proto.PunkLordBattleRecord();
|
|
}
|
|
HLLELCGOCNK.MergeFrom(other.HLLELCGOCNK);
|
|
}
|
|
nFCKEAOILDM_.Add(other.nFCKEAOILDM_);
|
|
if (other.basicInfo_ != null) {
|
|
if (basicInfo_ == null) {
|
|
BasicInfo = new global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfo();
|
|
}
|
|
BasicInfo.MergeFrom(other.BasicInfo);
|
|
}
|
|
_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 66: {
|
|
if (hLLELCGOCNK_ == null) {
|
|
HLLELCGOCNK = new global::EggLink.DanhengServer.Proto.PunkLordBattleRecord();
|
|
}
|
|
input.ReadMessage(HLLELCGOCNK);
|
|
break;
|
|
}
|
|
case 74: {
|
|
if (basicInfo_ == null) {
|
|
BasicInfo = new global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfo();
|
|
}
|
|
input.ReadMessage(BasicInfo);
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
nFCKEAOILDM_.AddEntriesFrom(input, _repeated_nFCKEAOILDM_codec);
|
|
break;
|
|
}
|
|
case 104: {
|
|
Reason = (global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason) input.ReadEnum();
|
|
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 66: {
|
|
if (hLLELCGOCNK_ == null) {
|
|
HLLELCGOCNK = new global::EggLink.DanhengServer.Proto.PunkLordBattleRecord();
|
|
}
|
|
input.ReadMessage(HLLELCGOCNK);
|
|
break;
|
|
}
|
|
case 74: {
|
|
if (basicInfo_ == null) {
|
|
BasicInfo = new global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfo();
|
|
}
|
|
input.ReadMessage(BasicInfo);
|
|
break;
|
|
}
|
|
case 90:
|
|
case 88: {
|
|
nFCKEAOILDM_.AddEntriesFrom(ref input, _repeated_nFCKEAOILDM_codec);
|
|
break;
|
|
}
|
|
case 104: {
|
|
Reason = (global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason) input.ReadEnum();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|