Files
DanhengServer-OpenSource/Proto/RogueTournHandbookInfo.cs
2025-04-19 11:45:24 +08:00

408 lines
18 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RogueTournHandbookInfo.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 RogueTournHandbookInfo.proto</summary>
public static partial class RogueTournHandbookInfoReflection {
#region Descriptor
/// <summary>File descriptor for RogueTournHandbookInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RogueTournHandbookInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChxSb2d1ZVRvdXJuSGFuZGJvb2tJbmZvLnByb3RvIoQCChZSb2d1ZVRvdXJu",
"SGFuZGJvb2tJbmZvEhoKEmhhbmRib29rX2J1ZmZfbGlzdBgDIAMoDRIjChto",
"YW5kYm9va190b3Vybl9taXJhY2xlX2xpc3QYDiADKA0SIAoYaGFuZGJvb2tf",
"aGV4X2F2YXRhcl9saXN0GAogAygNEh0KFWhhbmRib29rX21pcmFjbGVfbGlz",
"dBgGIAMoDRImCh5yb2d1ZV90b3Vybl9oYW5kYm9va19zZWFzb25faWQYByAB",
"KA0SHQoVaGFuZGJvb2tfZm9ybXVsYV9saXN0GAkgAygNEiEKGWhhbmRib29r",
"X3RpdGFuX2JsZXNzX2xpc3QYDSADKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1Nl",
"cnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueTournHandbookInfo), global::EggLink.DanhengServer.Proto.RogueTournHandbookInfo.Parser, new[]{ "HandbookBuffList", "HandbookTournMiracleList", "HandbookHexAvatarList", "HandbookMiracleList", "RogueTournHandbookSeasonId", "HandbookFormulaList", "HandbookTitanBlessList" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RogueTournHandbookInfo : pb::IMessage<RogueTournHandbookInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RogueTournHandbookInfo> _parser = new pb::MessageParser<RogueTournHandbookInfo>(() => new RogueTournHandbookInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RogueTournHandbookInfo> 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.RogueTournHandbookInfoReflection.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 RogueTournHandbookInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueTournHandbookInfo(RogueTournHandbookInfo other) : this() {
handbookBuffList_ = other.handbookBuffList_.Clone();
handbookTournMiracleList_ = other.handbookTournMiracleList_.Clone();
handbookHexAvatarList_ = other.handbookHexAvatarList_.Clone();
handbookMiracleList_ = other.handbookMiracleList_.Clone();
rogueTournHandbookSeasonId_ = other.rogueTournHandbookSeasonId_;
handbookFormulaList_ = other.handbookFormulaList_.Clone();
handbookTitanBlessList_ = other.handbookTitanBlessList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueTournHandbookInfo Clone() {
return new RogueTournHandbookInfo(this);
}
/// <summary>Field number for the "handbook_buff_list" field.</summary>
public const int HandbookBuffListFieldNumber = 3;
private static readonly pb::FieldCodec<uint> _repeated_handbookBuffList_codec
= pb::FieldCodec.ForUInt32(26);
private readonly pbc::RepeatedField<uint> handbookBuffList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> HandbookBuffList {
get { return handbookBuffList_; }
}
/// <summary>Field number for the "handbook_tourn_miracle_list" field.</summary>
public const int HandbookTournMiracleListFieldNumber = 14;
private static readonly pb::FieldCodec<uint> _repeated_handbookTournMiracleList_codec
= pb::FieldCodec.ForUInt32(114);
private readonly pbc::RepeatedField<uint> handbookTournMiracleList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> HandbookTournMiracleList {
get { return handbookTournMiracleList_; }
}
/// <summary>Field number for the "handbook_hex_avatar_list" field.</summary>
public const int HandbookHexAvatarListFieldNumber = 10;
private static readonly pb::FieldCodec<uint> _repeated_handbookHexAvatarList_codec
= pb::FieldCodec.ForUInt32(82);
private readonly pbc::RepeatedField<uint> handbookHexAvatarList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> HandbookHexAvatarList {
get { return handbookHexAvatarList_; }
}
/// <summary>Field number for the "handbook_miracle_list" field.</summary>
public const int HandbookMiracleListFieldNumber = 6;
private static readonly pb::FieldCodec<uint> _repeated_handbookMiracleList_codec
= pb::FieldCodec.ForUInt32(50);
private readonly pbc::RepeatedField<uint> handbookMiracleList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> HandbookMiracleList {
get { return handbookMiracleList_; }
}
/// <summary>Field number for the "rogue_tourn_handbook_season_id" field.</summary>
public const int RogueTournHandbookSeasonIdFieldNumber = 7;
private uint rogueTournHandbookSeasonId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RogueTournHandbookSeasonId {
get { return rogueTournHandbookSeasonId_; }
set {
rogueTournHandbookSeasonId_ = value;
}
}
/// <summary>Field number for the "handbook_formula_list" field.</summary>
public const int HandbookFormulaListFieldNumber = 9;
private static readonly pb::FieldCodec<uint> _repeated_handbookFormulaList_codec
= pb::FieldCodec.ForUInt32(74);
private readonly pbc::RepeatedField<uint> handbookFormulaList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> HandbookFormulaList {
get { return handbookFormulaList_; }
}
/// <summary>Field number for the "handbook_titan_bless_list" field.</summary>
public const int HandbookTitanBlessListFieldNumber = 13;
private static readonly pb::FieldCodec<uint> _repeated_handbookTitanBlessList_codec
= pb::FieldCodec.ForUInt32(106);
private readonly pbc::RepeatedField<uint> handbookTitanBlessList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> HandbookTitanBlessList {
get { return handbookTitanBlessList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RogueTournHandbookInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RogueTournHandbookInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!handbookBuffList_.Equals(other.handbookBuffList_)) return false;
if(!handbookTournMiracleList_.Equals(other.handbookTournMiracleList_)) return false;
if(!handbookHexAvatarList_.Equals(other.handbookHexAvatarList_)) return false;
if(!handbookMiracleList_.Equals(other.handbookMiracleList_)) return false;
if (RogueTournHandbookSeasonId != other.RogueTournHandbookSeasonId) return false;
if(!handbookFormulaList_.Equals(other.handbookFormulaList_)) return false;
if(!handbookTitanBlessList_.Equals(other.handbookTitanBlessList_)) 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 ^= handbookBuffList_.GetHashCode();
hash ^= handbookTournMiracleList_.GetHashCode();
hash ^= handbookHexAvatarList_.GetHashCode();
hash ^= handbookMiracleList_.GetHashCode();
if (RogueTournHandbookSeasonId != 0) hash ^= RogueTournHandbookSeasonId.GetHashCode();
hash ^= handbookFormulaList_.GetHashCode();
hash ^= handbookTitanBlessList_.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
handbookBuffList_.WriteTo(output, _repeated_handbookBuffList_codec);
handbookMiracleList_.WriteTo(output, _repeated_handbookMiracleList_codec);
if (RogueTournHandbookSeasonId != 0) {
output.WriteRawTag(56);
output.WriteUInt32(RogueTournHandbookSeasonId);
}
handbookFormulaList_.WriteTo(output, _repeated_handbookFormulaList_codec);
handbookHexAvatarList_.WriteTo(output, _repeated_handbookHexAvatarList_codec);
handbookTitanBlessList_.WriteTo(output, _repeated_handbookTitanBlessList_codec);
handbookTournMiracleList_.WriteTo(output, _repeated_handbookTournMiracleList_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) {
handbookBuffList_.WriteTo(ref output, _repeated_handbookBuffList_codec);
handbookMiracleList_.WriteTo(ref output, _repeated_handbookMiracleList_codec);
if (RogueTournHandbookSeasonId != 0) {
output.WriteRawTag(56);
output.WriteUInt32(RogueTournHandbookSeasonId);
}
handbookFormulaList_.WriteTo(ref output, _repeated_handbookFormulaList_codec);
handbookHexAvatarList_.WriteTo(ref output, _repeated_handbookHexAvatarList_codec);
handbookTitanBlessList_.WriteTo(ref output, _repeated_handbookTitanBlessList_codec);
handbookTournMiracleList_.WriteTo(ref output, _repeated_handbookTournMiracleList_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 += handbookBuffList_.CalculateSize(_repeated_handbookBuffList_codec);
size += handbookTournMiracleList_.CalculateSize(_repeated_handbookTournMiracleList_codec);
size += handbookHexAvatarList_.CalculateSize(_repeated_handbookHexAvatarList_codec);
size += handbookMiracleList_.CalculateSize(_repeated_handbookMiracleList_codec);
if (RogueTournHandbookSeasonId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RogueTournHandbookSeasonId);
}
size += handbookFormulaList_.CalculateSize(_repeated_handbookFormulaList_codec);
size += handbookTitanBlessList_.CalculateSize(_repeated_handbookTitanBlessList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RogueTournHandbookInfo other) {
if (other == null) {
return;
}
handbookBuffList_.Add(other.handbookBuffList_);
handbookTournMiracleList_.Add(other.handbookTournMiracleList_);
handbookHexAvatarList_.Add(other.handbookHexAvatarList_);
handbookMiracleList_.Add(other.handbookMiracleList_);
if (other.RogueTournHandbookSeasonId != 0) {
RogueTournHandbookSeasonId = other.RogueTournHandbookSeasonId;
}
handbookFormulaList_.Add(other.handbookFormulaList_);
handbookTitanBlessList_.Add(other.handbookTitanBlessList_);
_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: {
handbookBuffList_.AddEntriesFrom(input, _repeated_handbookBuffList_codec);
break;
}
case 50:
case 48: {
handbookMiracleList_.AddEntriesFrom(input, _repeated_handbookMiracleList_codec);
break;
}
case 56: {
RogueTournHandbookSeasonId = input.ReadUInt32();
break;
}
case 74:
case 72: {
handbookFormulaList_.AddEntriesFrom(input, _repeated_handbookFormulaList_codec);
break;
}
case 82:
case 80: {
handbookHexAvatarList_.AddEntriesFrom(input, _repeated_handbookHexAvatarList_codec);
break;
}
case 106:
case 104: {
handbookTitanBlessList_.AddEntriesFrom(input, _repeated_handbookTitanBlessList_codec);
break;
}
case 114:
case 112: {
handbookTournMiracleList_.AddEntriesFrom(input, _repeated_handbookTournMiracleList_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: {
handbookBuffList_.AddEntriesFrom(ref input, _repeated_handbookBuffList_codec);
break;
}
case 50:
case 48: {
handbookMiracleList_.AddEntriesFrom(ref input, _repeated_handbookMiracleList_codec);
break;
}
case 56: {
RogueTournHandbookSeasonId = input.ReadUInt32();
break;
}
case 74:
case 72: {
handbookFormulaList_.AddEntriesFrom(ref input, _repeated_handbookFormulaList_codec);
break;
}
case 82:
case 80: {
handbookHexAvatarList_.AddEntriesFrom(ref input, _repeated_handbookHexAvatarList_codec);
break;
}
case 106:
case 104: {
handbookTitanBlessList_.AddEntriesFrom(ref input, _repeated_handbookTitanBlessList_codec);
break;
}
case 114:
case 112: {
handbookTournMiracleList_.AddEntriesFrom(ref input, _repeated_handbookTournMiracleList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code