Files
Novaria/NTR.Common/protos/StarTowerBookFateCard.cs
2025-01-08 20:08:36 -05:00

599 lines
20 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: StarTowerBookFateCard.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 Nova.Client {
/// <summary>Holder for reflection information generated from StarTowerBookFateCard.proto</summary>
public static partial class StarTowerBookFateCardReflection {
#region Descriptor
/// <summary>File descriptor for StarTowerBookFateCard.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static StarTowerBookFateCardReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChtTdGFyVG93ZXJCb29rRmF0ZUNhcmQucHJvdG8i5QEKFVN0YXJUb3dlckJv",
"b2tGYXRlQ2FyZBIKCgJpZBgBIAEoBRIRCglidW5kbGVfaWQYAiABKAUSDAoE",
"aWNvbhgDIAEoCRIPCgdzb3J0X2lkGAQgASgFEg4KBnNvdXJjZRgFIAEoCRIS",
"Cgp1bmxvY2tfdGlwGAYgASgJEhMKC3dvcmxkX2NsYXNzGAcgASgFEhUKDXN0",
"YXJfdG93ZXJfaWQYCCABKAUSFQoNY29sbGVjdF9jYXJkcxgJIAMoBRIUCgx1",
"bmxvY2tfY2FyZHMYCiADKAUSEQoJaXNfYmFubmVkGAsgASgIQg6qAgtOb3Zh",
"LkNsaWVudGIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerBookFateCard), global::Nova.Client.StarTowerBookFateCard.Parser, new[]{ "Id", "BundleId", "Icon", "SortId", "Source", "UnlockTip", "WorldClass", "StarTowerId", "CollectCards", "UnlockCards", "IsBanned" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class StarTowerBookFateCard : pb::IMessage<StarTowerBookFateCard>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<StarTowerBookFateCard> _parser = new pb::MessageParser<StarTowerBookFateCard>(() => new StarTowerBookFateCard());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<StarTowerBookFateCard> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::Nova.Client.StarTowerBookFateCardReflection.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 StarTowerBookFateCard() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StarTowerBookFateCard(StarTowerBookFateCard other) : this() {
id_ = other.id_;
bundleId_ = other.bundleId_;
icon_ = other.icon_;
sortId_ = other.sortId_;
source_ = other.source_;
unlockTip_ = other.unlockTip_;
worldClass_ = other.worldClass_;
starTowerId_ = other.starTowerId_;
collectCards_ = other.collectCards_.Clone();
unlockCards_ = other.unlockCards_.Clone();
isBanned_ = other.isBanned_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StarTowerBookFateCard Clone() {
return new StarTowerBookFateCard(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private int id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Id {
get { return id_; }
set {
id_ = value;
}
}
/// <summary>Field number for the "bundle_id" field.</summary>
public const int BundleIdFieldNumber = 2;
private int bundleId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int BundleId {
get { return bundleId_; }
set {
bundleId_ = value;
}
}
/// <summary>Field number for the "icon" field.</summary>
public const int IconFieldNumber = 3;
private string icon_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Icon {
get { return icon_; }
set {
icon_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "sort_id" field.</summary>
public const int SortIdFieldNumber = 4;
private int sortId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int SortId {
get { return sortId_; }
set {
sortId_ = value;
}
}
/// <summary>Field number for the "source" field.</summary>
public const int SourceFieldNumber = 5;
private string source_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Source {
get { return source_; }
set {
source_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "unlock_tip" field.</summary>
public const int UnlockTipFieldNumber = 6;
private string unlockTip_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UnlockTip {
get { return unlockTip_; }
set {
unlockTip_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "world_class" field.</summary>
public const int WorldClassFieldNumber = 7;
private int worldClass_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int WorldClass {
get { return worldClass_; }
set {
worldClass_ = value;
}
}
/// <summary>Field number for the "star_tower_id" field.</summary>
public const int StarTowerIdFieldNumber = 8;
private int starTowerId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int StarTowerId {
get { return starTowerId_; }
set {
starTowerId_ = value;
}
}
/// <summary>Field number for the "collect_cards" field.</summary>
public const int CollectCardsFieldNumber = 9;
private static readonly pb::FieldCodec<int> _repeated_collectCards_codec
= pb::FieldCodec.ForInt32(74);
private readonly pbc::RepeatedField<int> collectCards_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> CollectCards {
get { return collectCards_; }
}
/// <summary>Field number for the "unlock_cards" field.</summary>
public const int UnlockCardsFieldNumber = 10;
private static readonly pb::FieldCodec<int> _repeated_unlockCards_codec
= pb::FieldCodec.ForInt32(82);
private readonly pbc::RepeatedField<int> unlockCards_ = new pbc::RepeatedField<int>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<int> UnlockCards {
get { return unlockCards_; }
}
/// <summary>Field number for the "is_banned" field.</summary>
public const int IsBannedFieldNumber = 11;
private bool isBanned_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsBanned {
get { return isBanned_; }
set {
isBanned_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as StarTowerBookFateCard);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(StarTowerBookFateCard other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (BundleId != other.BundleId) return false;
if (Icon != other.Icon) return false;
if (SortId != other.SortId) return false;
if (Source != other.Source) return false;
if (UnlockTip != other.UnlockTip) return false;
if (WorldClass != other.WorldClass) return false;
if (StarTowerId != other.StarTowerId) return false;
if(!collectCards_.Equals(other.collectCards_)) return false;
if(!unlockCards_.Equals(other.unlockCards_)) return false;
if (IsBanned != other.IsBanned) 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 (Id != 0) hash ^= Id.GetHashCode();
if (BundleId != 0) hash ^= BundleId.GetHashCode();
if (Icon.Length != 0) hash ^= Icon.GetHashCode();
if (SortId != 0) hash ^= SortId.GetHashCode();
if (Source.Length != 0) hash ^= Source.GetHashCode();
if (UnlockTip.Length != 0) hash ^= UnlockTip.GetHashCode();
if (WorldClass != 0) hash ^= WorldClass.GetHashCode();
if (StarTowerId != 0) hash ^= StarTowerId.GetHashCode();
hash ^= collectCards_.GetHashCode();
hash ^= unlockCards_.GetHashCode();
if (IsBanned != false) hash ^= IsBanned.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 (Id != 0) {
output.WriteRawTag(8);
output.WriteInt32(Id);
}
if (BundleId != 0) {
output.WriteRawTag(16);
output.WriteInt32(BundleId);
}
if (Icon.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Icon);
}
if (SortId != 0) {
output.WriteRawTag(32);
output.WriteInt32(SortId);
}
if (Source.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Source);
}
if (UnlockTip.Length != 0) {
output.WriteRawTag(50);
output.WriteString(UnlockTip);
}
if (WorldClass != 0) {
output.WriteRawTag(56);
output.WriteInt32(WorldClass);
}
if (StarTowerId != 0) {
output.WriteRawTag(64);
output.WriteInt32(StarTowerId);
}
collectCards_.WriteTo(output, _repeated_collectCards_codec);
unlockCards_.WriteTo(output, _repeated_unlockCards_codec);
if (IsBanned != false) {
output.WriteRawTag(88);
output.WriteBool(IsBanned);
}
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 (Id != 0) {
output.WriteRawTag(8);
output.WriteInt32(Id);
}
if (BundleId != 0) {
output.WriteRawTag(16);
output.WriteInt32(BundleId);
}
if (Icon.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Icon);
}
if (SortId != 0) {
output.WriteRawTag(32);
output.WriteInt32(SortId);
}
if (Source.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Source);
}
if (UnlockTip.Length != 0) {
output.WriteRawTag(50);
output.WriteString(UnlockTip);
}
if (WorldClass != 0) {
output.WriteRawTag(56);
output.WriteInt32(WorldClass);
}
if (StarTowerId != 0) {
output.WriteRawTag(64);
output.WriteInt32(StarTowerId);
}
collectCards_.WriteTo(ref output, _repeated_collectCards_codec);
unlockCards_.WriteTo(ref output, _repeated_unlockCards_codec);
if (IsBanned != false) {
output.WriteRawTag(88);
output.WriteBool(IsBanned);
}
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 (Id != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
}
if (BundleId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BundleId);
}
if (Icon.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon);
}
if (SortId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SortId);
}
if (Source.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Source);
}
if (UnlockTip.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(UnlockTip);
}
if (WorldClass != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorldClass);
}
if (StarTowerId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(StarTowerId);
}
size += collectCards_.CalculateSize(_repeated_collectCards_codec);
size += unlockCards_.CalculateSize(_repeated_unlockCards_codec);
if (IsBanned != 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(StarTowerBookFateCard other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.BundleId != 0) {
BundleId = other.BundleId;
}
if (other.Icon.Length != 0) {
Icon = other.Icon;
}
if (other.SortId != 0) {
SortId = other.SortId;
}
if (other.Source.Length != 0) {
Source = other.Source;
}
if (other.UnlockTip.Length != 0) {
UnlockTip = other.UnlockTip;
}
if (other.WorldClass != 0) {
WorldClass = other.WorldClass;
}
if (other.StarTowerId != 0) {
StarTowerId = other.StarTowerId;
}
collectCards_.Add(other.collectCards_);
unlockCards_.Add(other.unlockCards_);
if (other.IsBanned != false) {
IsBanned = other.IsBanned;
}
_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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Id = input.ReadInt32();
break;
}
case 16: {
BundleId = input.ReadInt32();
break;
}
case 26: {
Icon = input.ReadString();
break;
}
case 32: {
SortId = input.ReadInt32();
break;
}
case 42: {
Source = input.ReadString();
break;
}
case 50: {
UnlockTip = input.ReadString();
break;
}
case 56: {
WorldClass = input.ReadInt32();
break;
}
case 64: {
StarTowerId = input.ReadInt32();
break;
}
case 74:
case 72: {
collectCards_.AddEntriesFrom(input, _repeated_collectCards_codec);
break;
}
case 82:
case 80: {
unlockCards_.AddEntriesFrom(input, _repeated_unlockCards_codec);
break;
}
case 88: {
IsBanned = 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) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Id = input.ReadInt32();
break;
}
case 16: {
BundleId = input.ReadInt32();
break;
}
case 26: {
Icon = input.ReadString();
break;
}
case 32: {
SortId = input.ReadInt32();
break;
}
case 42: {
Source = input.ReadString();
break;
}
case 50: {
UnlockTip = input.ReadString();
break;
}
case 56: {
WorldClass = input.ReadInt32();
break;
}
case 64: {
StarTowerId = input.ReadInt32();
break;
}
case 74:
case 72: {
collectCards_.AddEntriesFrom(ref input, _repeated_collectCards_codec);
break;
}
case 82:
case 80: {
unlockCards_.AddEntriesFrom(ref input, _repeated_unlockCards_codec);
break;
}
case 88: {
IsBanned = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code