mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
339 lines
13 KiB
C#
339 lines
13 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: StartChallengeCsReq.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 StartChallengeCsReq.proto</summary>
|
|
public static partial class StartChallengeCsReqReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for StartChallengeCsReq.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static StartChallengeCsReqReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChlTdGFydENoYWxsZW5nZUNzUmVxLnByb3RvGhdDaGFsbGVuZ2VCdWZmSW5m",
|
|
"by5wcm90byKAAQoTU3RhcnRDaGFsbGVuZ2VDc1JlcRIUCgxjaGFsbGVuZ2Vf",
|
|
"aWQYAyABKA0SFAoMZmlyc3RfbGluZXVwGAogAygNEhUKDXNlY29uZF9saW5l",
|
|
"dXAYDyADKA0SJgoKc3RhZ2VfaW5mbxgOIAEoCzISLkNoYWxsZW5nZUJ1ZmZJ",
|
|
"bmZvQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ChallengeBuffInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.StartChallengeCsReq), global::EggLink.DanhengServer.Proto.StartChallengeCsReq.Parser, new[]{ "ChallengeId", "FirstLineup", "SecondLineup", "StageInfo" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class StartChallengeCsReq : pb::IMessage<StartChallengeCsReq>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<StartChallengeCsReq> _parser = new pb::MessageParser<StartChallengeCsReq>(() => new StartChallengeCsReq());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<StartChallengeCsReq> 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.StartChallengeCsReqReflection.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 StartChallengeCsReq() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StartChallengeCsReq(StartChallengeCsReq other) : this() {
|
|
challengeId_ = other.challengeId_;
|
|
firstLineup_ = other.firstLineup_.Clone();
|
|
secondLineup_ = other.secondLineup_.Clone();
|
|
stageInfo_ = other.stageInfo_ != null ? other.stageInfo_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StartChallengeCsReq Clone() {
|
|
return new StartChallengeCsReq(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "challenge_id" field.</summary>
|
|
public const int ChallengeIdFieldNumber = 3;
|
|
private uint challengeId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ChallengeId {
|
|
get { return challengeId_; }
|
|
set {
|
|
challengeId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "first_lineup" field.</summary>
|
|
public const int FirstLineupFieldNumber = 10;
|
|
private static readonly pb::FieldCodec<uint> _repeated_firstLineup_codec
|
|
= pb::FieldCodec.ForUInt32(82);
|
|
private readonly pbc::RepeatedField<uint> firstLineup_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> FirstLineup {
|
|
get { return firstLineup_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "second_lineup" field.</summary>
|
|
public const int SecondLineupFieldNumber = 15;
|
|
private static readonly pb::FieldCodec<uint> _repeated_secondLineup_codec
|
|
= pb::FieldCodec.ForUInt32(122);
|
|
private readonly pbc::RepeatedField<uint> secondLineup_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> SecondLineup {
|
|
get { return secondLineup_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "stage_info" field.</summary>
|
|
public const int StageInfoFieldNumber = 14;
|
|
private global::EggLink.DanhengServer.Proto.ChallengeBuffInfo stageInfo_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ChallengeBuffInfo StageInfo {
|
|
get { return stageInfo_; }
|
|
set {
|
|
stageInfo_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as StartChallengeCsReq);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(StartChallengeCsReq other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (ChallengeId != other.ChallengeId) return false;
|
|
if(!firstLineup_.Equals(other.firstLineup_)) return false;
|
|
if(!secondLineup_.Equals(other.secondLineup_)) return false;
|
|
if (!object.Equals(StageInfo, other.StageInfo)) 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 (ChallengeId != 0) hash ^= ChallengeId.GetHashCode();
|
|
hash ^= firstLineup_.GetHashCode();
|
|
hash ^= secondLineup_.GetHashCode();
|
|
if (stageInfo_ != null) hash ^= StageInfo.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 (ChallengeId != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(ChallengeId);
|
|
}
|
|
firstLineup_.WriteTo(output, _repeated_firstLineup_codec);
|
|
if (stageInfo_ != null) {
|
|
output.WriteRawTag(114);
|
|
output.WriteMessage(StageInfo);
|
|
}
|
|
secondLineup_.WriteTo(output, _repeated_secondLineup_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 (ChallengeId != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(ChallengeId);
|
|
}
|
|
firstLineup_.WriteTo(ref output, _repeated_firstLineup_codec);
|
|
if (stageInfo_ != null) {
|
|
output.WriteRawTag(114);
|
|
output.WriteMessage(StageInfo);
|
|
}
|
|
secondLineup_.WriteTo(ref output, _repeated_secondLineup_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 (ChallengeId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChallengeId);
|
|
}
|
|
size += firstLineup_.CalculateSize(_repeated_firstLineup_codec);
|
|
size += secondLineup_.CalculateSize(_repeated_secondLineup_codec);
|
|
if (stageInfo_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(StageInfo);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(StartChallengeCsReq other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.ChallengeId != 0) {
|
|
ChallengeId = other.ChallengeId;
|
|
}
|
|
firstLineup_.Add(other.firstLineup_);
|
|
secondLineup_.Add(other.secondLineup_);
|
|
if (other.stageInfo_ != null) {
|
|
if (stageInfo_ == null) {
|
|
StageInfo = new global::EggLink.DanhengServer.Proto.ChallengeBuffInfo();
|
|
}
|
|
StageInfo.MergeFrom(other.StageInfo);
|
|
}
|
|
_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: {
|
|
ChallengeId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 82:
|
|
case 80: {
|
|
firstLineup_.AddEntriesFrom(input, _repeated_firstLineup_codec);
|
|
break;
|
|
}
|
|
case 114: {
|
|
if (stageInfo_ == null) {
|
|
StageInfo = new global::EggLink.DanhengServer.Proto.ChallengeBuffInfo();
|
|
}
|
|
input.ReadMessage(StageInfo);
|
|
break;
|
|
}
|
|
case 122:
|
|
case 120: {
|
|
secondLineup_.AddEntriesFrom(input, _repeated_secondLineup_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: {
|
|
ChallengeId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 82:
|
|
case 80: {
|
|
firstLineup_.AddEntriesFrom(ref input, _repeated_firstLineup_codec);
|
|
break;
|
|
}
|
|
case 114: {
|
|
if (stageInfo_ == null) {
|
|
StageInfo = new global::EggLink.DanhengServer.Proto.ChallengeBuffInfo();
|
|
}
|
|
input.ReadMessage(StageInfo);
|
|
break;
|
|
}
|
|
case 122:
|
|
case 120: {
|
|
secondLineup_.AddEntriesFrom(ref input, _repeated_secondLineup_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|