mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 12:46:03 +08:00
299 lines
11 KiB
C#
299 lines
11 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: LogisticsMap.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 LogisticsMap.proto</summary>
|
|
public static partial class LogisticsMapReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for LogisticsMap.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static LogisticsMapReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChJMb2dpc3RpY3NNYXAucHJvdG8aEUREQUFNTU1PSURFLnByb3RvIl8KDExv",
|
|
"Z2lzdGljc01hcBIOCgZtYXBfaWQYBiABKA0SIQoLTEZFQVBFSk5IQkoYDSAD",
|
|
"KAsyDC5EREFBTU1NT0lERRIcChR0b3RhbF9kZWxheV9jdW11bGF0ZRgDIAEo",
|
|
"DUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.DDAAMMMOIDEReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.LogisticsMap), global::EggLink.DanhengServer.Proto.LogisticsMap.Parser, new[]{ "MapId", "LFEAPEJNHBJ", "TotalDelayCumulate" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class LogisticsMap : pb::IMessage<LogisticsMap>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<LogisticsMap> _parser = new pb::MessageParser<LogisticsMap>(() => new LogisticsMap());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<LogisticsMap> 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.LogisticsMapReflection.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 LogisticsMap() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public LogisticsMap(LogisticsMap other) : this() {
|
|
mapId_ = other.mapId_;
|
|
lFEAPEJNHBJ_ = other.lFEAPEJNHBJ_.Clone();
|
|
totalDelayCumulate_ = other.totalDelayCumulate_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public LogisticsMap Clone() {
|
|
return new LogisticsMap(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "map_id" field.</summary>
|
|
public const int MapIdFieldNumber = 6;
|
|
private uint mapId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint MapId {
|
|
get { return mapId_; }
|
|
set {
|
|
mapId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "LFEAPEJNHBJ" field.</summary>
|
|
public const int LFEAPEJNHBJFieldNumber = 13;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.DDAAMMMOIDE> _repeated_lFEAPEJNHBJ_codec
|
|
= pb::FieldCodec.ForMessage(106, global::EggLink.DanhengServer.Proto.DDAAMMMOIDE.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.DDAAMMMOIDE> lFEAPEJNHBJ_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.DDAAMMMOIDE>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.DDAAMMMOIDE> LFEAPEJNHBJ {
|
|
get { return lFEAPEJNHBJ_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "total_delay_cumulate" field.</summary>
|
|
public const int TotalDelayCumulateFieldNumber = 3;
|
|
private uint totalDelayCumulate_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint TotalDelayCumulate {
|
|
get { return totalDelayCumulate_; }
|
|
set {
|
|
totalDelayCumulate_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as LogisticsMap);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(LogisticsMap other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (MapId != other.MapId) return false;
|
|
if(!lFEAPEJNHBJ_.Equals(other.lFEAPEJNHBJ_)) return false;
|
|
if (TotalDelayCumulate != other.TotalDelayCumulate) 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 (MapId != 0) hash ^= MapId.GetHashCode();
|
|
hash ^= lFEAPEJNHBJ_.GetHashCode();
|
|
if (TotalDelayCumulate != 0) hash ^= TotalDelayCumulate.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 (TotalDelayCumulate != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(TotalDelayCumulate);
|
|
}
|
|
if (MapId != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(MapId);
|
|
}
|
|
lFEAPEJNHBJ_.WriteTo(output, _repeated_lFEAPEJNHBJ_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 (TotalDelayCumulate != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(TotalDelayCumulate);
|
|
}
|
|
if (MapId != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(MapId);
|
|
}
|
|
lFEAPEJNHBJ_.WriteTo(ref output, _repeated_lFEAPEJNHBJ_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 (MapId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MapId);
|
|
}
|
|
size += lFEAPEJNHBJ_.CalculateSize(_repeated_lFEAPEJNHBJ_codec);
|
|
if (TotalDelayCumulate != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TotalDelayCumulate);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(LogisticsMap other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.MapId != 0) {
|
|
MapId = other.MapId;
|
|
}
|
|
lFEAPEJNHBJ_.Add(other.lFEAPEJNHBJ_);
|
|
if (other.TotalDelayCumulate != 0) {
|
|
TotalDelayCumulate = other.TotalDelayCumulate;
|
|
}
|
|
_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: {
|
|
TotalDelayCumulate = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
MapId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106: {
|
|
lFEAPEJNHBJ_.AddEntriesFrom(input, _repeated_lFEAPEJNHBJ_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: {
|
|
TotalDelayCumulate = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
MapId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106: {
|
|
lFEAPEJNHBJ_.AddEntriesFrom(ref input, _repeated_lFEAPEJNHBJ_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|