Files
DanhengServer-OpenSource/Proto/GetMissionDataScRsp.cs
2024-09-21 19:58:44 +08:00

364 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(
"ChlHZXRNaXNzaW9uRGF0YVNjUnNwLnByb3RvGhFNYWluTWlzc2lvbi5wcm90",
"bxoNTWlzc2lvbi5wcm90byKeAQoTR2V0TWlzc2lvbkRhdGFTY1JzcBIPCgdy",
"ZXRjb2RlGAogASgNEicKEW1haW5fbWlzc2lvbl9saXN0GAwgAygLMgwuTWFp",
"bk1pc3Npb24SEwoLTkNFSkZBTkFOS00YDyABKAgSGAoQdHJhY2tfbWlzc2lv",
"bl9pZBgNIAEoDRIeCgxtaXNzaW9uX2xpc3QYBSADKAsyCC5NaXNzaW9uQh6q",
"AhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.MainMissionReflection.Descriptor, global::EggLink.DanhengServer.Proto.MissionReflection.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[]{ "Retcode", "MainMissionList", "NCEJFANANKM", "TrackMissionId", "MissionList" }, 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() {
retcode_ = other.retcode_;
mainMissionList_ = other.mainMissionList_.Clone();
nCEJFANANKM_ = other.nCEJFANANKM_;
trackMissionId_ = other.trackMissionId_;
missionList_ = other.missionList_.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 "retcode" field.</summary>
public const int RetcodeFieldNumber = 10;
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 = 12;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.MainMission> _repeated_mainMissionList_codec
= pb::FieldCodec.ForMessage(98, 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_; }
}
/// <summary>Field number for the "NCEJFANANKM" field.</summary>
public const int NCEJFANANKMFieldNumber = 15;
private bool nCEJFANANKM_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool NCEJFANANKM {
get { return nCEJFANANKM_; }
set {
nCEJFANANKM_ = value;
}
}
/// <summary>Field number for the "track_mission_id" field.</summary>
public const int TrackMissionIdFieldNumber = 13;
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 "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_; }
}
[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 (Retcode != other.Retcode) return false;
if(!mainMissionList_.Equals(other.mainMissionList_)) return false;
if (NCEJFANANKM != other.NCEJFANANKM) return false;
if (TrackMissionId != other.TrackMissionId) return false;
if(!missionList_.Equals(other.missionList_)) 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 (Retcode != 0) hash ^= Retcode.GetHashCode();
hash ^= mainMissionList_.GetHashCode();
if (NCEJFANANKM != false) hash ^= NCEJFANANKM.GetHashCode();
if (TrackMissionId != 0) hash ^= TrackMissionId.GetHashCode();
hash ^= missionList_.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
missionList_.WriteTo(output, _repeated_missionList_codec);
if (Retcode != 0) {
output.WriteRawTag(80);
output.WriteUInt32(Retcode);
}
mainMissionList_.WriteTo(output, _repeated_mainMissionList_codec);
if (TrackMissionId != 0) {
output.WriteRawTag(104);
output.WriteUInt32(TrackMissionId);
}
if (NCEJFANANKM != false) {
output.WriteRawTag(120);
output.WriteBool(NCEJFANANKM);
}
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) {
missionList_.WriteTo(ref output, _repeated_missionList_codec);
if (Retcode != 0) {
output.WriteRawTag(80);
output.WriteUInt32(Retcode);
}
mainMissionList_.WriteTo(ref output, _repeated_mainMissionList_codec);
if (TrackMissionId != 0) {
output.WriteRawTag(104);
output.WriteUInt32(TrackMissionId);
}
if (NCEJFANANKM != false) {
output.WriteRawTag(120);
output.WriteBool(NCEJFANANKM);
}
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 (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
size += mainMissionList_.CalculateSize(_repeated_mainMissionList_codec);
if (NCEJFANANKM != false) {
size += 1 + 1;
}
if (TrackMissionId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TrackMissionId);
}
size += missionList_.CalculateSize(_repeated_missionList_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;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
mainMissionList_.Add(other.mainMissionList_);
if (other.NCEJFANANKM != false) {
NCEJFANANKM = other.NCEJFANANKM;
}
if (other.TrackMissionId != 0) {
TrackMissionId = other.TrackMissionId;
}
missionList_.Add(other.missionList_);
_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 42: {
missionList_.AddEntriesFrom(input, _repeated_missionList_codec);
break;
}
case 80: {
Retcode = input.ReadUInt32();
break;
}
case 98: {
mainMissionList_.AddEntriesFrom(input, _repeated_mainMissionList_codec);
break;
}
case 104: {
TrackMissionId = input.ReadUInt32();
break;
}
case 120: {
NCEJFANANKM = input.ReadBool();
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 42: {
missionList_.AddEntriesFrom(ref input, _repeated_missionList_codec);
break;
}
case 80: {
Retcode = input.ReadUInt32();
break;
}
case 98: {
mainMissionList_.AddEntriesFrom(ref input, _repeated_mainMissionList_codec);
break;
}
case 104: {
TrackMissionId = input.ReadUInt32();
break;
}
case 120: {
NCEJFANANKM = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code