Files
DanhengServer-OpenSource/Proto/RogueTournFormulaInfo.cs
2025-08-29 19:40:06 +08:00

300 lines
12 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RogueTournFormulaInfo.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 RogueTournFormulaInfo.proto</summary>
public static partial class RogueTournFormulaInfoReflection {
#region Descriptor
/// <summary>File descriptor for RogueTournFormulaInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RogueTournFormulaInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChtSb2d1ZVRvdXJuRm9ybXVsYUluZm8ucHJvdG8aEUZvcm11bGFJbmZvLnBy",
"b3RvGhFNTFBLTkxMQU9JRi5wcm90bxoWRm9ybXVsYVR5cGVWYWx1ZS5wcm90",
"byKSAQoVUm9ndWVUb3VybkZvcm11bGFJbmZvEicKEWdhbWVfZm9ybXVsYV9p",
"bmZvGAQgAygLMgwuRm9ybXVsYUluZm8SIQoLSUxCS01OQUpHTU8YCyADKAsy",
"DC5NTFBLTkxMQU9JRhItChJmb3JtdWxhX3R5cGVfdmFsdWUYDyABKAsyES5G",
"b3JtdWxhVHlwZVZhbHVlQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJv",
"dG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.FormulaInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.MLPKNLLAOIFReflection.Descriptor, global::EggLink.DanhengServer.Proto.FormulaTypeValueReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueTournFormulaInfo), global::EggLink.DanhengServer.Proto.RogueTournFormulaInfo.Parser, new[]{ "GameFormulaInfo", "ILBKMNAJGMO", "FormulaTypeValue" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RogueTournFormulaInfo : pb::IMessage<RogueTournFormulaInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RogueTournFormulaInfo> _parser = new pb::MessageParser<RogueTournFormulaInfo>(() => new RogueTournFormulaInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RogueTournFormulaInfo> 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.RogueTournFormulaInfoReflection.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 RogueTournFormulaInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueTournFormulaInfo(RogueTournFormulaInfo other) : this() {
gameFormulaInfo_ = other.gameFormulaInfo_.Clone();
iLBKMNAJGMO_ = other.iLBKMNAJGMO_.Clone();
formulaTypeValue_ = other.formulaTypeValue_ != null ? other.formulaTypeValue_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueTournFormulaInfo Clone() {
return new RogueTournFormulaInfo(this);
}
/// <summary>Field number for the "game_formula_info" field.</summary>
public const int GameFormulaInfoFieldNumber = 4;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.FormulaInfo> _repeated_gameFormulaInfo_codec
= pb::FieldCodec.ForMessage(34, global::EggLink.DanhengServer.Proto.FormulaInfo.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.FormulaInfo> gameFormulaInfo_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.FormulaInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.FormulaInfo> GameFormulaInfo {
get { return gameFormulaInfo_; }
}
/// <summary>Field number for the "ILBKMNAJGMO" field.</summary>
public const int ILBKMNAJGMOFieldNumber = 11;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.MLPKNLLAOIF> _repeated_iLBKMNAJGMO_codec
= pb::FieldCodec.ForMessage(90, global::EggLink.DanhengServer.Proto.MLPKNLLAOIF.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MLPKNLLAOIF> iLBKMNAJGMO_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MLPKNLLAOIF>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.MLPKNLLAOIF> ILBKMNAJGMO {
get { return iLBKMNAJGMO_; }
}
/// <summary>Field number for the "formula_type_value" field.</summary>
public const int FormulaTypeValueFieldNumber = 15;
private global::EggLink.DanhengServer.Proto.FormulaTypeValue formulaTypeValue_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.FormulaTypeValue FormulaTypeValue {
get { return formulaTypeValue_; }
set {
formulaTypeValue_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RogueTournFormulaInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RogueTournFormulaInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!gameFormulaInfo_.Equals(other.gameFormulaInfo_)) return false;
if(!iLBKMNAJGMO_.Equals(other.iLBKMNAJGMO_)) return false;
if (!object.Equals(FormulaTypeValue, other.FormulaTypeValue)) 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 ^= gameFormulaInfo_.GetHashCode();
hash ^= iLBKMNAJGMO_.GetHashCode();
if (formulaTypeValue_ != null) hash ^= FormulaTypeValue.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
gameFormulaInfo_.WriteTo(output, _repeated_gameFormulaInfo_codec);
iLBKMNAJGMO_.WriteTo(output, _repeated_iLBKMNAJGMO_codec);
if (formulaTypeValue_ != null) {
output.WriteRawTag(122);
output.WriteMessage(FormulaTypeValue);
}
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) {
gameFormulaInfo_.WriteTo(ref output, _repeated_gameFormulaInfo_codec);
iLBKMNAJGMO_.WriteTo(ref output, _repeated_iLBKMNAJGMO_codec);
if (formulaTypeValue_ != null) {
output.WriteRawTag(122);
output.WriteMessage(FormulaTypeValue);
}
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 += gameFormulaInfo_.CalculateSize(_repeated_gameFormulaInfo_codec);
size += iLBKMNAJGMO_.CalculateSize(_repeated_iLBKMNAJGMO_codec);
if (formulaTypeValue_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(FormulaTypeValue);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RogueTournFormulaInfo other) {
if (other == null) {
return;
}
gameFormulaInfo_.Add(other.gameFormulaInfo_);
iLBKMNAJGMO_.Add(other.iLBKMNAJGMO_);
if (other.formulaTypeValue_ != null) {
if (formulaTypeValue_ == null) {
FormulaTypeValue = new global::EggLink.DanhengServer.Proto.FormulaTypeValue();
}
FormulaTypeValue.MergeFrom(other.FormulaTypeValue);
}
_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 34: {
gameFormulaInfo_.AddEntriesFrom(input, _repeated_gameFormulaInfo_codec);
break;
}
case 90: {
iLBKMNAJGMO_.AddEntriesFrom(input, _repeated_iLBKMNAJGMO_codec);
break;
}
case 122: {
if (formulaTypeValue_ == null) {
FormulaTypeValue = new global::EggLink.DanhengServer.Proto.FormulaTypeValue();
}
input.ReadMessage(FormulaTypeValue);
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 34: {
gameFormulaInfo_.AddEntriesFrom(ref input, _repeated_gameFormulaInfo_codec);
break;
}
case 90: {
iLBKMNAJGMO_.AddEntriesFrom(ref input, _repeated_iLBKMNAJGMO_codec);
break;
}
case 122: {
if (formulaTypeValue_ == null) {
FormulaTypeValue = new global::EggLink.DanhengServer.Proto.FormulaTypeValue();
}
input.ReadMessage(FormulaTypeValue);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code