Files
DanhengServer-OpenSource/Proto/GetPunkLordBattleRecordScRsp.cs
2024-08-17 19:42:40 +08:00

338 lines
14 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GetPunkLordBattleRecordScRsp.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 GetPunkLordBattleRecordScRsp.proto</summary>
public static partial class GetPunkLordBattleRecordScRspReflection {
#region Descriptor
/// <summary>File descriptor for GetPunkLordBattleRecordScRsp.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GetPunkLordBattleRecordScRspReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiJHZXRQdW5rTG9yZEJhdHRsZVJlY29yZFNjUnNwLnByb3RvGhhQdW5rTG9y",
"ZE1vbnN0ZXJLZXkucHJvdG8aGlB1bmtMb3JkQmF0dGxlUmVwbGF5LnByb3Rv",
"GhpQdW5rTG9yZEJhdHRsZVJlY29yZC5wcm90byK/AQocR2V0UHVua0xvcmRC",
"YXR0bGVSZWNvcmRTY1JzcBIPCgdyZXRjb2RlGAsgASgNEjEKEmJhdHRsZV9y",
"ZWNvcmRfbGlzdBgNIAMoCzIVLlB1bmtMb3JkQmF0dGxlUmVjb3JkEjEKEmJh",
"dHRsZV9yZXBsYXlfbGlzdBgPIAMoCzIVLlB1bmtMb3JkQmF0dGxlUmVwbGF5",
"EigKC21vbnN0ZXJfa2V5GAcgASgLMhMuUHVua0xvcmRNb25zdGVyS2V5Qh6q",
"AhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PunkLordMonsterKeyReflection.Descriptor, global::EggLink.DanhengServer.Proto.PunkLordBattleReplayReflection.Descriptor, global::EggLink.DanhengServer.Proto.PunkLordBattleRecordReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetPunkLordBattleRecordScRsp), global::EggLink.DanhengServer.Proto.GetPunkLordBattleRecordScRsp.Parser, new[]{ "Retcode", "BattleRecordList", "BattleReplayList", "MonsterKey" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetPunkLordBattleRecordScRsp : pb::IMessage<GetPunkLordBattleRecordScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GetPunkLordBattleRecordScRsp> _parser = new pb::MessageParser<GetPunkLordBattleRecordScRsp>(() => new GetPunkLordBattleRecordScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GetPunkLordBattleRecordScRsp> 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.GetPunkLordBattleRecordScRspReflection.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 GetPunkLordBattleRecordScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetPunkLordBattleRecordScRsp(GetPunkLordBattleRecordScRsp other) : this() {
retcode_ = other.retcode_;
battleRecordList_ = other.battleRecordList_.Clone();
battleReplayList_ = other.battleReplayList_.Clone();
monsterKey_ = other.monsterKey_ != null ? other.monsterKey_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetPunkLordBattleRecordScRsp Clone() {
return new GetPunkLordBattleRecordScRsp(this);
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 11;
private uint retcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Retcode {
get { return retcode_; }
set {
retcode_ = value;
}
}
/// <summary>Field number for the "battle_record_list" field.</summary>
public const int BattleRecordListFieldNumber = 13;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.PunkLordBattleRecord> _repeated_battleRecordList_codec
= pb::FieldCodec.ForMessage(106, global::EggLink.DanhengServer.Proto.PunkLordBattleRecord.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.PunkLordBattleRecord> battleRecordList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.PunkLordBattleRecord>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.PunkLordBattleRecord> BattleRecordList {
get { return battleRecordList_; }
}
/// <summary>Field number for the "battle_replay_list" field.</summary>
public const int BattleReplayListFieldNumber = 15;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.PunkLordBattleReplay> _repeated_battleReplayList_codec
= pb::FieldCodec.ForMessage(122, global::EggLink.DanhengServer.Proto.PunkLordBattleReplay.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.PunkLordBattleReplay> battleReplayList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.PunkLordBattleReplay>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.PunkLordBattleReplay> BattleReplayList {
get { return battleReplayList_; }
}
/// <summary>Field number for the "monster_key" field.</summary>
public const int MonsterKeyFieldNumber = 7;
private global::EggLink.DanhengServer.Proto.PunkLordMonsterKey monsterKey_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.PunkLordMonsterKey MonsterKey {
get { return monsterKey_; }
set {
monsterKey_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetPunkLordBattleRecordScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetPunkLordBattleRecordScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if(!battleRecordList_.Equals(other.battleRecordList_)) return false;
if(!battleReplayList_.Equals(other.battleReplayList_)) return false;
if (!object.Equals(MonsterKey, other.MonsterKey)) 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 (Retcode != 0) hash ^= Retcode.GetHashCode();
hash ^= battleRecordList_.GetHashCode();
hash ^= battleReplayList_.GetHashCode();
if (monsterKey_ != null) hash ^= MonsterKey.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 (monsterKey_ != null) {
output.WriteRawTag(58);
output.WriteMessage(MonsterKey);
}
if (Retcode != 0) {
output.WriteRawTag(88);
output.WriteUInt32(Retcode);
}
battleRecordList_.WriteTo(output, _repeated_battleRecordList_codec);
battleReplayList_.WriteTo(output, _repeated_battleReplayList_codec);
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 (monsterKey_ != null) {
output.WriteRawTag(58);
output.WriteMessage(MonsterKey);
}
if (Retcode != 0) {
output.WriteRawTag(88);
output.WriteUInt32(Retcode);
}
battleRecordList_.WriteTo(ref output, _repeated_battleRecordList_codec);
battleReplayList_.WriteTo(ref output, _repeated_battleReplayList_codec);
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 (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
size += battleRecordList_.CalculateSize(_repeated_battleRecordList_codec);
size += battleReplayList_.CalculateSize(_repeated_battleReplayList_codec);
if (monsterKey_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(MonsterKey);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetPunkLordBattleRecordScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
battleRecordList_.Add(other.battleRecordList_);
battleReplayList_.Add(other.battleReplayList_);
if (other.monsterKey_ != null) {
if (monsterKey_ == null) {
MonsterKey = new global::EggLink.DanhengServer.Proto.PunkLordMonsterKey();
}
MonsterKey.MergeFrom(other.MonsterKey);
}
_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 58: {
if (monsterKey_ == null) {
MonsterKey = new global::EggLink.DanhengServer.Proto.PunkLordMonsterKey();
}
input.ReadMessage(MonsterKey);
break;
}
case 88: {
Retcode = input.ReadUInt32();
break;
}
case 106: {
battleRecordList_.AddEntriesFrom(input, _repeated_battleRecordList_codec);
break;
}
case 122: {
battleReplayList_.AddEntriesFrom(input, _repeated_battleReplayList_codec);
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 58: {
if (monsterKey_ == null) {
MonsterKey = new global::EggLink.DanhengServer.Proto.PunkLordMonsterKey();
}
input.ReadMessage(MonsterKey);
break;
}
case 88: {
Retcode = input.ReadUInt32();
break;
}
case 106: {
battleRecordList_.AddEntriesFrom(ref input, _repeated_battleRecordList_codec);
break;
}
case 122: {
battleReplayList_.AddEntriesFrom(ref input, _repeated_battleReplayList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code