Files
DanhengServer-OpenSource/Proto/GetChallengeScRsp.cs
2024-10-01 22:50:51 +08:00

354 lines
14 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GetChallengeScRsp.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 GetChallengeScRsp.proto</summary>
public static partial class GetChallengeScRspReflection {
#region Descriptor
/// <summary>File descriptor for GetChallengeScRsp.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GetChallengeScRspReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChdHZXRDaGFsbGVuZ2VTY1JzcC5wcm90bxoPQ2hhbGxlbmdlLnByb3RvGhFE",
"TURGRElBTU9BSy5wcm90bxoUQ2hhbGxlbmdlR3JvdXAucHJvdG8irwEKEUdl",
"dENoYWxsZW5nZVNjUnNwEg8KB3JldGNvZGUYCiABKA0SEwoLSUlKQk1OS0ZN",
"QUEYDCABKA0SIQoLQ0pGR01LQkxQTE4YAiADKAsyDC5ETURGRElBTU9BSxIi",
"Cg5jaGFsbGVuZ2VfbGlzdBgBIAMoCzIKLkNoYWxsZW5nZRItChRjaGFsbGVu",
"Z2VfZ3JvdXBfbGlzdBgOIAMoCzIPLkNoYWxsZW5nZUdyb3VwQh6qAhtFZ2dM",
"aW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChallengeReflection.Descriptor, global::EggLink.DanhengServer.Proto.DMDFDIAMOAKReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChallengeGroupReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetChallengeScRsp), global::EggLink.DanhengServer.Proto.GetChallengeScRsp.Parser, new[]{ "Retcode", "IIJBMNKFMAA", "CJFGMKBLPLN", "ChallengeList", "ChallengeGroupList" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetChallengeScRsp : pb::IMessage<GetChallengeScRsp>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GetChallengeScRsp> _parser = new pb::MessageParser<GetChallengeScRsp>(() => new GetChallengeScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GetChallengeScRsp> 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.GetChallengeScRspReflection.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 GetChallengeScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetChallengeScRsp(GetChallengeScRsp other) : this() {
retcode_ = other.retcode_;
iIJBMNKFMAA_ = other.iIJBMNKFMAA_;
cJFGMKBLPLN_ = other.cJFGMKBLPLN_.Clone();
challengeList_ = other.challengeList_.Clone();
challengeGroupList_ = other.challengeGroupList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetChallengeScRsp Clone() {
return new GetChallengeScRsp(this);
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 10;
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 "IIJBMNKFMAA" field.</summary>
public const int IIJBMNKFMAAFieldNumber = 12;
private uint iIJBMNKFMAA_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint IIJBMNKFMAA {
get { return iIJBMNKFMAA_; }
set {
iIJBMNKFMAA_ = value;
}
}
/// <summary>Field number for the "CJFGMKBLPLN" field.</summary>
public const int CJFGMKBLPLNFieldNumber = 2;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.DMDFDIAMOAK> _repeated_cJFGMKBLPLN_codec
= pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.DMDFDIAMOAK.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.DMDFDIAMOAK> cJFGMKBLPLN_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.DMDFDIAMOAK>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.DMDFDIAMOAK> CJFGMKBLPLN {
get { return cJFGMKBLPLN_; }
}
/// <summary>Field number for the "challenge_list" field.</summary>
public const int ChallengeListFieldNumber = 1;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.Challenge> _repeated_challengeList_codec
= pb::FieldCodec.ForMessage(10, global::EggLink.DanhengServer.Proto.Challenge.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Challenge> challengeList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Challenge>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Challenge> ChallengeList {
get { return challengeList_; }
}
/// <summary>Field number for the "challenge_group_list" field.</summary>
public const int ChallengeGroupListFieldNumber = 14;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ChallengeGroup> _repeated_challengeGroupList_codec
= pb::FieldCodec.ForMessage(114, global::EggLink.DanhengServer.Proto.ChallengeGroup.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChallengeGroup> challengeGroupList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChallengeGroup>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.ChallengeGroup> ChallengeGroupList {
get { return challengeGroupList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetChallengeScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetChallengeScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if (IIJBMNKFMAA != other.IIJBMNKFMAA) return false;
if(!cJFGMKBLPLN_.Equals(other.cJFGMKBLPLN_)) return false;
if(!challengeList_.Equals(other.challengeList_)) return false;
if(!challengeGroupList_.Equals(other.challengeGroupList_)) 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();
if (IIJBMNKFMAA != 0) hash ^= IIJBMNKFMAA.GetHashCode();
hash ^= cJFGMKBLPLN_.GetHashCode();
hash ^= challengeList_.GetHashCode();
hash ^= challengeGroupList_.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
challengeList_.WriteTo(output, _repeated_challengeList_codec);
cJFGMKBLPLN_.WriteTo(output, _repeated_cJFGMKBLPLN_codec);
if (Retcode != 0) {
output.WriteRawTag(80);
output.WriteUInt32(Retcode);
}
if (IIJBMNKFMAA != 0) {
output.WriteRawTag(96);
output.WriteUInt32(IIJBMNKFMAA);
}
challengeGroupList_.WriteTo(output, _repeated_challengeGroupList_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) {
challengeList_.WriteTo(ref output, _repeated_challengeList_codec);
cJFGMKBLPLN_.WriteTo(ref output, _repeated_cJFGMKBLPLN_codec);
if (Retcode != 0) {
output.WriteRawTag(80);
output.WriteUInt32(Retcode);
}
if (IIJBMNKFMAA != 0) {
output.WriteRawTag(96);
output.WriteUInt32(IIJBMNKFMAA);
}
challengeGroupList_.WriteTo(ref output, _repeated_challengeGroupList_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);
}
if (IIJBMNKFMAA != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(IIJBMNKFMAA);
}
size += cJFGMKBLPLN_.CalculateSize(_repeated_cJFGMKBLPLN_codec);
size += challengeList_.CalculateSize(_repeated_challengeList_codec);
size += challengeGroupList_.CalculateSize(_repeated_challengeGroupList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetChallengeScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.IIJBMNKFMAA != 0) {
IIJBMNKFMAA = other.IIJBMNKFMAA;
}
cJFGMKBLPLN_.Add(other.cJFGMKBLPLN_);
challengeList_.Add(other.challengeList_);
challengeGroupList_.Add(other.challengeGroupList_);
_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 10: {
challengeList_.AddEntriesFrom(input, _repeated_challengeList_codec);
break;
}
case 18: {
cJFGMKBLPLN_.AddEntriesFrom(input, _repeated_cJFGMKBLPLN_codec);
break;
}
case 80: {
Retcode = input.ReadUInt32();
break;
}
case 96: {
IIJBMNKFMAA = input.ReadUInt32();
break;
}
case 114: {
challengeGroupList_.AddEntriesFrom(input, _repeated_challengeGroupList_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 10: {
challengeList_.AddEntriesFrom(ref input, _repeated_challengeList_codec);
break;
}
case 18: {
cJFGMKBLPLN_.AddEntriesFrom(ref input, _repeated_cJFGMKBLPLN_codec);
break;
}
case 80: {
Retcode = input.ReadUInt32();
break;
}
case 96: {
IIJBMNKFMAA = input.ReadUInt32();
break;
}
case 114: {
challengeGroupList_.AddEntriesFrom(ref input, _repeated_challengeGroupList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code