Files
DanhengServer-OpenSource/Common/Proto/PunkLordMonsterInfoScNotify.cs

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(
"CiFQdW5rTG9yZE1vbnN0ZXJJbmZvU2NOb3RpZnkucHJvdG8aHlB1bmtMb3Jk",
"TW9uc3RlckJhc2ljSW5mby5wcm90bxoaUHVua0xvcmRCYXR0bGVSZWNvcmQu",
"cHJvdG8aJVB1bmtMb3JkTW9uc3RlckluZm9Ob3RpZnlSZWFzb24ucHJvdG8i",
"vwEKG1B1bmtMb3JkTW9uc3RlckluZm9TY05vdGlmeRIqCgtHRENCRE1LQktF",
"UBgGIAEoCzIVLlB1bmtMb3JkQmF0dGxlUmVjb3JkEi0KCmJhc2ljX2luZm8Y",
"CCABKAsyGS5QdW5rTG9yZE1vbnN0ZXJCYXNpY0luZm8SMAoGcmVhc29uGAQg",
"ASgOMiAuUHVua0xvcmRNb25zdGVySW5mb05vdGlmeVJlYXNvbhITCgtMTURB",
"REZFQkVPQhgHIAMoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3Rv",
"YgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.PunkLordBattleRecordReflection.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[]{ "GDCBDMKBKEP", "BasicInfo", "Reason", "LMDADFEBEOB" }, 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() {
gDCBDMKBKEP_ = other.gDCBDMKBKEP_ != null ? other.gDCBDMKBKEP_.Clone() : null;
basicInfo_ = other.basicInfo_ != null ? other.basicInfo_.Clone() : null;
reason_ = other.reason_;
lMDADFEBEOB_ = other.lMDADFEBEOB_.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 "GDCBDMKBKEP" field.</summary>
public const int GDCBDMKBKEPFieldNumber = 6;
private global::EggLink.DanhengServer.Proto.PunkLordBattleRecord gDCBDMKBKEP_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.PunkLordBattleRecord GDCBDMKBKEP {
get { return gDCBDMKBKEP_; }
set {
gDCBDMKBKEP_ = value;
}
}
/// <summary>Field number for the "basic_info" field.</summary>
public const int BasicInfoFieldNumber = 8;
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;
}
}
/// <summary>Field number for the "LMDADFEBEOB" field.</summary>
public const int LMDADFEBEOBFieldNumber = 7;
private static readonly pb::FieldCodec<uint> _repeated_lMDADFEBEOB_codec
= pb::FieldCodec.ForUInt32(58);
private readonly pbc::RepeatedField<uint> lMDADFEBEOB_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> LMDADFEBEOB {
get { return lMDADFEBEOB_; }
}
[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(GDCBDMKBKEP, other.GDCBDMKBKEP)) return false;
if (!object.Equals(BasicInfo, other.BasicInfo)) return false;
if (Reason != other.Reason) return false;
if(!lMDADFEBEOB_.Equals(other.lMDADFEBEOB_)) 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 (gDCBDMKBKEP_ != null) hash ^= GDCBDMKBKEP.GetHashCode();
if (basicInfo_ != null) hash ^= BasicInfo.GetHashCode();
if (Reason != global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason.None) hash ^= Reason.GetHashCode();
hash ^= lMDADFEBEOB_.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 (gDCBDMKBKEP_ != null) {
output.WriteRawTag(50);
output.WriteMessage(GDCBDMKBKEP);
}
lMDADFEBEOB_.WriteTo(output, _repeated_lMDADFEBEOB_codec);
if (basicInfo_ != null) {
output.WriteRawTag(66);
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 (gDCBDMKBKEP_ != null) {
output.WriteRawTag(50);
output.WriteMessage(GDCBDMKBKEP);
}
lMDADFEBEOB_.WriteTo(ref output, _repeated_lMDADFEBEOB_codec);
if (basicInfo_ != null) {
output.WriteRawTag(66);
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;
if (gDCBDMKBKEP_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GDCBDMKBKEP);
}
if (basicInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BasicInfo);
}
if (Reason != global::EggLink.DanhengServer.Proto.PunkLordMonsterInfoNotifyReason.None) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Reason);
}
size += lMDADFEBEOB_.CalculateSize(_repeated_lMDADFEBEOB_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.gDCBDMKBKEP_ != null) {
if (gDCBDMKBKEP_ == null) {
GDCBDMKBKEP = new global::EggLink.DanhengServer.Proto.PunkLordBattleRecord();
}
GDCBDMKBKEP.MergeFrom(other.GDCBDMKBKEP);
}
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;
}
lMDADFEBEOB_.Add(other.lMDADFEBEOB_);
_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 50: {
if (gDCBDMKBKEP_ == null) {
GDCBDMKBKEP = new global::EggLink.DanhengServer.Proto.PunkLordBattleRecord();
}
input.ReadMessage(GDCBDMKBKEP);
break;
}
case 58:
case 56: {
lMDADFEBEOB_.AddEntriesFrom(input, _repeated_lMDADFEBEOB_codec);
break;
}
case 66: {
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 50: {
if (gDCBDMKBKEP_ == null) {
GDCBDMKBKEP = new global::EggLink.DanhengServer.Proto.PunkLordBattleRecord();
}
input.ReadMessage(GDCBDMKBKEP);
break;
}
case 58:
case 56: {
lMDADFEBEOB_.AddEntriesFrom(ref input, _repeated_lMDADFEBEOB_codec);
break;
}
case 66: {
if (basicInfo_ == null) {
BasicInfo = new global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfo();
}
input.ReadMessage(BasicInfo);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code