mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
406 lines
15 KiB
C#
406 lines
15 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: PunkLordBattleResultScNotify.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 PunkLordBattleResultScNotify.proto</summary>
|
|
public static partial class PunkLordBattleResultScNotifyReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for PunkLordBattleResultScNotify.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static PunkLordBattleResultScNotifyReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CiJQdW5rTG9yZEJhdHRsZVJlc3VsdFNjTm90aWZ5LnByb3RvGh5QdW5rTG9y",
|
|
"ZE1vbnN0ZXJCYXNpY0luZm8ucHJvdG8aGlB1bmtMb3JkQmF0dGxlUmVjb3Jk",
|
|
"LnByb3RvIrwBChxQdW5rTG9yZEJhdHRsZVJlc3VsdFNjTm90aWZ5EhMKC0tE",
|
|
"SEFOQ0NER01CGAYgASgNEhMKC01KS09QT0tHTU5IGAcgASgNEiwKDWJhdHRs",
|
|
"ZV9yZWNvcmQYBSABKAsyFS5QdW5rTG9yZEJhdHRsZVJlY29yZBITCgtMTUVE",
|
|
"UEFLRUpDSxgCIAEoDRIvCgxtb25zdGVyX2luZm8YDCABKAsyGS5QdW5rTG9y",
|
|
"ZE1vbnN0ZXJCYXNpY0luZm9CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Q",
|
|
"cm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.PunkLordBattleRecordReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.PunkLordBattleResultScNotify), global::EggLink.DanhengServer.Proto.PunkLordBattleResultScNotify.Parser, new[]{ "KDHANCCDGMB", "MJKOPOKGMNH", "BattleRecord", "LMEDPAKEJCK", "MonsterInfo" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class PunkLordBattleResultScNotify : pb::IMessage<PunkLordBattleResultScNotify>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<PunkLordBattleResultScNotify> _parser = new pb::MessageParser<PunkLordBattleResultScNotify>(() => new PunkLordBattleResultScNotify());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<PunkLordBattleResultScNotify> 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.PunkLordBattleResultScNotifyReflection.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 PunkLordBattleResultScNotify() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PunkLordBattleResultScNotify(PunkLordBattleResultScNotify other) : this() {
|
|
kDHANCCDGMB_ = other.kDHANCCDGMB_;
|
|
mJKOPOKGMNH_ = other.mJKOPOKGMNH_;
|
|
battleRecord_ = other.battleRecord_ != null ? other.battleRecord_.Clone() : null;
|
|
lMEDPAKEJCK_ = other.lMEDPAKEJCK_;
|
|
monsterInfo_ = other.monsterInfo_ != null ? other.monsterInfo_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PunkLordBattleResultScNotify Clone() {
|
|
return new PunkLordBattleResultScNotify(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "KDHANCCDGMB" field.</summary>
|
|
public const int KDHANCCDGMBFieldNumber = 6;
|
|
private uint kDHANCCDGMB_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint KDHANCCDGMB {
|
|
get { return kDHANCCDGMB_; }
|
|
set {
|
|
kDHANCCDGMB_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "MJKOPOKGMNH" field.</summary>
|
|
public const int MJKOPOKGMNHFieldNumber = 7;
|
|
private uint mJKOPOKGMNH_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MJKOPOKGMNH {
|
|
get { return mJKOPOKGMNH_; }
|
|
set {
|
|
mJKOPOKGMNH_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "battle_record" field.</summary>
|
|
public const int BattleRecordFieldNumber = 5;
|
|
private global::EggLink.DanhengServer.Proto.PunkLordBattleRecord battleRecord_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.PunkLordBattleRecord BattleRecord {
|
|
get { return battleRecord_; }
|
|
set {
|
|
battleRecord_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "LMEDPAKEJCK" field.</summary>
|
|
public const int LMEDPAKEJCKFieldNumber = 2;
|
|
private uint lMEDPAKEJCK_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint LMEDPAKEJCK {
|
|
get { return lMEDPAKEJCK_; }
|
|
set {
|
|
lMEDPAKEJCK_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "monster_info" field.</summary>
|
|
public const int MonsterInfoFieldNumber = 12;
|
|
private global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfo monsterInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfo MonsterInfo {
|
|
get { return monsterInfo_; }
|
|
set {
|
|
monsterInfo_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as PunkLordBattleResultScNotify);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(PunkLordBattleResultScNotify other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (KDHANCCDGMB != other.KDHANCCDGMB) return false;
|
|
if (MJKOPOKGMNH != other.MJKOPOKGMNH) return false;
|
|
if (!object.Equals(BattleRecord, other.BattleRecord)) return false;
|
|
if (LMEDPAKEJCK != other.LMEDPAKEJCK) return false;
|
|
if (!object.Equals(MonsterInfo, other.MonsterInfo)) 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 (KDHANCCDGMB != 0) hash ^= KDHANCCDGMB.GetHashCode();
|
|
if (MJKOPOKGMNH != 0) hash ^= MJKOPOKGMNH.GetHashCode();
|
|
if (battleRecord_ != null) hash ^= BattleRecord.GetHashCode();
|
|
if (LMEDPAKEJCK != 0) hash ^= LMEDPAKEJCK.GetHashCode();
|
|
if (monsterInfo_ != null) hash ^= MonsterInfo.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 (LMEDPAKEJCK != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(LMEDPAKEJCK);
|
|
}
|
|
if (battleRecord_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(BattleRecord);
|
|
}
|
|
if (KDHANCCDGMB != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(KDHANCCDGMB);
|
|
}
|
|
if (MJKOPOKGMNH != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(MJKOPOKGMNH);
|
|
}
|
|
if (monsterInfo_ != null) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(MonsterInfo);
|
|
}
|
|
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 (LMEDPAKEJCK != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(LMEDPAKEJCK);
|
|
}
|
|
if (battleRecord_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(BattleRecord);
|
|
}
|
|
if (KDHANCCDGMB != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(KDHANCCDGMB);
|
|
}
|
|
if (MJKOPOKGMNH != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(MJKOPOKGMNH);
|
|
}
|
|
if (monsterInfo_ != null) {
|
|
output.WriteRawTag(98);
|
|
output.WriteMessage(MonsterInfo);
|
|
}
|
|
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 (KDHANCCDGMB != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(KDHANCCDGMB);
|
|
}
|
|
if (MJKOPOKGMNH != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MJKOPOKGMNH);
|
|
}
|
|
if (battleRecord_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BattleRecord);
|
|
}
|
|
if (LMEDPAKEJCK != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LMEDPAKEJCK);
|
|
}
|
|
if (monsterInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(MonsterInfo);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(PunkLordBattleResultScNotify other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.KDHANCCDGMB != 0) {
|
|
KDHANCCDGMB = other.KDHANCCDGMB;
|
|
}
|
|
if (other.MJKOPOKGMNH != 0) {
|
|
MJKOPOKGMNH = other.MJKOPOKGMNH;
|
|
}
|
|
if (other.battleRecord_ != null) {
|
|
if (battleRecord_ == null) {
|
|
BattleRecord = new global::EggLink.DanhengServer.Proto.PunkLordBattleRecord();
|
|
}
|
|
BattleRecord.MergeFrom(other.BattleRecord);
|
|
}
|
|
if (other.LMEDPAKEJCK != 0) {
|
|
LMEDPAKEJCK = other.LMEDPAKEJCK;
|
|
}
|
|
if (other.monsterInfo_ != null) {
|
|
if (monsterInfo_ == null) {
|
|
MonsterInfo = new global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfo();
|
|
}
|
|
MonsterInfo.MergeFrom(other.MonsterInfo);
|
|
}
|
|
_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 16: {
|
|
LMEDPAKEJCK = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (battleRecord_ == null) {
|
|
BattleRecord = new global::EggLink.DanhengServer.Proto.PunkLordBattleRecord();
|
|
}
|
|
input.ReadMessage(BattleRecord);
|
|
break;
|
|
}
|
|
case 48: {
|
|
KDHANCCDGMB = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
MJKOPOKGMNH = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 98: {
|
|
if (monsterInfo_ == null) {
|
|
MonsterInfo = new global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfo();
|
|
}
|
|
input.ReadMessage(MonsterInfo);
|
|
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 16: {
|
|
LMEDPAKEJCK = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (battleRecord_ == null) {
|
|
BattleRecord = new global::EggLink.DanhengServer.Proto.PunkLordBattleRecord();
|
|
}
|
|
input.ReadMessage(BattleRecord);
|
|
break;
|
|
}
|
|
case 48: {
|
|
KDHANCCDGMB = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
MJKOPOKGMNH = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 98: {
|
|
if (monsterInfo_ == null) {
|
|
MonsterInfo = new global::EggLink.DanhengServer.Proto.PunkLordMonsterBasicInfo();
|
|
}
|
|
input.ReadMessage(MonsterInfo);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|