Files
DanhengServer-OpenSource/Proto/GamecoreConfig.cs
2025-04-15 16:44:46 +08:00

460 lines
15 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GamecoreConfig.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 GamecoreConfig.proto</summary>
public static partial class GamecoreConfigReflection {
#region Descriptor
/// <summary>File descriptor for GamecoreConfig.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GamecoreConfigReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChRHYW1lY29yZUNvbmZpZy5wcm90byKmAQoOR2FtZWNvcmVDb25maWcSFgoO",
"aXNfc2tpcF92ZXJpZnkYASABKAgSFAoMbWF4X3R1cm5fY250GAIgASgNEhUK",
"DWlzX2F1dG9fZmlnaHQYAyABKAgSEAoIY3N2X3BhdGgYBCABKAkSEwoLTEtG",
"RFBETERNSUIYBSABKAgSEwoLTU5BTFBORk5NSU8YBiABKAgSEwoLR0dGQ09K",
"RkxLQlAYByABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IG",
"cHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GamecoreConfig), global::EggLink.DanhengServer.Proto.GamecoreConfig.Parser, new[]{ "IsSkipVerify", "MaxTurnCnt", "IsAutoFight", "CsvPath", "LKFDPDLDMIB", "MNALPNFNMIO", "GGFCOJFLKBP" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GamecoreConfig : pb::IMessage<GamecoreConfig>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GamecoreConfig> _parser = new pb::MessageParser<GamecoreConfig>(() => new GamecoreConfig());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GamecoreConfig> 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.GamecoreConfigReflection.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 GamecoreConfig() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GamecoreConfig(GamecoreConfig other) : this() {
isSkipVerify_ = other.isSkipVerify_;
maxTurnCnt_ = other.maxTurnCnt_;
isAutoFight_ = other.isAutoFight_;
csvPath_ = other.csvPath_;
lKFDPDLDMIB_ = other.lKFDPDLDMIB_;
mNALPNFNMIO_ = other.mNALPNFNMIO_;
gGFCOJFLKBP_ = other.gGFCOJFLKBP_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GamecoreConfig Clone() {
return new GamecoreConfig(this);
}
/// <summary>Field number for the "is_skip_verify" field.</summary>
public const int IsSkipVerifyFieldNumber = 1;
private bool isSkipVerify_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsSkipVerify {
get { return isSkipVerify_; }
set {
isSkipVerify_ = value;
}
}
/// <summary>Field number for the "max_turn_cnt" field.</summary>
public const int MaxTurnCntFieldNumber = 2;
private uint maxTurnCnt_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint MaxTurnCnt {
get { return maxTurnCnt_; }
set {
maxTurnCnt_ = value;
}
}
/// <summary>Field number for the "is_auto_fight" field.</summary>
public const int IsAutoFightFieldNumber = 3;
private bool isAutoFight_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsAutoFight {
get { return isAutoFight_; }
set {
isAutoFight_ = value;
}
}
/// <summary>Field number for the "csv_path" field.</summary>
public const int CsvPathFieldNumber = 4;
private string csvPath_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string CsvPath {
get { return csvPath_; }
set {
csvPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "LKFDPDLDMIB" field.</summary>
public const int LKFDPDLDMIBFieldNumber = 5;
private bool lKFDPDLDMIB_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool LKFDPDLDMIB {
get { return lKFDPDLDMIB_; }
set {
lKFDPDLDMIB_ = value;
}
}
/// <summary>Field number for the "MNALPNFNMIO" field.</summary>
public const int MNALPNFNMIOFieldNumber = 6;
private bool mNALPNFNMIO_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool MNALPNFNMIO {
get { return mNALPNFNMIO_; }
set {
mNALPNFNMIO_ = value;
}
}
/// <summary>Field number for the "GGFCOJFLKBP" field.</summary>
public const int GGFCOJFLKBPFieldNumber = 7;
private uint gGFCOJFLKBP_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint GGFCOJFLKBP {
get { return gGFCOJFLKBP_; }
set {
gGFCOJFLKBP_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GamecoreConfig);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GamecoreConfig other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (IsSkipVerify != other.IsSkipVerify) return false;
if (MaxTurnCnt != other.MaxTurnCnt) return false;
if (IsAutoFight != other.IsAutoFight) return false;
if (CsvPath != other.CsvPath) return false;
if (LKFDPDLDMIB != other.LKFDPDLDMIB) return false;
if (MNALPNFNMIO != other.MNALPNFNMIO) return false;
if (GGFCOJFLKBP != other.GGFCOJFLKBP) 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 (IsSkipVerify != false) hash ^= IsSkipVerify.GetHashCode();
if (MaxTurnCnt != 0) hash ^= MaxTurnCnt.GetHashCode();
if (IsAutoFight != false) hash ^= IsAutoFight.GetHashCode();
if (CsvPath.Length != 0) hash ^= CsvPath.GetHashCode();
if (LKFDPDLDMIB != false) hash ^= LKFDPDLDMIB.GetHashCode();
if (MNALPNFNMIO != false) hash ^= MNALPNFNMIO.GetHashCode();
if (GGFCOJFLKBP != 0) hash ^= GGFCOJFLKBP.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 (IsSkipVerify != false) {
output.WriteRawTag(8);
output.WriteBool(IsSkipVerify);
}
if (MaxTurnCnt != 0) {
output.WriteRawTag(16);
output.WriteUInt32(MaxTurnCnt);
}
if (IsAutoFight != false) {
output.WriteRawTag(24);
output.WriteBool(IsAutoFight);
}
if (CsvPath.Length != 0) {
output.WriteRawTag(34);
output.WriteString(CsvPath);
}
if (LKFDPDLDMIB != false) {
output.WriteRawTag(40);
output.WriteBool(LKFDPDLDMIB);
}
if (MNALPNFNMIO != false) {
output.WriteRawTag(48);
output.WriteBool(MNALPNFNMIO);
}
if (GGFCOJFLKBP != 0) {
output.WriteRawTag(56);
output.WriteUInt32(GGFCOJFLKBP);
}
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 (IsSkipVerify != false) {
output.WriteRawTag(8);
output.WriteBool(IsSkipVerify);
}
if (MaxTurnCnt != 0) {
output.WriteRawTag(16);
output.WriteUInt32(MaxTurnCnt);
}
if (IsAutoFight != false) {
output.WriteRawTag(24);
output.WriteBool(IsAutoFight);
}
if (CsvPath.Length != 0) {
output.WriteRawTag(34);
output.WriteString(CsvPath);
}
if (LKFDPDLDMIB != false) {
output.WriteRawTag(40);
output.WriteBool(LKFDPDLDMIB);
}
if (MNALPNFNMIO != false) {
output.WriteRawTag(48);
output.WriteBool(MNALPNFNMIO);
}
if (GGFCOJFLKBP != 0) {
output.WriteRawTag(56);
output.WriteUInt32(GGFCOJFLKBP);
}
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 (IsSkipVerify != false) {
size += 1 + 1;
}
if (MaxTurnCnt != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxTurnCnt);
}
if (IsAutoFight != false) {
size += 1 + 1;
}
if (CsvPath.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(CsvPath);
}
if (LKFDPDLDMIB != false) {
size += 1 + 1;
}
if (MNALPNFNMIO != false) {
size += 1 + 1;
}
if (GGFCOJFLKBP != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GGFCOJFLKBP);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GamecoreConfig other) {
if (other == null) {
return;
}
if (other.IsSkipVerify != false) {
IsSkipVerify = other.IsSkipVerify;
}
if (other.MaxTurnCnt != 0) {
MaxTurnCnt = other.MaxTurnCnt;
}
if (other.IsAutoFight != false) {
IsAutoFight = other.IsAutoFight;
}
if (other.CsvPath.Length != 0) {
CsvPath = other.CsvPath;
}
if (other.LKFDPDLDMIB != false) {
LKFDPDLDMIB = other.LKFDPDLDMIB;
}
if (other.MNALPNFNMIO != false) {
MNALPNFNMIO = other.MNALPNFNMIO;
}
if (other.GGFCOJFLKBP != 0) {
GGFCOJFLKBP = other.GGFCOJFLKBP;
}
_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: {
IsSkipVerify = input.ReadBool();
break;
}
case 16: {
MaxTurnCnt = input.ReadUInt32();
break;
}
case 24: {
IsAutoFight = input.ReadBool();
break;
}
case 34: {
CsvPath = input.ReadString();
break;
}
case 40: {
LKFDPDLDMIB = input.ReadBool();
break;
}
case 48: {
MNALPNFNMIO = input.ReadBool();
break;
}
case 56: {
GGFCOJFLKBP = input.ReadUInt32();
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: {
IsSkipVerify = input.ReadBool();
break;
}
case 16: {
MaxTurnCnt = input.ReadUInt32();
break;
}
case 24: {
IsAutoFight = input.ReadBool();
break;
}
case 34: {
CsvPath = input.ReadString();
break;
}
case 40: {
LKFDPDLDMIB = input.ReadBool();
break;
}
case 48: {
MNALPNFNMIO = input.ReadBool();
break;
}
case 56: {
GGFCOJFLKBP = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code