mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
355 lines
14 KiB
C#
355 lines
14 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: GetMissionDataScRsp.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 GetMissionDataScRsp.proto</summary>
|
|
public static partial class GetMissionDataScRspReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for GetMissionDataScRsp.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GetMissionDataScRspReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChlHZXRNaXNzaW9uRGF0YVNjUnNwLnByb3RvGg1NaXNzaW9uLnByb3RvGhFN",
|
|
"YWluTWlzc2lvbi5wcm90byKeAQoTR2V0TWlzc2lvbkRhdGFTY1JzcBIeCgxt",
|
|
"aXNzaW9uX2xpc3QYBSADKAsyCC5NaXNzaW9uEhMKC05LTlBFS09CSEVJGAwg",
|
|
"AygNEhgKEHRyYWNrX21pc3Npb25faWQYCSABKA0SDwoHcmV0Y29kZRgEIAEo",
|
|
"DRInChFtYWluX21pc3Npb25fbGlzdBgIIAMoCzIMLk1haW5NaXNzaW9uQh6q",
|
|
"AhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.MissionReflection.Descriptor, global::EggLink.DanhengServer.Proto.MainMissionReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetMissionDataScRsp), global::EggLink.DanhengServer.Proto.GetMissionDataScRsp.Parser, new[]{ "MissionList", "NKNPEKOBHEI", "TrackMissionId", "Retcode", "MainMissionList" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GetMissionDataScRsp : pb::IMessage<GetMissionDataScRsp>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GetMissionDataScRsp> _parser = new pb::MessageParser<GetMissionDataScRsp>(() => new GetMissionDataScRsp());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GetMissionDataScRsp> 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.GetMissionDataScRspReflection.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 GetMissionDataScRsp() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetMissionDataScRsp(GetMissionDataScRsp other) : this() {
|
|
missionList_ = other.missionList_.Clone();
|
|
nKNPEKOBHEI_ = other.nKNPEKOBHEI_.Clone();
|
|
trackMissionId_ = other.trackMissionId_;
|
|
retcode_ = other.retcode_;
|
|
mainMissionList_ = other.mainMissionList_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GetMissionDataScRsp Clone() {
|
|
return new GetMissionDataScRsp(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "mission_list" field.</summary>
|
|
public const int MissionListFieldNumber = 5;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.Mission> _repeated_missionList_codec
|
|
= pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.Mission.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Mission> missionList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Mission>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Mission> MissionList {
|
|
get { return missionList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "NKNPEKOBHEI" field.</summary>
|
|
public const int NKNPEKOBHEIFieldNumber = 12;
|
|
private static readonly pb::FieldCodec<uint> _repeated_nKNPEKOBHEI_codec
|
|
= pb::FieldCodec.ForUInt32(98);
|
|
private readonly pbc::RepeatedField<uint> nKNPEKOBHEI_ = new pbc::RepeatedField<uint>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<uint> NKNPEKOBHEI {
|
|
get { return nKNPEKOBHEI_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "track_mission_id" field.</summary>
|
|
public const int TrackMissionIdFieldNumber = 9;
|
|
private uint trackMissionId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint TrackMissionId {
|
|
get { return trackMissionId_; }
|
|
set {
|
|
trackMissionId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "retcode" field.</summary>
|
|
public const int RetcodeFieldNumber = 4;
|
|
private uint retcode_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Retcode {
|
|
get { return retcode_; }
|
|
set {
|
|
retcode_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "main_mission_list" field.</summary>
|
|
public const int MainMissionListFieldNumber = 8;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.MainMission> _repeated_mainMissionList_codec
|
|
= pb::FieldCodec.ForMessage(66, global::EggLink.DanhengServer.Proto.MainMission.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MainMission> mainMissionList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MainMission>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MainMission> MainMissionList {
|
|
get { return mainMissionList_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GetMissionDataScRsp);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GetMissionDataScRsp other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!missionList_.Equals(other.missionList_)) return false;
|
|
if(!nKNPEKOBHEI_.Equals(other.nKNPEKOBHEI_)) return false;
|
|
if (TrackMissionId != other.TrackMissionId) return false;
|
|
if (Retcode != other.Retcode) return false;
|
|
if(!mainMissionList_.Equals(other.mainMissionList_)) 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;
|
|
hash ^= missionList_.GetHashCode();
|
|
hash ^= nKNPEKOBHEI_.GetHashCode();
|
|
if (TrackMissionId != 0) hash ^= TrackMissionId.GetHashCode();
|
|
if (Retcode != 0) hash ^= Retcode.GetHashCode();
|
|
hash ^= mainMissionList_.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 (Retcode != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
missionList_.WriteTo(output, _repeated_missionList_codec);
|
|
mainMissionList_.WriteTo(output, _repeated_mainMissionList_codec);
|
|
if (TrackMissionId != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(TrackMissionId);
|
|
}
|
|
nKNPEKOBHEI_.WriteTo(output, _repeated_nKNPEKOBHEI_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 (Retcode != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteUInt32(Retcode);
|
|
}
|
|
missionList_.WriteTo(ref output, _repeated_missionList_codec);
|
|
mainMissionList_.WriteTo(ref output, _repeated_mainMissionList_codec);
|
|
if (TrackMissionId != 0) {
|
|
output.WriteRawTag(72);
|
|
output.WriteUInt32(TrackMissionId);
|
|
}
|
|
nKNPEKOBHEI_.WriteTo(ref output, _repeated_nKNPEKOBHEI_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;
|
|
size += missionList_.CalculateSize(_repeated_missionList_codec);
|
|
size += nKNPEKOBHEI_.CalculateSize(_repeated_nKNPEKOBHEI_codec);
|
|
if (TrackMissionId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TrackMissionId);
|
|
}
|
|
if (Retcode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
|
}
|
|
size += mainMissionList_.CalculateSize(_repeated_mainMissionList_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GetMissionDataScRsp other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
missionList_.Add(other.missionList_);
|
|
nKNPEKOBHEI_.Add(other.nKNPEKOBHEI_);
|
|
if (other.TrackMissionId != 0) {
|
|
TrackMissionId = other.TrackMissionId;
|
|
}
|
|
if (other.Retcode != 0) {
|
|
Retcode = other.Retcode;
|
|
}
|
|
mainMissionList_.Add(other.mainMissionList_);
|
|
_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 32: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 42: {
|
|
missionList_.AddEntriesFrom(input, _repeated_missionList_codec);
|
|
break;
|
|
}
|
|
case 66: {
|
|
mainMissionList_.AddEntriesFrom(input, _repeated_mainMissionList_codec);
|
|
break;
|
|
}
|
|
case 72: {
|
|
TrackMissionId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 98:
|
|
case 96: {
|
|
nKNPEKOBHEI_.AddEntriesFrom(input, _repeated_nKNPEKOBHEI_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 32: {
|
|
Retcode = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 42: {
|
|
missionList_.AddEntriesFrom(ref input, _repeated_missionList_codec);
|
|
break;
|
|
}
|
|
case 66: {
|
|
mainMissionList_.AddEntriesFrom(ref input, _repeated_mainMissionList_codec);
|
|
break;
|
|
}
|
|
case 72: {
|
|
TrackMissionId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 98:
|
|
case 96: {
|
|
nKNPEKOBHEI_.AddEntriesFrom(ref input, _repeated_nKNPEKOBHEI_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|