mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
376 lines
15 KiB
C#
376 lines
15 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: GetFriendBattleRecordDetailScRsp.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 GetFriendBattleRecordDetailScRsp.proto</summary>
|
|
public static partial class GetFriendBattleRecordDetailScRspReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for GetFriendBattleRecordDetailScRsp.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GetFriendBattleRecordDetailScRspReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CiZHZXRGcmllbmRCYXR0bGVSZWNvcmREZXRhaWxTY1JzcC5wcm90bxoiQ2hh",
|
|
"bGxlbmdlUGVha0dyb3VwU3RhdGlzdGljcy5wcm90bxoeQ2hhbGxlbmdlR3Jv",
|
|
"dXBTdGF0aXN0aWNzLnByb3RvGhVSb2d1ZVN0YXRpc3RpY3MucHJvdG8i0QEK",
|
|
"IEdldEZyaWVuZEJhdHRsZVJlY29yZERldGFpbFNjUnNwEjIKC3BlYWtfcmVj",
|
|
"b3JkGAwgAygLMh0uQ2hhbGxlbmdlUGVha0dyb3VwU3RhdGlzdGljcxIzChBj",
|
|
"aGFsbGVuZ2VfcmVjb3JkGA8gAygLMhkuQ2hhbGxlbmdlR3JvdXBTdGF0aXN0",
|
|
"aWNzEiYKDHJvZ3VlX3JlY29yZBgLIAEoCzIQLlJvZ3VlU3RhdGlzdGljcxIL",
|
|
"CgN1aWQYAyABKA0SDwoHcmV0Y29kZRgNIAEoDUIeqgIbRWdnTGluay5EYW5o",
|
|
"ZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChallengePeakGroupStatisticsReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChallengeGroupStatisticsReflection.Descriptor, global::EggLink.DanhengServer.Proto.RogueStatisticsReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetFriendBattleRecordDetailScRsp), global::EggLink.DanhengServer.Proto.GetFriendBattleRecordDetailScRsp.Parser, new[]{ "PeakRecord", "ChallengeRecord", "RogueRecord", "Uid", "Retcode" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GetFriendBattleRecordDetailScRsp : pb::IMessage<GetFriendBattleRecordDetailScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GetFriendBattleRecordDetailScRsp> _parser = new pb::MessageParser<GetFriendBattleRecordDetailScRsp>(() => new GetFriendBattleRecordDetailScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GetFriendBattleRecordDetailScRsp> 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.GetFriendBattleRecordDetailScRspReflection.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 GetFriendBattleRecordDetailScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetFriendBattleRecordDetailScRsp(GetFriendBattleRecordDetailScRsp other) : this() {
|
|
peakRecord_ = other.peakRecord_.Clone();
|
|
challengeRecord_ = other.challengeRecord_.Clone();
|
|
rogueRecord_ = other.rogueRecord_ != null ? other.rogueRecord_.Clone() : null;
|
|
uid_ = other.uid_;
|
|
retcode_ = other.retcode_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetFriendBattleRecordDetailScRsp Clone() {
|
|
return new GetFriendBattleRecordDetailScRsp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "peak_record" field.</summary>
|
|
public const int PeakRecordFieldNumber = 12;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ChallengePeakGroupStatistics> _repeated_peakRecord_codec
|
|
= pb::FieldCodec.ForMessage(98, global::EggLink.DanhengServer.Proto.ChallengePeakGroupStatistics.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChallengePeakGroupStatistics> peakRecord_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChallengePeakGroupStatistics>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChallengePeakGroupStatistics> PeakRecord {
|
|
get { return peakRecord_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "challenge_record" field.</summary>
|
|
public const int ChallengeRecordFieldNumber = 15;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ChallengeGroupStatistics> _repeated_challengeRecord_codec
|
|
= pb::FieldCodec.ForMessage(122, global::EggLink.DanhengServer.Proto.ChallengeGroupStatistics.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChallengeGroupStatistics> challengeRecord_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChallengeGroupStatistics>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChallengeGroupStatistics> ChallengeRecord {
|
|
get { return challengeRecord_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "rogue_record" field.</summary>
|
|
public const int RogueRecordFieldNumber = 11;
|
|
private global::EggLink.DanhengServer.Proto.RogueStatistics rogueRecord_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.RogueStatistics RogueRecord {
|
|
get { return rogueRecord_; }
|
|
set {
|
|
rogueRecord_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "uid" field.</summary>
|
|
public const int UidFieldNumber = 3;
|
|
private uint uid_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Uid {
|
|
get { return uid_; }
|
|
set {
|
|
uid_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 13;
|
|
private uint retcode_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Retcode {
|
|
get { return retcode_; }
|
|
set {
|
|
retcode_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetFriendBattleRecordDetailScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GetFriendBattleRecordDetailScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!peakRecord_.Equals(other.peakRecord_)) return false;
|
|
if(!challengeRecord_.Equals(other.challengeRecord_)) return false;
|
|
if (!object.Equals(RogueRecord, other.RogueRecord)) return false;
|
|
if (Uid != other.Uid) return false;
|
|
if (Retcode != other.Retcode) 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;
|
|
hash ^= peakRecord_.GetHashCode();
|
|
hash ^= challengeRecord_.GetHashCode();
|
|
if (rogueRecord_ != null) hash ^= RogueRecord.GetHashCode();
|
|
if (Uid != 0) hash ^= Uid.GetHashCode();
|
|
if (Retcode != 0) hash ^= Retcode.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 (Uid != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(Uid);
|
|
}
|
|
if (rogueRecord_ != null) {
|
|
output.WriteRawTag(90);
|
|
output.WriteMessage(RogueRecord);
|
|
}
|
|
peakRecord_.WriteTo(output, _repeated_peakRecord_codec);
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
challengeRecord_.WriteTo(output, _repeated_challengeRecord_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 (Uid != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(Uid);
|
|
}
|
|
if (rogueRecord_ != null) {
|
|
output.WriteRawTag(90);
|
|
output.WriteMessage(RogueRecord);
|
|
}
|
|
peakRecord_.WriteTo(ref output, _repeated_peakRecord_codec);
|
|
if (Retcode != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
challengeRecord_.WriteTo(ref output, _repeated_challengeRecord_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;
|
|
size += peakRecord_.CalculateSize(_repeated_peakRecord_codec);
|
|
size += challengeRecord_.CalculateSize(_repeated_challengeRecord_codec);
|
|
if (rogueRecord_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueRecord);
|
|
}
|
|
if (Uid != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Uid);
|
|
}
|
|
if (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GetFriendBattleRecordDetailScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
peakRecord_.Add(other.peakRecord_);
|
|
challengeRecord_.Add(other.challengeRecord_);
|
|
if (other.rogueRecord_ != null) {
|
|
if (rogueRecord_ == null) {
|
|
RogueRecord = new global::EggLink.DanhengServer.Proto.RogueStatistics();
|
|
}
|
|
RogueRecord.MergeFrom(other.RogueRecord);
|
|
}
|
|
if (other.Uid != 0) {
|
|
Uid = other.Uid;
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
_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 24: {
|
|
Uid = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 90: {
|
|
if (rogueRecord_ == null) {
|
|
RogueRecord = new global::EggLink.DanhengServer.Proto.RogueStatistics();
|
|
}
|
|
input.ReadMessage(RogueRecord);
|
|
break;
|
|
}
|
|
case 98: {
|
|
peakRecord_.AddEntriesFrom(input, _repeated_peakRecord_codec);
|
|
break;
|
|
}
|
|
case 104: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 122: {
|
|
challengeRecord_.AddEntriesFrom(input, _repeated_challengeRecord_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 24: {
|
|
Uid = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 90: {
|
|
if (rogueRecord_ == null) {
|
|
RogueRecord = new global::EggLink.DanhengServer.Proto.RogueStatistics();
|
|
}
|
|
input.ReadMessage(RogueRecord);
|
|
break;
|
|
}
|
|
case 98: {
|
|
peakRecord_.AddEntriesFrom(ref input, _repeated_peakRecord_codec);
|
|
break;
|
|
}
|
|
case 104: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 122: {
|
|
challengeRecord_.AddEntriesFrom(ref input, _repeated_challengeRecord_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|