mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26: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(
|
|
"CiFQdW5rTG9yZE1vbnN0ZXJJbmZvU2NOb3RpZnkucHJvdG8aGlB1bmtMb3Jk",
|
|
"QmF0dGxlUmVjb3JkLnByb3RvGiVQdW5rTG9yZE1vbnN0ZXJJbmZvTm90aWZ5",
|
|
"UmVhc29uLnByb3RvGh5QdW5rTG9yZE1vbnN0ZXJCYXNpY0luZm8ucHJvdG8i",
|
|
"vwEKG1B1bmtMb3JkTW9uc3RlckluZm9TY05vdGlmeRItCgpiYXNpY19pbmZv",
|
|
"GAMgASgLMhkuUHVua0xvcmRNb25zdGVyQmFzaWNJbmZvEjAKBnJlYXNvbhgO",
|
|
"IAEoDjIgLlB1bmtMb3JkTW9uc3RlckluZm9Ob3RpZnlSZWFzb24SKgoLR05J",
|
|
"QkJHRlBQS0YYDyABKAsyFS5QdW5rTG9yZEJhdHRsZVJlY29yZBITCgtHSE9G",
|
|
"Q1BJTEhOQhgCIAMoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3Rv",
|
|
"YgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PunkLordBattleRecordReflection.Descriptor, global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReasonReflection.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[]{ "BasicInfo", "Reason", "GNIBBGFPPKF", "GHOFCPILHNB" }, 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() {
|
|
basicInfo_ = other.basicInfo_ != null ? other.basicInfo_.Clone() : null;
|
|
reason_ = other.reason_;
|
|
gNIBBGFPPKF_ = other.gNIBBGFPPKF_ != null ? other.gNIBBGFPPKF_.Clone() : null;
|
|
gHOFCPILHNB_ = other.gHOFCPILHNB_.Clone();
|
|
_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 "basic_info" field.</summary>
|
|
public const int BasicInfoFieldNumber = 3;
|
|
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 = 14;
|
|
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 "GNIBBGFPPKF" field.</summary>
|
|
public const int GNIBBGFPPKFFieldNumber = 15;
|
|
private global::EggLink.DanhengServer.Proto.PunkLordBattleRecord gNIBBGFPPKF_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.PunkLordBattleRecord GNIBBGFPPKF {
|
|
get { return gNIBBGFPPKF_; }
|
|
set {
|
|
gNIBBGFPPKF_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "GHOFCPILHNB" field.</summary>
|
|
public const int GHOFCPILHNBFieldNumber = 2;
|
|
private static readonly pb::FieldCodec<uint> _repeated_gHOFCPILHNB_codec
|
|
= pb::FieldCodec.ForUInt32(18);
|
|
private readonly pbc::RepeatedField<uint> gHOFCPILHNB_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> GHOFCPILHNB {
|
|
get { return gHOFCPILHNB_; }
|
|
}
|
|
|
|
[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 (!object.Equals(BasicInfo, other.BasicInfo)) return false;
|
|
if (Reason != other.Reason) return false;
|
|
if (!object.Equals(GNIBBGFPPKF, other.GNIBBGFPPKF)) return false;
|
|
if(!gHOFCPILHNB_.Equals(other.gHOFCPILHNB_)) 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 (basicInfo_ != null) hash ^= BasicInfo.GetHashCode();
|
|
if (Reason != global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason.None) hash ^= Reason.GetHashCode();
|
|
if (gNIBBGFPPKF_ != null) hash ^= GNIBBGFPPKF.GetHashCode();
|
|
hash ^= gHOFCPILHNB_.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
|
|
gHOFCPILHNB_.WriteTo(output, _repeated_gHOFCPILHNB_codec);
|
|
if (basicInfo_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(BasicInfo);
|
|
}
|
|
if (Reason != global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason.None) {
|
|
output.WriteRawTag(112);
|
|
output.WriteEnum((int) Reason);
|
|
}
|
|
if (gNIBBGFPPKF_ != null) {
|
|
output.WriteRawTag(122);
|
|
output.WriteMessage(GNIBBGFPPKF);
|
|
}
|
|
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) {
|
|
gHOFCPILHNB_.WriteTo(ref output, _repeated_gHOFCPILHNB_codec);
|
|
if (basicInfo_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(BasicInfo);
|
|
}
|
|
if (Reason != global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason.None) {
|
|
output.WriteRawTag(112);
|
|
output.WriteEnum((int) Reason);
|
|
}
|
|
if (gNIBBGFPPKF_ != null) {
|
|
output.WriteRawTag(122);
|
|
output.WriteMessage(GNIBBGFPPKF);
|
|
}
|
|
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 (basicInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BasicInfo);
|
|
}
|
|
if (Reason != global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason.None) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Reason);
|
|
}
|
|
if (gNIBBGFPPKF_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GNIBBGFPPKF);
|
|
}
|
|
size += gHOFCPILHNB_.CalculateSize(_repeated_gHOFCPILHNB_codec);
|
|
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.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;
|
|
}
|
|
if (other.gNIBBGFPPKF_ != null) {
|
|
if (gNIBBGFPPKF_ == null) {
|
|
GNIBBGFPPKF = new global::EggLink.DanhengServer.Proto.PunkLordBattleRecord();
|
|
}
|
|
GNIBBGFPPKF.MergeFrom(other.GNIBBGFPPKF);
|
|
}
|
|
gHOFCPILHNB_.Add(other.gHOFCPILHNB_);
|
|
_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 18:
|
|
case 16: {
|
|
gHOFCPILHNB_.AddEntriesFrom(input, _repeated_gHOFCPILHNB_codec);
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (basicInfo_ == null) {
|
|
BasicInfo = new global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfo();
|
|
}
|
|
input.ReadMessage(BasicInfo);
|
|
break;
|
|
}
|
|
case 112: {
|
|
Reason = (global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 122: {
|
|
if (gNIBBGFPPKF_ == null) {
|
|
GNIBBGFPPKF = new global::EggLink.DanhengServer.Proto.PunkLordBattleRecord();
|
|
}
|
|
input.ReadMessage(GNIBBGFPPKF);
|
|
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 18:
|
|
case 16: {
|
|
gHOFCPILHNB_.AddEntriesFrom(ref input, _repeated_gHOFCPILHNB_codec);
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (basicInfo_ == null) {
|
|
BasicInfo = new global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfo();
|
|
}
|
|
input.ReadMessage(BasicInfo);
|
|
break;
|
|
}
|
|
case 112: {
|
|
Reason = (global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 122: {
|
|
if (gNIBBGFPPKF_ == null) {
|
|
GNIBBGFPPKF = new global::EggLink.DanhengServer.Proto.PunkLordBattleRecord();
|
|
}
|
|
input.ReadMessage(GNIBBGFPPKF);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|