mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
310 lines
10 KiB
C#
310 lines
10 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(
|
|
"CiBRdWlja1N0YXJ0Q29jb29uU3RhZ2VDc1JlcS5wcm90byJSChpRdWlja1N0",
|
|
"YXJ0Q29jb29uU3RhZ2VDc1JlcRIRCgljb2Nvb25faWQYByABKA0SEwoLd29y",
|
|
"bGRfbGV2ZWwYDyABKA0SDAoEd2F2ZRgKIAEoDUIeqgIbRWdnTGluay5EYW5o",
|
|
"ZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
|
|
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[]{ "CocoonId", "WorldLevel", "Wave" }, 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() {
|
|
cocoonId_ = other.cocoonId_;
|
|
worldLevel_ = other.worldLevel_;
|
|
wave_ = other.wave_;
|
|
_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_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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "world_level" field.</summary>
|
|
public const int WorldLevelFieldNumber = 15;
|
|
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;
|
|
}
|
|
}
|
|
|
|
[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 (CocoonId != other.CocoonId) return false;
|
|
if (WorldLevel != other.WorldLevel) return false;
|
|
if (Wave != other.Wave) 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 (CocoonId != 0) hash ^= CocoonId.GetHashCode();
|
|
if (WorldLevel != 0) hash ^= WorldLevel.GetHashCode();
|
|
if (Wave != 0) hash ^= Wave.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 (CocoonId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(CocoonId);
|
|
}
|
|
if (Wave != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(Wave);
|
|
}
|
|
if (WorldLevel != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(WorldLevel);
|
|
}
|
|
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 (CocoonId != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(CocoonId);
|
|
}
|
|
if (Wave != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(Wave);
|
|
}
|
|
if (WorldLevel != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(WorldLevel);
|
|
}
|
|
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 (CocoonId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CocoonId);
|
|
}
|
|
if (WorldLevel != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WorldLevel);
|
|
}
|
|
if (Wave != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Wave);
|
|
}
|
|
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.CocoonId != 0) {
|
|
CocoonId = other.CocoonId;
|
|
}
|
|
if (other.WorldLevel != 0) {
|
|
WorldLevel = other.WorldLevel;
|
|
}
|
|
if (other.Wave != 0) {
|
|
Wave = other.Wave;
|
|
}
|
|
_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 56: {
|
|
CocoonId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
Wave = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
WorldLevel = 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 56: {
|
|
CocoonId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
Wave = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 120: {
|
|
WorldLevel = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|