mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
300 lines
11 KiB
C#
300 lines
11 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: HPIOFDCGMEJ.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 HPIOFDCGMEJ.proto</summary>
|
|
public static partial class HPIOFDCGMEJReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for HPIOFDCGMEJ.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static HPIOFDCGMEJReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChFIUElPRkRDR01FSi5wcm90bxoYRmVhdHVyZVN3aXRjaFBhcmFtLnByb3Rv",
|
|
"GhdGZWF0dXJlU3dpdGNoVHlwZS5wcm90byJuCgtIUElPRkRDR01FShIgCgR0",
|
|
"eXBlGAEgASgOMhIuRmVhdHVyZVN3aXRjaFR5cGUSKAoLTkpDSkROSFBDSk4Y",
|
|
"AiADKAsyEy5GZWF0dXJlU3dpdGNoUGFyYW0SEwoLT0FGTUxKTURKRk8YAyAB",
|
|
"KAhCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.FeatureSwitchParamReflection.Descriptor, global::EggLink.DanhengServer.Proto.FeatureSwitchTypeReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.HPIOFDCGMEJ), global::EggLink.DanhengServer.Proto.HPIOFDCGMEJ.Parser, new[]{ "Type", "NJCJDNHPCJN", "OAFMLJMDJFO" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class HPIOFDCGMEJ : pb::IMessage<HPIOFDCGMEJ>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<HPIOFDCGMEJ> _parser = new pb::MessageParser<HPIOFDCGMEJ>(() => new HPIOFDCGMEJ());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<HPIOFDCGMEJ> 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.HPIOFDCGMEJReflection.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 HPIOFDCGMEJ() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public HPIOFDCGMEJ(HPIOFDCGMEJ other) : this() {
|
|
type_ = other.type_;
|
|
nJCJDNHPCJN_ = other.nJCJDNHPCJN_.Clone();
|
|
oAFMLJMDJFO_ = other.oAFMLJMDJFO_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public HPIOFDCGMEJ Clone() {
|
|
return new HPIOFDCGMEJ(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "type" field.</summary>
|
|
public const int TypeFieldNumber = 1;
|
|
private global::EggLink.DanhengServer.Proto.FeatureSwitchType type_ = global::EggLink.DanhengServer.Proto.FeatureSwitchType.FeatureSwitchNone;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.FeatureSwitchType Type {
|
|
get { return type_; }
|
|
set {
|
|
type_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "NJCJDNHPCJN" field.</summary>
|
|
public const int NJCJDNHPCJNFieldNumber = 2;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.FeatureSwitchParam> _repeated_nJCJDNHPCJN_codec
|
|
= pb::FieldCodec.ForMessage(18, global::EggLink.DanhengServer.Proto.FeatureSwitchParam.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.FeatureSwitchParam> nJCJDNHPCJN_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.FeatureSwitchParam>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.FeatureSwitchParam> NJCJDNHPCJN {
|
|
get { return nJCJDNHPCJN_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "OAFMLJMDJFO" field.</summary>
|
|
public const int OAFMLJMDJFOFieldNumber = 3;
|
|
private bool oAFMLJMDJFO_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool OAFMLJMDJFO {
|
|
get { return oAFMLJMDJFO_; }
|
|
set {
|
|
oAFMLJMDJFO_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as HPIOFDCGMEJ);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(HPIOFDCGMEJ other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Type != other.Type) return false;
|
|
if(!nJCJDNHPCJN_.Equals(other.nJCJDNHPCJN_)) return false;
|
|
if (OAFMLJMDJFO != other.OAFMLJMDJFO) 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 (Type != global::EggLink.DanhengServer.Proto.FeatureSwitchType.FeatureSwitchNone) hash ^= Type.GetHashCode();
|
|
hash ^= nJCJDNHPCJN_.GetHashCode();
|
|
if (OAFMLJMDJFO != false) hash ^= OAFMLJMDJFO.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 (Type != global::EggLink.DanhengServer.Proto.FeatureSwitchType.FeatureSwitchNone) {
|
|
output.WriteRawTag(8);
|
|
output.WriteEnum((int) Type);
|
|
}
|
|
nJCJDNHPCJN_.WriteTo(output, _repeated_nJCJDNHPCJN_codec);
|
|
if (OAFMLJMDJFO != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(OAFMLJMDJFO);
|
|
}
|
|
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 (Type != global::EggLink.DanhengServer.Proto.FeatureSwitchType.FeatureSwitchNone) {
|
|
output.WriteRawTag(8);
|
|
output.WriteEnum((int) Type);
|
|
}
|
|
nJCJDNHPCJN_.WriteTo(ref output, _repeated_nJCJDNHPCJN_codec);
|
|
if (OAFMLJMDJFO != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(OAFMLJMDJFO);
|
|
}
|
|
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 (Type != global::EggLink.DanhengServer.Proto.FeatureSwitchType.FeatureSwitchNone) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
|
|
}
|
|
size += nJCJDNHPCJN_.CalculateSize(_repeated_nJCJDNHPCJN_codec);
|
|
if (OAFMLJMDJFO != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(HPIOFDCGMEJ other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Type != global::EggLink.DanhengServer.Proto.FeatureSwitchType.FeatureSwitchNone) {
|
|
Type = other.Type;
|
|
}
|
|
nJCJDNHPCJN_.Add(other.nJCJDNHPCJN_);
|
|
if (other.OAFMLJMDJFO != false) {
|
|
OAFMLJMDJFO = other.OAFMLJMDJFO;
|
|
}
|
|
_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 8: {
|
|
Type = (global::EggLink.DanhengServer.Proto.FeatureSwitchType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 18: {
|
|
nJCJDNHPCJN_.AddEntriesFrom(input, _repeated_nJCJDNHPCJN_codec);
|
|
break;
|
|
}
|
|
case 24: {
|
|
OAFMLJMDJFO = 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 8: {
|
|
Type = (global::EggLink.DanhengServer.Proto.FeatureSwitchType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 18: {
|
|
nJCJDNHPCJN_.AddEntriesFrom(ref input, _repeated_nJCJDNHPCJN_codec);
|
|
break;
|
|
}
|
|
case 24: {
|
|
OAFMLJMDJFO = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|