Files
DanhengServer-OpenSource/Proto/GetChallengeScRsp.cs
2024-10-06 23:02:27 +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(
"ChdHZXRDaGFsbGVuZ2VTY1JzcC5wcm90bxoPQ2hhbGxlbmdlLnByb3RvGhRD",
"aGFsbGVuZ2VHcm91cC5wcm90bxoRT01QREpJSk5OQlAucHJvdG8irwEKEUdl",
"dENoYWxsZW5nZVNjUnNwEhMKC0dHQkNQTkNETUZBGAwgASgNEg8KB3JldGNv",
"ZGUYBSABKA0SIQoLR1BIQ1BMUEhOTk0YDSADKAsyDC5PTVBESklKTk5CUBIt",
"ChRjaGFsbGVuZ2VfZ3JvdXBfbGlzdBgJIAMoCzIPLkNoYWxsZW5nZUdyb3Vw",
"EiIKDmNoYWxsZW5nZV9saXN0GA8gAygLMgouQ2hhbGxlbmdlQh6qAhtFZ2dM",
"aW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChallengeReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChallengeGroupReflection.Descriptor, global::EggLink.DanhengServer.Proto.OMPDJIJNNBPReflection.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[]{ "GGBCPNCDMFA", "Retcode", "GPHCPLPHNNM", "ChallengeGroupList", "ChallengeList" }, 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() {
gGBCPNCDMFA_ = other.gGBCPNCDMFA_;
retcode_ = other.retcode_;
gPHCPLPHNNM_ = other.gPHCPLPHNNM_.Clone();
challengeGroupList_ = other.challengeGroupList_.Clone();
challengeList_ = other.challengeList_.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 "GGBCPNCDMFA" field.</summary>
public const int GGBCPNCDMFAFieldNumber = 12;
private uint gGBCPNCDMFA_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint GGBCPNCDMFA {
get { return gGBCPNCDMFA_; }
set {
gGBCPNCDMFA_ = value;
}
}
/// <summary>Field number for the "retcode" field.</summary>
public const int RetcodeFieldNumber = 5;
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 "GPHCPLPHNNM" field.</summary>
public const int GPHCPLPHNNMFieldNumber = 13;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.OMPDJIJNNBP> _repeated_gPHCPLPHNNM_codec
= pb::FieldCodec.ForMessage(106, global::EggLink.DanhengServer.Proto.OMPDJIJNNBP.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.OMPDJIJNNBP> gPHCPLPHNNM_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.OMPDJIJNNBP>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.OMPDJIJNNBP> GPHCPLPHNNM {
get { return gPHCPLPHNNM_; }
}
/// <summary>Field number for the "challenge_group_list" field.</summary>
public const int ChallengeGroupListFieldNumber = 9;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.ChallengeGroup> _repeated_challengeGroupList_codec
= pb::FieldCodec.ForMessage(74, 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 = 15;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.Challenge> _repeated_challengeList_codec
= pb::FieldCodec.ForMessage(122, 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_; }
}
[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 (GGBCPNCDMFA != other.GGBCPNCDMFA) return false;
if (Retcode != other.Retcode) return false;
if(!gPHCPLPHNNM_.Equals(other.gPHCPLPHNNM_)) return false;
if(!challengeGroupList_.Equals(other.challengeGroupList_)) return false;
if(!challengeList_.Equals(other.challengeList_)) 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 (GGBCPNCDMFA != 0) hash ^= GGBCPNCDMFA.GetHashCode();
if (Retcode != 0) hash ^= Retcode.GetHashCode();
hash ^= gPHCPLPHNNM_.GetHashCode();
hash ^= challengeGroupList_.GetHashCode();
hash ^= challengeList_.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 (Retcode != 0) {
output.WriteRawTag(40);
output.WriteUInt32(Retcode);
}
challengeGroupList_.WriteTo(output, _repeated_challengeGroupList_codec);
if (GGBCPNCDMFA != 0) {
output.WriteRawTag(96);
output.WriteUInt32(GGBCPNCDMFA);
}
gPHCPLPHNNM_.WriteTo(output, _repeated_gPHCPLPHNNM_codec);
challengeList_.WriteTo(output, _repeated_challengeList_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 (Retcode != 0) {
output.WriteRawTag(40);
output.WriteUInt32(Retcode);
}
challengeGroupList_.WriteTo(ref output, _repeated_challengeGroupList_codec);
if (GGBCPNCDMFA != 0) {
output.WriteRawTag(96);
output.WriteUInt32(GGBCPNCDMFA);
}
gPHCPLPHNNM_.WriteTo(ref output, _repeated_gPHCPLPHNNM_codec);
challengeList_.WriteTo(ref output, _repeated_challengeList_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 (GGBCPNCDMFA != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GGBCPNCDMFA);
}
if (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
size += gPHCPLPHNNM_.CalculateSize(_repeated_gPHCPLPHNNM_codec);
size += challengeGroupList_.CalculateSize(_repeated_challengeGroupList_codec);
size += challengeList_.CalculateSize(_repeated_challengeList_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.GGBCPNCDMFA != 0) {
GGBCPNCDMFA = other.GGBCPNCDMFA;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
gPHCPLPHNNM_.Add(other.gPHCPLPHNNM_);
challengeGroupList_.Add(other.challengeGroupList_);
challengeList_.Add(other.challengeList_);
_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 40: {
Retcode = input.ReadUInt32();
break;
}
case 74: {
challengeGroupList_.AddEntriesFrom(input, _repeated_challengeGroupList_codec);
break;
}
case 96: {
GGBCPNCDMFA = input.ReadUInt32();
break;
}
case 106: {
gPHCPLPHNNM_.AddEntriesFrom(input, _repeated_gPHCPLPHNNM_codec);
break;
}
case 122: {
challengeList_.AddEntriesFrom(input, _repeated_challengeList_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 40: {
Retcode = input.ReadUInt32();
break;
}
case 74: {
challengeGroupList_.AddEntriesFrom(ref input, _repeated_challengeGroupList_codec);
break;
}
case 96: {
GGBCPNCDMFA = input.ReadUInt32();
break;
}
case 106: {
gPHCPLPHNNM_.AddEntriesFrom(ref input, _repeated_gPHCPLPHNNM_codec);
break;
}
case 122: {
challengeList_.AddEntriesFrom(ref input, _repeated_challengeList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code