Files
DanhengServer-OpenSource/Proto/FHABEIKAFBO.cs
2025-09-27 13:58:04 +08:00

317 lines
12 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: FHABEIKAFBO.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 FHABEIKAFBO.proto</summary>
public static partial class FHABEIKAFBOReflection {
#region Descriptor
/// <summary>File descriptor for FHABEIKAFBO.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static FHABEIKAFBOReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChFGSEFCRUlLQUZCTy5wcm90bxocTWlzc2lvbkN1c3RvbVZhbHVlTGlzdC5w",
"cm90byJfCgtGSEFCRUlLQUZCTxI1ChFjdXN0b21fdmFsdWVfbGlzdBjcCyAB",
"KAsyFy5NaXNzaW9uQ3VzdG9tVmFsdWVMaXN0SAASCgoCaWQYDyABKA1CDQoL",
"SUNBSUJFQUlBR0NCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IG",
"cHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.MissionCustomValueListReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.FHABEIKAFBO), global::EggLink.DanhengServer.Proto.FHABEIKAFBO.Parser, new[]{ "CustomValueList", "Id" }, new[]{ "ICAIBEAIAGC" }, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class FHABEIKAFBO : pb::IMessage<FHABEIKAFBO>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<FHABEIKAFBO> _parser = new pb::MessageParser<FHABEIKAFBO>(() => new FHABEIKAFBO());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<FHABEIKAFBO> 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.FHABEIKAFBOReflection.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 FHABEIKAFBO() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public FHABEIKAFBO(FHABEIKAFBO other) : this() {
id_ = other.id_;
switch (other.ICAIBEAIAGCCase) {
case ICAIBEAIAGCOneofCase.CustomValueList:
CustomValueList = other.CustomValueList.Clone();
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public FHABEIKAFBO Clone() {
return new FHABEIKAFBO(this);
}
/// <summary>Field number for the "custom_value_list" field.</summary>
public const int CustomValueListFieldNumber = 1500;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.MissionCustomValueList CustomValueList {
get { return iCAIBEAIAGCCase_ == ICAIBEAIAGCOneofCase.CustomValueList ? (global::EggLink.DanhengServer.Proto.MissionCustomValueList) iCAIBEAIAGC_ : null; }
set {
iCAIBEAIAGC_ = value;
iCAIBEAIAGCCase_ = value == null ? ICAIBEAIAGCOneofCase.None : ICAIBEAIAGCOneofCase.CustomValueList;
}
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 15;
private uint id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Id {
get { return id_; }
set {
id_ = value;
}
}
private object iCAIBEAIAGC_;
/// <summary>Enum of possible cases for the "ICAIBEAIAGC" oneof.</summary>
public enum ICAIBEAIAGCOneofCase {
None = 0,
CustomValueList = 1500,
}
private ICAIBEAIAGCOneofCase iCAIBEAIAGCCase_ = ICAIBEAIAGCOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ICAIBEAIAGCOneofCase ICAIBEAIAGCCase {
get { return iCAIBEAIAGCCase_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearICAIBEAIAGC() {
iCAIBEAIAGCCase_ = ICAIBEAIAGCOneofCase.None;
iCAIBEAIAGC_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as FHABEIKAFBO);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(FHABEIKAFBO other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(CustomValueList, other.CustomValueList)) return false;
if (Id != other.Id) return false;
if (ICAIBEAIAGCCase != other.ICAIBEAIAGCCase) 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 (iCAIBEAIAGCCase_ == ICAIBEAIAGCOneofCase.CustomValueList) hash ^= CustomValueList.GetHashCode();
if (Id != 0) hash ^= Id.GetHashCode();
hash ^= (int) iCAIBEAIAGCCase_;
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 (Id != 0) {
output.WriteRawTag(120);
output.WriteUInt32(Id);
}
if (iCAIBEAIAGCCase_ == ICAIBEAIAGCOneofCase.CustomValueList) {
output.WriteRawTag(226, 93);
output.WriteMessage(CustomValueList);
}
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 (Id != 0) {
output.WriteRawTag(120);
output.WriteUInt32(Id);
}
if (iCAIBEAIAGCCase_ == ICAIBEAIAGCOneofCase.CustomValueList) {
output.WriteRawTag(226, 93);
output.WriteMessage(CustomValueList);
}
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 (iCAIBEAIAGCCase_ == ICAIBEAIAGCOneofCase.CustomValueList) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(CustomValueList);
}
if (Id != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(FHABEIKAFBO other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
switch (other.ICAIBEAIAGCCase) {
case ICAIBEAIAGCOneofCase.CustomValueList:
if (CustomValueList == null) {
CustomValueList = new global::EggLink.DanhengServer.Proto.MissionCustomValueList();
}
CustomValueList.MergeFrom(other.CustomValueList);
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 120: {
Id = input.ReadUInt32();
break;
}
case 12002: {
global::EggLink.DanhengServer.Proto.MissionCustomValueList subBuilder = new global::EggLink.DanhengServer.Proto.MissionCustomValueList();
if (iCAIBEAIAGCCase_ == ICAIBEAIAGCOneofCase.CustomValueList) {
subBuilder.MergeFrom(CustomValueList);
}
input.ReadMessage(subBuilder);
CustomValueList = 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 120: {
Id = input.ReadUInt32();
break;
}
case 12002: {
global::EggLink.DanhengServer.Proto.MissionCustomValueList subBuilder = new global::EggLink.DanhengServer.Proto.MissionCustomValueList();
if (iCAIBEAIAGCCase_ == ICAIBEAIAGCOneofCase.CustomValueList) {
subBuilder.MergeFrom(CustomValueList);
}
input.ReadMessage(subBuilder);
CustomValueList = subBuilder;
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code