mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
317 lines
12 KiB
C#
317 lines
12 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: GridFightLayerInfo.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 GridFightLayerInfo.proto</summary>
|
|
public static partial class GridFightLayerInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for GridFightLayerInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GridFightLayerInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChhHcmlkRmlnaHRMYXllckluZm8ucHJvdG8aGEdyaWRGaWdodFJvdXRlSW5m",
|
|
"by5wcm90byJpChJHcmlkRmlnaHRMYXllckluZm8SKgoKcm91dGVfaW5mbxj6",
|
|
"DiABKAsyEy5HcmlkRmlnaHRSb3V0ZUluZm9IABIYChByb3V0ZV9pc19wZW5k",
|
|
"aW5nGAcgASgIQg0KC0VPT01MR0FBTkhLQh6qAhtFZ2dMaW5rLkRhbmhlbmdT",
|
|
"ZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightRouteInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightLayerInfo), global::EggLink.DanhengServer.Proto.GridFightLayerInfo.Parser, new[]{ "RouteInfo", "RouteIsPending" }, new[]{ "EOOMLGAANHK" }, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GridFightLayerInfo : pb::IMessage<GridFightLayerInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GridFightLayerInfo> _parser = new pb::MessageParser<GridFightLayerInfo>(() => new GridFightLayerInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GridFightLayerInfo> 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.GridFightLayerInfoReflection.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 GridFightLayerInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightLayerInfo(GridFightLayerInfo other) : this() {
|
|
routeIsPending_ = other.routeIsPending_;
|
|
switch (other.EOOMLGAANHKCase) {
|
|
case EOOMLGAANHKOneofCase.RouteInfo:
|
|
RouteInfo = other.RouteInfo.Clone();
|
|
break;
|
|
}
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightLayerInfo Clone() {
|
|
return new GridFightLayerInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "route_info" field.</summary>
|
|
public const int RouteInfoFieldNumber = 1914;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.GridFightRouteInfo RouteInfo {
|
|
get { return eOOMLGAANHKCase_ == EOOMLGAANHKOneofCase.RouteInfo ? (global::EggLink.DanhengServer.Proto.GridFightRouteInfo) eOOMLGAANHK_ : null; }
|
|
set {
|
|
eOOMLGAANHK_ = value;
|
|
eOOMLGAANHKCase_ = value == null ? EOOMLGAANHKOneofCase.None : EOOMLGAANHKOneofCase.RouteInfo;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "route_is_pending" field.</summary>
|
|
public const int RouteIsPendingFieldNumber = 7;
|
|
private bool routeIsPending_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool RouteIsPending {
|
|
get { return routeIsPending_; }
|
|
set {
|
|
routeIsPending_ = value;
|
|
}
|
|
}
|
|
|
|
private object eOOMLGAANHK_;
|
|
/// <summary>Enum of possible cases for the "EOOMLGAANHK" oneof.</summary>
|
|
public enum EOOMLGAANHKOneofCase {
|
|
None = 0,
|
|
RouteInfo = 1914,
|
|
}
|
|
private EOOMLGAANHKOneofCase eOOMLGAANHKCase_ = EOOMLGAANHKOneofCase.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public EOOMLGAANHKOneofCase EOOMLGAANHKCase {
|
|
get { return eOOMLGAANHKCase_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void ClearEOOMLGAANHK() {
|
|
eOOMLGAANHKCase_ = EOOMLGAANHKOneofCase.None;
|
|
eOOMLGAANHK_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GridFightLayerInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GridFightLayerInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(RouteInfo, other.RouteInfo)) return false;
|
|
if (RouteIsPending != other.RouteIsPending) return false;
|
|
if (EOOMLGAANHKCase != other.EOOMLGAANHKCase) 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 (eOOMLGAANHKCase_ == EOOMLGAANHKOneofCase.RouteInfo) hash ^= RouteInfo.GetHashCode();
|
|
if (RouteIsPending != false) hash ^= RouteIsPending.GetHashCode();
|
|
hash ^= (int) eOOMLGAANHKCase_;
|
|
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 (RouteIsPending != false) {
|
|
output.WriteRawTag(56);
|
|
output.WriteBool(RouteIsPending);
|
|
}
|
|
if (eOOMLGAANHKCase_ == EOOMLGAANHKOneofCase.RouteInfo) {
|
|
output.WriteRawTag(210, 119);
|
|
output.WriteMessage(RouteInfo);
|
|
}
|
|
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 (RouteIsPending != false) {
|
|
output.WriteRawTag(56);
|
|
output.WriteBool(RouteIsPending);
|
|
}
|
|
if (eOOMLGAANHKCase_ == EOOMLGAANHKOneofCase.RouteInfo) {
|
|
output.WriteRawTag(210, 119);
|
|
output.WriteMessage(RouteInfo);
|
|
}
|
|
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 (eOOMLGAANHKCase_ == EOOMLGAANHKOneofCase.RouteInfo) {
|
|
size += 2 + pb::CodedOutputStream.ComputeMessageSize(RouteInfo);
|
|
}
|
|
if (RouteIsPending != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GridFightLayerInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.RouteIsPending != false) {
|
|
RouteIsPending = other.RouteIsPending;
|
|
}
|
|
switch (other.EOOMLGAANHKCase) {
|
|
case EOOMLGAANHKOneofCase.RouteInfo:
|
|
if (RouteInfo == null) {
|
|
RouteInfo = new global::EggLink.DanhengServer.Proto.GridFightRouteInfo();
|
|
}
|
|
RouteInfo.MergeFrom(other.RouteInfo);
|
|
break;
|
|
}
|
|
|
|
_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: {
|
|
RouteIsPending = input.ReadBool();
|
|
break;
|
|
}
|
|
case 15314: {
|
|
global::EggLink.DanhengServer.Proto.GridFightRouteInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightRouteInfo();
|
|
if (eOOMLGAANHKCase_ == EOOMLGAANHKOneofCase.RouteInfo) {
|
|
subBuilder.MergeFrom(RouteInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
RouteInfo = subBuilder;
|
|
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: {
|
|
RouteIsPending = input.ReadBool();
|
|
break;
|
|
}
|
|
case 15314: {
|
|
global::EggLink.DanhengServer.Proto.GridFightRouteInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightRouteInfo();
|
|
if (eOOMLGAANHKCase_ == EOOMLGAANHKOneofCase.RouteInfo) {
|
|
subBuilder.MergeFrom(RouteInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
RouteInfo = subBuilder;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|