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

636 lines
21 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: StarTowerBookFateCardBundle.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 StarTowerBookFateCardBundle.proto</summary>
public static partial class StarTowerBookFateCardBundleReflection {
#region Descriptor
/// <summary>File descriptor for StarTowerBookFateCardBundle.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static StarTowerBookFateCardBundleReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiFTdGFyVG93ZXJCb29rRmF0ZUNhcmRCdW5kbGUucHJvdG8i+QEKG1N0YXJU",
"b3dlckJvb2tGYXRlQ2FyZEJ1bmRsZRIKCgJpZBgBIAEoBRIMCgRuYW1lGAIg",
"ASgJEhIKCnNob3J0X25hbWUYAyABKAkSDwoHc29ydF9pZBgEIAEoBRILCgN0",
"YWcYBSABKAkSEgoKc21hbGxfaWNvbhgGIAEoCRITCgtidW5kbGVfaWNvbhgH",
"IAEoCRIMCgRpY29uGAggASgJEhMKC3dvcmxkX2NsYXNzGAkgASgFEhUKDXN0",
"YXJfdG93ZXJfaWQYCiABKAUSFQoNY29sbGVjdF9jYXJkcxgLIAMoBRIUCgx1",
"bmxvY2tfY2FyZHMYDCADKAVCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.StarTowerBookFateCardBundle), global::Nova.Client.StarTowerBookFateCardBundle.Parser, new[]{ "Id", "Name", "ShortName", "SortId", "Tag", "SmallIcon", "BundleIcon", "Icon", "WorldClass", "StarTowerId", "CollectCards", "UnlockCards" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class StarTowerBookFateCardBundle : pb::IMessage<StarTowerBookFateCardBundle>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<StarTowerBookFateCardBundle> _parser = new pb::MessageParser<StarTowerBookFateCardBundle>(() => new StarTowerBookFateCardBundle());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<StarTowerBookFateCardBundle> 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.StarTowerBookFateCardBundleReflection.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 StarTowerBookFateCardBundle() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StarTowerBookFateCardBundle(StarTowerBookFateCardBundle other) : this() {
id_ = other.id_;
name_ = other.name_;
shortName_ = other.shortName_;
sortId_ = other.sortId_;
tag_ = other.tag_;
smallIcon_ = other.smallIcon_;
bundleIcon_ = other.bundleIcon_;
icon_ = other.icon_;
worldClass_ = other.worldClass_;
starTowerId_ = other.starTowerId_;
collectCards_ = other.collectCards_.Clone();
unlockCards_ = other.unlockCards_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public StarTowerBookFateCardBundle Clone() {
return new StarTowerBookFateCardBundle(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 "name" field.</summary>
public const int NameFieldNumber = 2;
private string name_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Name {
get { return name_; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "short_name" field.</summary>
public const int ShortNameFieldNumber = 3;
private string shortName_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ShortName {
get { return shortName_; }
set {
shortName_ = 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 "tag" field.</summary>
public const int TagFieldNumber = 5;
private string tag_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Tag {
get { return tag_; }
set {
tag_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "small_icon" field.</summary>
public const int SmallIconFieldNumber = 6;
private string smallIcon_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SmallIcon {
get { return smallIcon_; }
set {
smallIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "bundle_icon" field.</summary>
public const int BundleIconFieldNumber = 7;
private string bundleIcon_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string BundleIcon {
get { return bundleIcon_; }
set {
bundleIcon_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "icon" field.</summary>
public const int IconFieldNumber = 8;
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 "world_class" field.</summary>
public const int WorldClassFieldNumber = 9;
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 = 10;
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 = 11;
private static readonly pb::FieldCodec<int> _repeated_collectCards_codec
= pb::FieldCodec.ForInt32(90);
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 = 12;
private static readonly pb::FieldCodec<int> _repeated_unlockCards_codec
= pb::FieldCodec.ForInt32(98);
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_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as StarTowerBookFateCardBundle);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(StarTowerBookFateCardBundle other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (Name != other.Name) return false;
if (ShortName != other.ShortName) return false;
if (SortId != other.SortId) return false;
if (Tag != other.Tag) return false;
if (SmallIcon != other.SmallIcon) return false;
if (BundleIcon != other.BundleIcon) return false;
if (Icon != other.Icon) 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;
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 (Name.Length != 0) hash ^= Name.GetHashCode();
if (ShortName.Length != 0) hash ^= ShortName.GetHashCode();
if (SortId != 0) hash ^= SortId.GetHashCode();
if (Tag.Length != 0) hash ^= Tag.GetHashCode();
if (SmallIcon.Length != 0) hash ^= SmallIcon.GetHashCode();
if (BundleIcon.Length != 0) hash ^= BundleIcon.GetHashCode();
if (Icon.Length != 0) hash ^= Icon.GetHashCode();
if (WorldClass != 0) hash ^= WorldClass.GetHashCode();
if (StarTowerId != 0) hash ^= StarTowerId.GetHashCode();
hash ^= collectCards_.GetHashCode();
hash ^= unlockCards_.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 (Name.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Name);
}
if (ShortName.Length != 0) {
output.WriteRawTag(26);
output.WriteString(ShortName);
}
if (SortId != 0) {
output.WriteRawTag(32);
output.WriteInt32(SortId);
}
if (Tag.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Tag);
}
if (SmallIcon.Length != 0) {
output.WriteRawTag(50);
output.WriteString(SmallIcon);
}
if (BundleIcon.Length != 0) {
output.WriteRawTag(58);
output.WriteString(BundleIcon);
}
if (Icon.Length != 0) {
output.WriteRawTag(66);
output.WriteString(Icon);
}
if (WorldClass != 0) {
output.WriteRawTag(72);
output.WriteInt32(WorldClass);
}
if (StarTowerId != 0) {
output.WriteRawTag(80);
output.WriteInt32(StarTowerId);
}
collectCards_.WriteTo(output, _repeated_collectCards_codec);
unlockCards_.WriteTo(output, _repeated_unlockCards_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) {
if (Id != 0) {
output.WriteRawTag(8);
output.WriteInt32(Id);
}
if (Name.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Name);
}
if (ShortName.Length != 0) {
output.WriteRawTag(26);
output.WriteString(ShortName);
}
if (SortId != 0) {
output.WriteRawTag(32);
output.WriteInt32(SortId);
}
if (Tag.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Tag);
}
if (SmallIcon.Length != 0) {
output.WriteRawTag(50);
output.WriteString(SmallIcon);
}
if (BundleIcon.Length != 0) {
output.WriteRawTag(58);
output.WriteString(BundleIcon);
}
if (Icon.Length != 0) {
output.WriteRawTag(66);
output.WriteString(Icon);
}
if (WorldClass != 0) {
output.WriteRawTag(72);
output.WriteInt32(WorldClass);
}
if (StarTowerId != 0) {
output.WriteRawTag(80);
output.WriteInt32(StarTowerId);
}
collectCards_.WriteTo(ref output, _repeated_collectCards_codec);
unlockCards_.WriteTo(ref output, _repeated_unlockCards_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;
if (Id != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
}
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (ShortName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ShortName);
}
if (SortId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SortId);
}
if (Tag.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag);
}
if (SmallIcon.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SmallIcon);
}
if (BundleIcon.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(BundleIcon);
}
if (Icon.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon);
}
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 (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(StarTowerBookFateCardBundle other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.ShortName.Length != 0) {
ShortName = other.ShortName;
}
if (other.SortId != 0) {
SortId = other.SortId;
}
if (other.Tag.Length != 0) {
Tag = other.Tag;
}
if (other.SmallIcon.Length != 0) {
SmallIcon = other.SmallIcon;
}
if (other.BundleIcon.Length != 0) {
BundleIcon = other.BundleIcon;
}
if (other.Icon.Length != 0) {
Icon = other.Icon;
}
if (other.WorldClass != 0) {
WorldClass = other.WorldClass;
}
if (other.StarTowerId != 0) {
StarTowerId = other.StarTowerId;
}
collectCards_.Add(other.collectCards_);
unlockCards_.Add(other.unlockCards_);
_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 18: {
Name = input.ReadString();
break;
}
case 26: {
ShortName = input.ReadString();
break;
}
case 32: {
SortId = input.ReadInt32();
break;
}
case 42: {
Tag = input.ReadString();
break;
}
case 50: {
SmallIcon = input.ReadString();
break;
}
case 58: {
BundleIcon = input.ReadString();
break;
}
case 66: {
Icon = input.ReadString();
break;
}
case 72: {
WorldClass = input.ReadInt32();
break;
}
case 80: {
StarTowerId = input.ReadInt32();
break;
}
case 90:
case 88: {
collectCards_.AddEntriesFrom(input, _repeated_collectCards_codec);
break;
}
case 98:
case 96: {
unlockCards_.AddEntriesFrom(input, _repeated_unlockCards_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) {
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 18: {
Name = input.ReadString();
break;
}
case 26: {
ShortName = input.ReadString();
break;
}
case 32: {
SortId = input.ReadInt32();
break;
}
case 42: {
Tag = input.ReadString();
break;
}
case 50: {
SmallIcon = input.ReadString();
break;
}
case 58: {
BundleIcon = input.ReadString();
break;
}
case 66: {
Icon = input.ReadString();
break;
}
case 72: {
WorldClass = input.ReadInt32();
break;
}
case 80: {
StarTowerId = input.ReadInt32();
break;
}
case 90:
case 88: {
collectCards_.AddEntriesFrom(ref input, _repeated_collectCards_codec);
break;
}
case 98:
case 96: {
unlockCards_.AddEntriesFrom(ref input, _repeated_unlockCards_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code