mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 12:16:03 +08:00
423 lines
15 KiB
C#
423 lines
15 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: SwapLineupCsReq.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 SwapLineupCsReq.proto</summary>
|
|
public static partial class SwapLineupCsReqReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for SwapLineupCsReq.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static SwapLineupCsReqReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChVTd2FwTGluZXVwQ3NSZXEucHJvdG8aFUV4dHJhTGluZXVwVHlwZS5wcm90",
|
|
"byKdAQoPU3dhcExpbmV1cENzUmVxEhMKC0VMTElEQU5KTk9CGA0gASgNEg0K",
|
|
"BWluZGV4GA4gASgNEhAKCHBsYW5lX2lkGAkgASgNEhIKCmlzX3ZpcnR1YWwY",
|
|
"CCABKAgSKwoRZXh0cmFfbGluZXVwX3R5cGUYByABKA4yEC5FeHRyYUxpbmV1",
|
|
"cFR5cGUSEwoLTkVESUtITkdNQkgYDCABKA1CHqoCG0VnZ0xpbmsuRGFuaGVu",
|
|
"Z1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ExtraLineupTypeReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SwapLineupCsReq), global::EggLink.DanhengServer.Proto.SwapLineupCsReq.Parser, new[]{ "ELLIDANJNOB", "Index", "PlaneId", "IsVirtual", "ExtraLineupType", "NEDIKHNGMBH" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class SwapLineupCsReq : pb::IMessage<SwapLineupCsReq>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<SwapLineupCsReq> _parser = new pb::MessageParser<SwapLineupCsReq>(() => new SwapLineupCsReq());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<SwapLineupCsReq> 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.SwapLineupCsReqReflection.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 SwapLineupCsReq() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public SwapLineupCsReq(SwapLineupCsReq other) : this() {
|
|
eLLIDANJNOB_ = other.eLLIDANJNOB_;
|
|
index_ = other.index_;
|
|
planeId_ = other.planeId_;
|
|
isVirtual_ = other.isVirtual_;
|
|
extraLineupType_ = other.extraLineupType_;
|
|
nEDIKHNGMBH_ = other.nEDIKHNGMBH_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public SwapLineupCsReq Clone() {
|
|
return new SwapLineupCsReq(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "ELLIDANJNOB" field.</summary>
|
|
public const int ELLIDANJNOBFieldNumber = 13;
|
|
private uint eLLIDANJNOB_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ELLIDANJNOB {
|
|
get { return eLLIDANJNOB_; }
|
|
set {
|
|
eLLIDANJNOB_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "index" field.</summary>
|
|
public const int IndexFieldNumber = 14;
|
|
private uint index_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Index {
|
|
get { return index_; }
|
|
set {
|
|
index_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "plane_id" field.</summary>
|
|
public const int PlaneIdFieldNumber = 9;
|
|
private uint planeId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint PlaneId {
|
|
get { return planeId_; }
|
|
set {
|
|
planeId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "is_virtual" field.</summary>
|
|
public const int IsVirtualFieldNumber = 8;
|
|
private bool isVirtual_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsVirtual {
|
|
get { return isVirtual_; }
|
|
set {
|
|
isVirtual_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "extra_lineup_type" field.</summary>
|
|
public const int ExtraLineupTypeFieldNumber = 7;
|
|
private global::EggLink.DanhengServer.Proto.ExtraLineupType extraLineupType_ = global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.ExtraLineupType ExtraLineupType {
|
|
get { return extraLineupType_; }
|
|
set {
|
|
extraLineupType_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "NEDIKHNGMBH" field.</summary>
|
|
public const int NEDIKHNGMBHFieldNumber = 12;
|
|
private uint nEDIKHNGMBH_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint NEDIKHNGMBH {
|
|
get { return nEDIKHNGMBH_; }
|
|
set {
|
|
nEDIKHNGMBH_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as SwapLineupCsReq);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(SwapLineupCsReq other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (ELLIDANJNOB != other.ELLIDANJNOB) return false;
|
|
if (Index != other.Index) return false;
|
|
if (PlaneId != other.PlaneId) return false;
|
|
if (IsVirtual != other.IsVirtual) return false;
|
|
if (ExtraLineupType != other.ExtraLineupType) return false;
|
|
if (NEDIKHNGMBH != other.NEDIKHNGMBH) 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 (ELLIDANJNOB != 0) hash ^= ELLIDANJNOB.GetHashCode();
|
|
if (Index != 0) hash ^= Index.GetHashCode();
|
|
if (PlaneId != 0) hash ^= PlaneId.GetHashCode();
|
|
if (IsVirtual != false) hash ^= IsVirtual.GetHashCode();
|
|
if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) hash ^= ExtraLineupType.GetHashCode();
|
|
if (NEDIKHNGMBH != 0) hash ^= NEDIKHNGMBH.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 (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) {
|
|
output.WriteRawTag(56);
|
|
output.WriteEnum((int) ExtraLineupType);
|
|
}
|
|
if (IsVirtual != false) {
|
|
output.WriteRawTag(64);
|
|
output.WriteBool(IsVirtual);
|
|
}
|
|
if (PlaneId != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(PlaneId);
|
|
}
|
|
if (NEDIKHNGMBH != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(NEDIKHNGMBH);
|
|
}
|
|
if (ELLIDANJNOB != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(ELLIDANJNOB);
|
|
}
|
|
if (Index != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(Index);
|
|
}
|
|
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 (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) {
|
|
output.WriteRawTag(56);
|
|
output.WriteEnum((int) ExtraLineupType);
|
|
}
|
|
if (IsVirtual != false) {
|
|
output.WriteRawTag(64);
|
|
output.WriteBool(IsVirtual);
|
|
}
|
|
if (PlaneId != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(PlaneId);
|
|
}
|
|
if (NEDIKHNGMBH != 0) {
|
|
output.WriteRawTag(96);
|
|
output.WriteUInt32(NEDIKHNGMBH);
|
|
}
|
|
if (ELLIDANJNOB != 0) {
|
|
output.WriteRawTag(104);
|
|
output.WriteUInt32(ELLIDANJNOB);
|
|
}
|
|
if (Index != 0) {
|
|
output.WriteRawTag(112);
|
|
output.WriteUInt32(Index);
|
|
}
|
|
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 (ELLIDANJNOB != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ELLIDANJNOB);
|
|
}
|
|
if (Index != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index);
|
|
}
|
|
if (PlaneId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PlaneId);
|
|
}
|
|
if (IsVirtual != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ExtraLineupType);
|
|
}
|
|
if (NEDIKHNGMBH != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NEDIKHNGMBH);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(SwapLineupCsReq other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.ELLIDANJNOB != 0) {
|
|
ELLIDANJNOB = other.ELLIDANJNOB;
|
|
}
|
|
if (other.Index != 0) {
|
|
Index = other.Index;
|
|
}
|
|
if (other.PlaneId != 0) {
|
|
PlaneId = other.PlaneId;
|
|
}
|
|
if (other.IsVirtual != false) {
|
|
IsVirtual = other.IsVirtual;
|
|
}
|
|
if (other.ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) {
|
|
ExtraLineupType = other.ExtraLineupType;
|
|
}
|
|
if (other.NEDIKHNGMBH != 0) {
|
|
NEDIKHNGMBH = other.NEDIKHNGMBH;
|
|
}
|
|
_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: {
|
|
ExtraLineupType = (global::EggLink.DanhengServer.Proto.ExtraLineupType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 64: {
|
|
IsVirtual = input.ReadBool();
|
|
break;
|
|
}
|
|
case 72: {
|
|
PlaneId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
NEDIKHNGMBH = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
ELLIDANJNOB = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
Index = 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: {
|
|
ExtraLineupType = (global::EggLink.DanhengServer.Proto.ExtraLineupType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 64: {
|
|
IsVirtual = input.ReadBool();
|
|
break;
|
|
}
|
|
case 72: {
|
|
PlaneId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
NEDIKHNGMBH = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
ELLIDANJNOB = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
Index = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|