Files
DanhengServer-OpenSource/Proto/MissionEventSync.cs
2024-10-05 22:40:41 +08:00

281 lines
11 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: MissionEventSync.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 MissionEventSync.proto</summary>
public static partial class MissionEventSyncReflection {
#region Descriptor
/// <summary>File descriptor for MissionEventSync.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static MissionEventSyncReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChZNaXNzaW9uRXZlbnRTeW5jLnByb3RvGg1NaXNzaW9uLnByb3RvImIKEE1p",
"c3Npb25FdmVudFN5bmMSEwoLQkJBT0JNUElESU4YDyADKA0SEwoLRkVITkJP",
"S05HRUsYAyADKA0SJAoSbWlzc2lvbl9ldmVudF9saXN0GAsgAygLMgguTWlz",
"c2lvbkIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.MissionReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.MissionEventSync), global::EggLink.DanhengServer.Proto.MissionEventSync.Parser, new[]{ "BBAOBMPIDIN", "FEHNBOKNGEK", "MissionEventList" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class MissionEventSync : pb::IMessage<MissionEventSync>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<MissionEventSync> _parser = new pb::MessageParser<MissionEventSync>(() => new MissionEventSync());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<MissionEventSync> 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.MissionEventSyncReflection.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 MissionEventSync() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MissionEventSync(MissionEventSync other) : this() {
bBAOBMPIDIN_ = other.bBAOBMPIDIN_.Clone();
fEHNBOKNGEK_ = other.fEHNBOKNGEK_.Clone();
missionEventList_ = other.missionEventList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MissionEventSync Clone() {
return new MissionEventSync(this);
}
/// <summary>Field number for the "BBAOBMPIDIN" field.</summary>
public const int BBAOBMPIDINFieldNumber = 15;
private static readonly pb::FieldCodec<uint> _repeated_bBAOBMPIDIN_codec
= pb::FieldCodec.ForUInt32(122);
private readonly pbc::RepeatedField<uint> bBAOBMPIDIN_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> BBAOBMPIDIN {
get { return bBAOBMPIDIN_; }
}
/// <summary>Field number for the "FEHNBOKNGEK" field.</summary>
public const int FEHNBOKNGEKFieldNumber = 3;
private static readonly pb::FieldCodec<uint> _repeated_fEHNBOKNGEK_codec
= pb::FieldCodec.ForUInt32(26);
private readonly pbc::RepeatedField<uint> fEHNBOKNGEK_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> FEHNBOKNGEK {
get { return fEHNBOKNGEK_; }
}
/// <summary>Field number for the "mission_event_list" field.</summary>
public const int MissionEventListFieldNumber = 11;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.Mission> _repeated_missionEventList_codec
= pb::FieldCodec.ForMessage(90, global::EggLink.DanhengServer.Proto.Mission.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.Mission> missionEventList_ = 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> MissionEventList {
get { return missionEventList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MissionEventSync);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MissionEventSync other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!bBAOBMPIDIN_.Equals(other.bBAOBMPIDIN_)) return false;
if(!fEHNBOKNGEK_.Equals(other.fEHNBOKNGEK_)) return false;
if(!missionEventList_.Equals(other.missionEventList_)) 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 ^= bBAOBMPIDIN_.GetHashCode();
hash ^= fEHNBOKNGEK_.GetHashCode();
hash ^= missionEventList_.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
fEHNBOKNGEK_.WriteTo(output, _repeated_fEHNBOKNGEK_codec);
missionEventList_.WriteTo(output, _repeated_missionEventList_codec);
bBAOBMPIDIN_.WriteTo(output, _repeated_bBAOBMPIDIN_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) {
fEHNBOKNGEK_.WriteTo(ref output, _repeated_fEHNBOKNGEK_codec);
missionEventList_.WriteTo(ref output, _repeated_missionEventList_codec);
bBAOBMPIDIN_.WriteTo(ref output, _repeated_bBAOBMPIDIN_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 += bBAOBMPIDIN_.CalculateSize(_repeated_bBAOBMPIDIN_codec);
size += fEHNBOKNGEK_.CalculateSize(_repeated_fEHNBOKNGEK_codec);
size += missionEventList_.CalculateSize(_repeated_missionEventList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MissionEventSync other) {
if (other == null) {
return;
}
bBAOBMPIDIN_.Add(other.bBAOBMPIDIN_);
fEHNBOKNGEK_.Add(other.fEHNBOKNGEK_);
missionEventList_.Add(other.missionEventList_);
_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 26:
case 24: {
fEHNBOKNGEK_.AddEntriesFrom(input, _repeated_fEHNBOKNGEK_codec);
break;
}
case 90: {
missionEventList_.AddEntriesFrom(input, _repeated_missionEventList_codec);
break;
}
case 122:
case 120: {
bBAOBMPIDIN_.AddEntriesFrom(input, _repeated_bBAOBMPIDIN_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 26:
case 24: {
fEHNBOKNGEK_.AddEntriesFrom(ref input, _repeated_fEHNBOKNGEK_codec);
break;
}
case 90: {
missionEventList_.AddEntriesFrom(ref input, _repeated_missionEventList_codec);
break;
}
case 122:
case 120: {
bBAOBMPIDIN_.AddEntriesFrom(ref input, _repeated_bBAOBMPIDIN_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code