Files
DanhengServer-OpenSource/Proto/QuickStartCocoonStageCsReq.cs
2025-10-19 12:47:24 +08:00

348 lines
12 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: QuickStartCocoonStageCsReq.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 QuickStartCocoonStageCsReq.proto</summary>
public static partial class QuickStartCocoonStageCsReqReflection {
#region Descriptor
/// <summary>File descriptor for QuickStartCocoonStageCsReq.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static QuickStartCocoonStageCsReqReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiBRdWlja1N0YXJ0Q29jb29uU3RhZ2VDc1JlcS5wcm90byJyChpRdWlja1N0",
"YXJ0Q29jb29uU3RhZ2VDc1JlcRIeChZjb2Nvb25fY2hhbGxlbmdlX3RpbWVz",
"GA0gASgNEhMKC3dvcmxkX2xldmVsGAEgASgNEgwKBHdhdmUYCiABKA0SEQoJ",
"Y29jb29uX2lkGAcgASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJv",
"dG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.QuickStartCocoonStageCsReq), global::EggLink.DanhengServer.Proto.QuickStartCocoonStageCsReq.Parser, new[]{ "CocoonChallengeTimes", "WorldLevel", "Wave", "CocoonId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class QuickStartCocoonStageCsReq : pb::IMessage<QuickStartCocoonStageCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<QuickStartCocoonStageCsReq> _parser = new pb::MessageParser<QuickStartCocoonStageCsReq>(() => new QuickStartCocoonStageCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<QuickStartCocoonStageCsReq> 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.QuickStartCocoonStageCsReqReflection.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 QuickStartCocoonStageCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public QuickStartCocoonStageCsReq(QuickStartCocoonStageCsReq other) : this() {
cocoonChallengeTimes_ = other.cocoonChallengeTimes_;
worldLevel_ = other.worldLevel_;
wave_ = other.wave_;
cocoonId_ = other.cocoonId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public QuickStartCocoonStageCsReq Clone() {
return new QuickStartCocoonStageCsReq(this);
}
/// <summary>Field number for the "cocoon_challenge_times" field.</summary>
public const int CocoonChallengeTimesFieldNumber = 13;
private uint cocoonChallengeTimes_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CocoonChallengeTimes {
get { return cocoonChallengeTimes_; }
set {
cocoonChallengeTimes_ = value;
}
}
/// <summary>Field number for the "world_level" field.</summary>
public const int WorldLevelFieldNumber = 1;
private uint worldLevel_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint WorldLevel {
get { return worldLevel_; }
set {
worldLevel_ = value;
}
}
/// <summary>Field number for the "wave" field.</summary>
public const int WaveFieldNumber = 10;
private uint wave_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Wave {
get { return wave_; }
set {
wave_ = value;
}
}
/// <summary>Field number for the "cocoon_id" field.</summary>
public const int CocoonIdFieldNumber = 7;
private uint cocoonId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CocoonId {
get { return cocoonId_; }
set {
cocoonId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as QuickStartCocoonStageCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(QuickStartCocoonStageCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (CocoonChallengeTimes != other.CocoonChallengeTimes) return false;
if (WorldLevel != other.WorldLevel) return false;
if (Wave != other.Wave) return false;
if (CocoonId != other.CocoonId) 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 (CocoonChallengeTimes != 0) hash ^= CocoonChallengeTimes.GetHashCode();
if (WorldLevel != 0) hash ^= WorldLevel.GetHashCode();
if (Wave != 0) hash ^= Wave.GetHashCode();
if (CocoonId != 0) hash ^= CocoonId.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 (WorldLevel != 0) {
output.WriteRawTag(8);
output.WriteUInt32(WorldLevel);
}
if (CocoonId != 0) {
output.WriteRawTag(56);
output.WriteUInt32(CocoonId);
}
if (Wave != 0) {
output.WriteRawTag(80);
output.WriteUInt32(Wave);
}
if (CocoonChallengeTimes != 0) {
output.WriteRawTag(104);
output.WriteUInt32(CocoonChallengeTimes);
}
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 (WorldLevel != 0) {
output.WriteRawTag(8);
output.WriteUInt32(WorldLevel);
}
if (CocoonId != 0) {
output.WriteRawTag(56);
output.WriteUInt32(CocoonId);
}
if (Wave != 0) {
output.WriteRawTag(80);
output.WriteUInt32(Wave);
}
if (CocoonChallengeTimes != 0) {
output.WriteRawTag(104);
output.WriteUInt32(CocoonChallengeTimes);
}
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 (CocoonChallengeTimes != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CocoonChallengeTimes);
}
if (WorldLevel != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WorldLevel);
}
if (Wave != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Wave);
}
if (CocoonId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CocoonId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(QuickStartCocoonStageCsReq other) {
if (other == null) {
return;
}
if (other.CocoonChallengeTimes != 0) {
CocoonChallengeTimes = other.CocoonChallengeTimes;
}
if (other.WorldLevel != 0) {
WorldLevel = other.WorldLevel;
}
if (other.Wave != 0) {
Wave = other.Wave;
}
if (other.CocoonId != 0) {
CocoonId = other.CocoonId;
}
_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 8: {
WorldLevel = input.ReadUInt32();
break;
}
case 56: {
CocoonId = input.ReadUInt32();
break;
}
case 80: {
Wave = input.ReadUInt32();
break;
}
case 104: {
CocoonChallengeTimes = 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 8: {
WorldLevel = input.ReadUInt32();
break;
}
case 56: {
CocoonId = input.ReadUInt32();
break;
}
case 80: {
Wave = input.ReadUInt32();
break;
}
case 104: {
CocoonChallengeTimes = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code