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

292 lines
11 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RogueMiracleSelectInfo.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 RogueMiracleSelectInfo.proto</summary>
public static partial class RogueMiracleSelectInfoReflection {
#region Descriptor
/// <summary>File descriptor for RogueMiracleSelectInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RogueMiracleSelectInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChxSb2d1ZU1pcmFjbGVTZWxlY3RJbmZvLnByb3RvImwKFlJvZ3VlTWlyYWNs",
"ZVNlbGVjdEluZm8SFgoOc2VsZWN0X2hpbnRfaWQYDyABKA0SHQoVbWlyYWNs",
"ZV9oYW5kYm9va19saXN0GAQgAygNEhsKE3NlbGVjdF9taXJhY2xlX2xpc3QY",
"CyADKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RogueMiracleSelectInfo), global::EggLink.DanhengServer.Proto.RogueMiracleSelectInfo.Parser, new[]{ "SelectHintId", "MiracleHandbookList", "SelectMiracleList" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RogueMiracleSelectInfo : pb::IMessage<RogueMiracleSelectInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RogueMiracleSelectInfo> _parser = new pb::MessageParser<RogueMiracleSelectInfo>(() => new RogueMiracleSelectInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RogueMiracleSelectInfo> 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.RogueMiracleSelectInfoReflection.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 RogueMiracleSelectInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueMiracleSelectInfo(RogueMiracleSelectInfo other) : this() {
selectHintId_ = other.selectHintId_;
miracleHandbookList_ = other.miracleHandbookList_.Clone();
selectMiracleList_ = other.selectMiracleList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueMiracleSelectInfo Clone() {
return new RogueMiracleSelectInfo(this);
}
/// <summary>Field number for the "select_hint_id" field.</summary>
public const int SelectHintIdFieldNumber = 15;
private uint selectHintId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint SelectHintId {
get { return selectHintId_; }
set {
selectHintId_ = value;
}
}
/// <summary>Field number for the "miracle_handbook_list" field.</summary>
public const int MiracleHandbookListFieldNumber = 4;
private static readonly pb::FieldCodec<uint> _repeated_miracleHandbookList_codec
= pb::FieldCodec.ForUInt32(34);
private readonly pbc::RepeatedField<uint> miracleHandbookList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> MiracleHandbookList {
get { return miracleHandbookList_; }
}
/// <summary>Field number for the "select_miracle_list" field.</summary>
public const int SelectMiracleListFieldNumber = 11;
private static readonly pb::FieldCodec<uint> _repeated_selectMiracleList_codec
= pb::FieldCodec.ForUInt32(90);
private readonly pbc::RepeatedField<uint> selectMiracleList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> SelectMiracleList {
get { return selectMiracleList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RogueMiracleSelectInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RogueMiracleSelectInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (SelectHintId != other.SelectHintId) return false;
if(!miracleHandbookList_.Equals(other.miracleHandbookList_)) return false;
if(!selectMiracleList_.Equals(other.selectMiracleList_)) 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 (SelectHintId != 0) hash ^= SelectHintId.GetHashCode();
hash ^= miracleHandbookList_.GetHashCode();
hash ^= selectMiracleList_.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
miracleHandbookList_.WriteTo(output, _repeated_miracleHandbookList_codec);
selectMiracleList_.WriteTo(output, _repeated_selectMiracleList_codec);
if (SelectHintId != 0) {
output.WriteRawTag(120);
output.WriteUInt32(SelectHintId);
}
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) {
miracleHandbookList_.WriteTo(ref output, _repeated_miracleHandbookList_codec);
selectMiracleList_.WriteTo(ref output, _repeated_selectMiracleList_codec);
if (SelectHintId != 0) {
output.WriteRawTag(120);
output.WriteUInt32(SelectHintId);
}
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 (SelectHintId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SelectHintId);
}
size += miracleHandbookList_.CalculateSize(_repeated_miracleHandbookList_codec);
size += selectMiracleList_.CalculateSize(_repeated_selectMiracleList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RogueMiracleSelectInfo other) {
if (other == null) {
return;
}
if (other.SelectHintId != 0) {
SelectHintId = other.SelectHintId;
}
miracleHandbookList_.Add(other.miracleHandbookList_);
selectMiracleList_.Add(other.selectMiracleList_);
_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:
case 32: {
miracleHandbookList_.AddEntriesFrom(input, _repeated_miracleHandbookList_codec);
break;
}
case 90:
case 88: {
selectMiracleList_.AddEntriesFrom(input, _repeated_selectMiracleList_codec);
break;
}
case 120: {
SelectHintId = 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 34:
case 32: {
miracleHandbookList_.AddEntriesFrom(ref input, _repeated_miracleHandbookList_codec);
break;
}
case 90:
case 88: {
selectMiracleList_.AddEntriesFrom(ref input, _repeated_selectMiracleList_codec);
break;
}
case 120: {
SelectHintId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code