Files
DanhengServer-OpenSource/Proto/GetChallengeScRsp.cs
2024-08-17 19:42:40 +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(
"ChdHZXRDaGFsbGVuZ2VTY1JzcC5wcm90bxoUQ2hhbGxlbmdlR3JvdXAucHJv",
"dG8aEU5NSE5BTkpBSU5NLnByb3RvGg9DaGFsbGVuZ2UucHJvdG8irwEKEUdl",
"dENoYWxsZW5nZVNjUnNwEi0KFGNoYWxsZW5nZV9ncm91cF9saXN0GAQgAygL",
"Mg8uQ2hhbGxlbmdlR3JvdXASIgoOY2hhbGxlbmdlX2xpc3QYCSADKAsyCi5D",
"aGFsbGVuZ2USEwoLT0tHQ09CSExJSU0YCCABKA0SIQoLQkNHQ09HSFBIUFAY",
"AiADKAsyDC5OTUhOQU5KQUlOTRIPCgdyZXRjb2RlGA4gASgNQh6qAhtFZ2dM",
"aW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChallengeGroupReflection.Descriptor, global::EggLink.DanhengServer.Proto.NMHNANJAINMReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChallengeReflection.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[]{ "ChallengeGroupList", "ChallengeList", "OKGCOBHLIIM", "BCGCOGHPHPP", "Retcode" }, 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() {
challengeGroupList_ = other.challengeGroupList_.Clone();
challengeList_ = other.challengeList_.Clone();
oKGCOBHLIIM_ = other.oKGCOBHLIIM_;
bCGCOGHPHPP_ = other.bCGCOGHPHPP_.Clone();
retcode_ = other.retcode_;
_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 "challenge_group_list" field.</summary>
public const int ChallengeGroupListFieldNumber = 4;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ChallengeGroup> _repeated_challengeGroupList_codec
= pb::FieldCodec.ForMessage(34, 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_; }
}
/// <summary>Field number for the "challenge_list" field.</summary>
public const int ChallengeListFieldNumber = 9;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.Challenge> _repeated_challengeList_codec
= pb::FieldCodec.ForMessage(74, 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 "OKGCOBHLIIM" field.</summary>
public const int OKGCOBHLIIMFieldNumber = 8;
private uint oKGCOBHLIIM_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint OKGCOBHLIIM {
get { return oKGCOBHLIIM_; }
set {
oKGCOBHLIIM_ = value;
}
}
/// <summary>Field number for the "BCGCOGHPHPP" field.</summary>
public const int BCGCOGHPHPPFieldNumber = 2;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.NMHNANJAINM> _repeated_bCGCOGHPHPP_codec
= pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.NMHNANJAINM.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.NMHNANJAINM> bCGCOGHPHPP_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.NMHNANJAINM>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.NMHNANJAINM> BCGCOGHPHPP {
get { return bCGCOGHPHPP_; }
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 14;
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 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(!challengeGroupList_.Equals(other.challengeGroupList_)) return false;
if(!challengeList_.Equals(other.challengeList_)) return false;
if (OKGCOBHLIIM != other.OKGCOBHLIIM) return false;
if(!bCGCOGHPHPP_.Equals(other.bCGCOGHPHPP_)) 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 ^= challengeGroupList_.GetHashCode();
hash ^= challengeList_.GetHashCode();
if (OKGCOBHLIIM != 0) hash ^= OKGCOBHLIIM.GetHashCode();
hash ^= bCGCOGHPHPP_.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
bCGCOGHPHPP_.WriteTo(output, _repeated_bCGCOGHPHPP_codec);
challengeGroupList_.WriteTo(output, _repeated_challengeGroupList_codec);
if (OKGCOBHLIIM != 0) {
output.WriteRawTag(64);
output.WriteUInt32(OKGCOBHLIIM);
}
challengeList_.WriteTo(output, _repeated_challengeList_codec);
if (Retcode != 0) {
output.WriteRawTag(112);
output.WriteUInt32(Retcode);
}
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) {
bCGCOGHPHPP_.WriteTo(ref output, _repeated_bCGCOGHPHPP_codec);
challengeGroupList_.WriteTo(ref output, _repeated_challengeGroupList_codec);
if (OKGCOBHLIIM != 0) {
output.WriteRawTag(64);
output.WriteUInt32(OKGCOBHLIIM);
}
challengeList_.WriteTo(ref output, _repeated_challengeList_codec);
if (Retcode != 0) {
output.WriteRawTag(112);
output.WriteUInt32(Retcode);
}
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 += challengeGroupList_.CalculateSize(_repeated_challengeGroupList_codec);
size += challengeList_.CalculateSize(_repeated_challengeList_codec);
if (OKGCOBHLIIM != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OKGCOBHLIIM);
}
size += bCGCOGHPHPP_.CalculateSize(_repeated_bCGCOGHPHPP_codec);
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(GetChallengeScRsp other) {
if (other == null) {
return;
}
challengeGroupList_.Add(other.challengeGroupList_);
challengeList_.Add(other.challengeList_);
if (other.OKGCOBHLIIM != 0) {
OKGCOBHLIIM = other.OKGCOBHLIIM;
}
bCGCOGHPHPP_.Add(other.bCGCOGHPHPP_);
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 18: {
bCGCOGHPHPP_.AddEntriesFrom(input, _repeated_bCGCOGHPHPP_codec);
break;
}
case 34: {
challengeGroupList_.AddEntriesFrom(input, _repeated_challengeGroupList_codec);
break;
}
case 64: {
OKGCOBHLIIM = input.ReadUInt32();
break;
}
case 74: {
challengeList_.AddEntriesFrom(input, _repeated_challengeList_codec);
break;
}
case 112: {
Retcode = input.ReadUInt32();
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 18: {
bCGCOGHPHPP_.AddEntriesFrom(ref input, _repeated_bCGCOGHPHPP_codec);
break;
}
case 34: {
challengeGroupList_.AddEntriesFrom(ref input, _repeated_challengeGroupList_codec);
break;
}
case 64: {
OKGCOBHLIIM = input.ReadUInt32();
break;
}
case 74: {
challengeList_.AddEntriesFrom(ref input, _repeated_challengeList_codec);
break;
}
case 112: {
Retcode = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code