forked from Raphael/SCHALE.GameServer
248 lines
21 KiB
C#
248 lines
21 KiB
C#
|
// <auto-generated>
|
||
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||
|
// </auto-generated>
|
||
|
|
||
|
namespace SCHALE.Common.FlatData
|
||
|
{
|
||
|
|
||
|
using global::System;
|
||
|
using global::System.Collections.Generic;
|
||
|
using global::Google.FlatBuffers;
|
||
|
|
||
|
public struct ItemExcel : IFlatbufferObject
|
||
|
{
|
||
|
private Table __p;
|
||
|
public ByteBuffer ByteBuffer { get { return __p.bb; } }
|
||
|
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
|
||
|
public static ItemExcel GetRootAsItemExcel(ByteBuffer _bb) { return GetRootAsItemExcel(_bb, new ItemExcel()); }
|
||
|
public static ItemExcel GetRootAsItemExcel(ByteBuffer _bb, ItemExcel obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
|
||
|
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
|
||
|
public ItemExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
|
||
|
|
||
|
public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
||
|
public long GroupId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
||
|
public SCHALE.Common.FlatData.Rarity Rarity { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } }
|
||
|
public SCHALE.Common.FlatData.ProductionStep ProductionStep { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } }
|
||
|
public uint LocalizeEtcId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } }
|
||
|
public SCHALE.Common.FlatData.ItemCategory ItemCategory { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.ItemCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ItemCategory.Coin; } }
|
||
|
public long Quality { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
||
|
public string Icon { get { int o = __p.__offset(18); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
|
||
|
#if ENABLE_SPAN_T
|
||
|
public Span<byte> GetIconBytes() { return __p.__vector_as_span<byte>(18, 1); }
|
||
|
#else
|
||
|
public ArraySegment<byte>? GetIconBytes() { return __p.__vector_as_arraysegment(18); }
|
||
|
#endif
|
||
|
public byte[] GetIconArray() { return __p.__vector_as_array<byte>(18); }
|
||
|
public string SpriteName { get { int o = __p.__offset(20); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
|
||
|
#if ENABLE_SPAN_T
|
||
|
public Span<byte> GetSpriteNameBytes() { return __p.__vector_as_span<byte>(20, 1); }
|
||
|
#else
|
||
|
public ArraySegment<byte>? GetSpriteNameBytes() { return __p.__vector_as_arraysegment(20); }
|
||
|
#endif
|
||
|
public byte[] GetSpriteNameArray() { return __p.__vector_as_array<byte>(20); }
|
||
|
public int StackableMax { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
|
||
|
public int StackableFunction { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
|
||
|
public bool ImmediateUse { get { int o = __p.__offset(26); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
|
||
|
public SCHALE.Common.FlatData.ParcelType UsingResultParcelType { get { int o = __p.__offset(28); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } }
|
||
|
public long UsingResultId { get { int o = __p.__offset(30); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
||
|
public long UsingResultAmount { get { int o = __p.__offset(32); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
||
|
public SCHALE.Common.FlatData.MailType MailType { get { int o = __p.__offset(34); return o != 0 ? (SCHALE.Common.FlatData.MailType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MailType.System; } }
|
||
|
public SCHALE.Common.FlatData.ParcelType ExpiryChangeParcelType { get { int o = __p.__offset(36); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } }
|
||
|
public long ExpiryChangeId { get { int o = __p.__offset(38); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
||
|
public long ExpiryChangeAmount { get { int o = __p.__offset(40); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
||
|
public bool CanTierUpgrade { get { int o = __p.__offset(42); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
|
||
|
public long TierUpgradeRecipeCraftId { get { int o = __p.__offset(44); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
||
|
public SCHALE.Common.FlatData.Tag Tags(int j) { int o = __p.__offset(46); return o != 0 ? (SCHALE.Common.FlatData.Tag)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.Tag)0; }
|
||
|
public int TagsLength { get { int o = __p.__offset(46); return o != 0 ? __p.__vector_len(o) : 0; } }
|
||
|
#if ENABLE_SPAN_T
|
||
|
public Span<SCHALE.Common.FlatData.Tag> GetTagsBytes() { return __p.__vector_as_span<SCHALE.Common.FlatData.Tag>(46, 4); }
|
||
|
#else
|
||
|
public ArraySegment<byte>? GetTagsBytes() { return __p.__vector_as_arraysegment(46); }
|
||
|
#endif
|
||
|
public SCHALE.Common.FlatData.Tag[] GetTagsArray() { int o = __p.__offset(46); if (o == 0) return null; int p = __p.__vector(o); int l = __p.__vector_len(o); SCHALE.Common.FlatData.Tag[] a = new SCHALE.Common.FlatData.Tag[l]; for (int i = 0; i < l; i++) { a[i] = (SCHALE.Common.FlatData.Tag)__p.bb.GetInt(p + i * 4); } return a; }
|
||
|
public long CraftQualityTier0 { get { int o = __p.__offset(48); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
||
|
public long CraftQualityTier1 { get { int o = __p.__offset(50); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
||
|
public long CraftQualityTier2 { get { int o = __p.__offset(52); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
||
|
public long ShiftingCraftQuality { get { int o = __p.__offset(54); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
||
|
public int MaxGiftTags { get { int o = __p.__offset(56); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
|
||
|
public SCHALE.Common.FlatData.ShopCategoryType ShopCategory(int j) { int o = __p.__offset(58); return o != 0 ? (SCHALE.Common.FlatData.ShopCategoryType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.ShopCategoryType)0; }
|
||
|
public int ShopCategoryLength { get { int o = __p.__offset(58); return o != 0 ? __p.__vector_len(o) : 0; } }
|
||
|
#if ENABLE_SPAN_T
|
||
|
public Span<SCHALE.Common.FlatData.ShopCategoryType> GetShopCategoryBytes() { return __p.__vector_as_span<SCHALE.Common.FlatData.ShopCategoryType>(58, 4); }
|
||
|
#else
|
||
|
public ArraySegment<byte>? GetShopCategoryBytes() { return __p.__vector_as_arraysegment(58); }
|
||
|
#endif
|
||
|
public SCHALE.Common.FlatData.ShopCategoryType[] GetShopCategoryArray() { int o = __p.__offset(58); if (o == 0) return null; int p = __p.__vector(o); int l = __p.__vector_len(o); SCHALE.Common.FlatData.ShopCategoryType[] a = new SCHALE.Common.FlatData.ShopCategoryType[l]; for (int i = 0; i < l; i++) { a[i] = (SCHALE.Common.FlatData.ShopCategoryType)__p.bb.GetInt(p + i * 4); } return a; }
|
||
|
public string ExpirationDateTime { get { int o = __p.__offset(60); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
|
||
|
#if ENABLE_SPAN_T
|
||
|
public Span<byte> GetExpirationDateTimeBytes() { return __p.__vector_as_span<byte>(60, 1); }
|
||
|
#else
|
||
|
public ArraySegment<byte>? GetExpirationDateTimeBytes() { return __p.__vector_as_arraysegment(60); }
|
||
|
#endif
|
||
|
public byte[] GetExpirationDateTimeArray() { return __p.__vector_as_array<byte>(60); }
|
||
|
public int ExpirationNotifyDateIn { get { int o = __p.__offset(62); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
|
||
|
public long ShortcutTypeId { get { int o = __p.__offset(64); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
||
|
public SCHALE.Common.FlatData.GachaTicketType GachaTicket { get { int o = __p.__offset(66); return o != 0 ? (SCHALE.Common.FlatData.GachaTicketType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.GachaTicketType.None; } }
|
||
|
|
||
|
public static Offset<SCHALE.Common.FlatData.ItemExcel> CreateItemExcel(FlatBufferBuilder builder,
|
||
|
long Id = 0,
|
||
|
long GroupId = 0,
|
||
|
SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N,
|
||
|
SCHALE.Common.FlatData.ProductionStep ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo,
|
||
|
uint LocalizeEtcId = 0,
|
||
|
SCHALE.Common.FlatData.ItemCategory ItemCategory = SCHALE.Common.FlatData.ItemCategory.Coin,
|
||
|
long Quality = 0,
|
||
|
StringOffset IconOffset = default(StringOffset),
|
||
|
StringOffset SpriteNameOffset = default(StringOffset),
|
||
|
int StackableMax = 0,
|
||
|
int StackableFunction = 0,
|
||
|
bool ImmediateUse = false,
|
||
|
SCHALE.Common.FlatData.ParcelType UsingResultParcelType = SCHALE.Common.FlatData.ParcelType.None,
|
||
|
long UsingResultId = 0,
|
||
|
long UsingResultAmount = 0,
|
||
|
SCHALE.Common.FlatData.MailType MailType = SCHALE.Common.FlatData.MailType.System,
|
||
|
SCHALE.Common.FlatData.ParcelType ExpiryChangeParcelType = SCHALE.Common.FlatData.ParcelType.None,
|
||
|
long ExpiryChangeId = 0,
|
||
|
long ExpiryChangeAmount = 0,
|
||
|
bool CanTierUpgrade = false,
|
||
|
long TierUpgradeRecipeCraftId = 0,
|
||
|
VectorOffset TagsOffset = default(VectorOffset),
|
||
|
long CraftQualityTier0 = 0,
|
||
|
long CraftQualityTier1 = 0,
|
||
|
long CraftQualityTier2 = 0,
|
||
|
long ShiftingCraftQuality = 0,
|
||
|
int MaxGiftTags = 0,
|
||
|
VectorOffset ShopCategoryOffset = default(VectorOffset),
|
||
|
StringOffset ExpirationDateTimeOffset = default(StringOffset),
|
||
|
int ExpirationNotifyDateIn = 0,
|
||
|
long ShortcutTypeId = 0,
|
||
|
SCHALE.Common.FlatData.GachaTicketType GachaTicket = SCHALE.Common.FlatData.GachaTicketType.None) {
|
||
|
builder.StartTable(32);
|
||
|
ItemExcel.AddShortcutTypeId(builder, ShortcutTypeId);
|
||
|
ItemExcel.AddShiftingCraftQuality(builder, ShiftingCraftQuality);
|
||
|
ItemExcel.AddCraftQualityTier2(builder, CraftQualityTier2);
|
||
|
ItemExcel.AddCraftQualityTier1(builder, CraftQualityTier1);
|
||
|
ItemExcel.AddCraftQualityTier0(builder, CraftQualityTier0);
|
||
|
ItemExcel.AddTierUpgradeRecipeCraftId(builder, TierUpgradeRecipeCraftId);
|
||
|
ItemExcel.AddExpiryChangeAmount(builder, ExpiryChangeAmount);
|
||
|
ItemExcel.AddExpiryChangeId(builder, ExpiryChangeId);
|
||
|
ItemExcel.AddUsingResultAmount(builder, UsingResultAmount);
|
||
|
ItemExcel.AddUsingResultId(builder, UsingResultId);
|
||
|
ItemExcel.AddQuality(builder, Quality);
|
||
|
ItemExcel.AddGroupId(builder, GroupId);
|
||
|
ItemExcel.AddId(builder, Id);
|
||
|
ItemExcel.AddGachaTicket(builder, GachaTicket);
|
||
|
ItemExcel.AddExpirationNotifyDateIn(builder, ExpirationNotifyDateIn);
|
||
|
ItemExcel.AddExpirationDateTime(builder, ExpirationDateTimeOffset);
|
||
|
ItemExcel.AddShopCategory(builder, ShopCategoryOffset);
|
||
|
ItemExcel.AddMaxGiftTags(builder, MaxGiftTags);
|
||
|
ItemExcel.AddTags(builder, TagsOffset);
|
||
|
ItemExcel.AddExpiryChangeParcelType(builder, ExpiryChangeParcelType);
|
||
|
ItemExcel.AddMailType(builder, MailType);
|
||
|
ItemExcel.AddUsingResultParcelType(builder, UsingResultParcelType);
|
||
|
ItemExcel.AddStackableFunction(builder, StackableFunction);
|
||
|
ItemExcel.AddStackableMax(builder, StackableMax);
|
||
|
ItemExcel.AddSpriteName(builder, SpriteNameOffset);
|
||
|
ItemExcel.AddIcon(builder, IconOffset);
|
||
|
ItemExcel.AddItemCategory(builder, ItemCategory);
|
||
|
ItemExcel.AddLocalizeEtcId(builder, LocalizeEtcId);
|
||
|
ItemExcel.AddProductionStep(builder, ProductionStep);
|
||
|
ItemExcel.AddRarity(builder, Rarity);
|
||
|
ItemExcel.AddCanTierUpgrade(builder, CanTierUpgrade);
|
||
|
ItemExcel.AddImmediateUse(builder, ImmediateUse);
|
||
|
return ItemExcel.EndItemExcel(builder);
|
||
|
}
|
||
|
|
||
|
public static void StartItemExcel(FlatBufferBuilder builder) { builder.StartTable(32); }
|
||
|
public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); }
|
||
|
public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(1, groupId, 0); }
|
||
|
public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(2, (int)rarity, 0); }
|
||
|
public static void AddProductionStep(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep) { builder.AddInt(3, (int)productionStep, 0); }
|
||
|
public static void AddLocalizeEtcId(FlatBufferBuilder builder, uint localizeEtcId) { builder.AddUint(4, localizeEtcId, 0); }
|
||
|
public static void AddItemCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.ItemCategory itemCategory) { builder.AddInt(5, (int)itemCategory, 0); }
|
||
|
public static void AddQuality(FlatBufferBuilder builder, long quality) { builder.AddLong(6, quality, 0); }
|
||
|
public static void AddIcon(FlatBufferBuilder builder, StringOffset iconOffset) { builder.AddOffset(7, iconOffset.Value, 0); }
|
||
|
public static void AddSpriteName(FlatBufferBuilder builder, StringOffset spriteNameOffset) { builder.AddOffset(8, spriteNameOffset.Value, 0); }
|
||
|
public static void AddStackableMax(FlatBufferBuilder builder, int stackableMax) { builder.AddInt(9, stackableMax, 0); }
|
||
|
public static void AddStackableFunction(FlatBufferBuilder builder, int stackableFunction) { builder.AddInt(10, stackableFunction, 0); }
|
||
|
public static void AddImmediateUse(FlatBufferBuilder builder, bool immediateUse) { builder.AddBool(11, immediateUse, false); }
|
||
|
public static void AddUsingResultParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType usingResultParcelType) { builder.AddInt(12, (int)usingResultParcelType, 0); }
|
||
|
public static void AddUsingResultId(FlatBufferBuilder builder, long usingResultId) { builder.AddLong(13, usingResultId, 0); }
|
||
|
public static void AddUsingResultAmount(FlatBufferBuilder builder, long usingResultAmount) { builder.AddLong(14, usingResultAmount, 0); }
|
||
|
public static void AddMailType(FlatBufferBuilder builder, SCHALE.Common.FlatData.MailType mailType) { builder.AddInt(15, (int)mailType, 0); }
|
||
|
public static void AddExpiryChangeParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType expiryChangeParcelType) { builder.AddInt(16, (int)expiryChangeParcelType, 0); }
|
||
|
public static void AddExpiryChangeId(FlatBufferBuilder builder, long expiryChangeId) { builder.AddLong(17, expiryChangeId, 0); }
|
||
|
public static void AddExpiryChangeAmount(FlatBufferBuilder builder, long expiryChangeAmount) { builder.AddLong(18, expiryChangeAmount, 0); }
|
||
|
public static void AddCanTierUpgrade(FlatBufferBuilder builder, bool canTierUpgrade) { builder.AddBool(19, canTierUpgrade, false); }
|
||
|
public static void AddTierUpgradeRecipeCraftId(FlatBufferBuilder builder, long tierUpgradeRecipeCraftId) { builder.AddLong(20, tierUpgradeRecipeCraftId, 0); }
|
||
|
public static void AddTags(FlatBufferBuilder builder, VectorOffset tagsOffset) { builder.AddOffset(21, tagsOffset.Value, 0); }
|
||
|
public static VectorOffset CreateTagsVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.Tag[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt((int)data[i]); return builder.EndVector(); }
|
||
|
public static VectorOffset CreateTagsVectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.Tag[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
|
||
|
public static VectorOffset CreateTagsVectorBlock(FlatBufferBuilder builder, ArraySegment<SCHALE.Common.FlatData.Tag> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
|
||
|
public static VectorOffset CreateTagsVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<SCHALE.Common.FlatData.Tag>(dataPtr, sizeInBytes); return builder.EndVector(); }
|
||
|
public static void StartTagsVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
|
||
|
public static void AddCraftQualityTier0(FlatBufferBuilder builder, long craftQualityTier0) { builder.AddLong(22, craftQualityTier0, 0); }
|
||
|
public static void AddCraftQualityTier1(FlatBufferBuilder builder, long craftQualityTier1) { builder.AddLong(23, craftQualityTier1, 0); }
|
||
|
public static void AddCraftQualityTier2(FlatBufferBuilder builder, long craftQualityTier2) { builder.AddLong(24, craftQualityTier2, 0); }
|
||
|
public static void AddShiftingCraftQuality(FlatBufferBuilder builder, long shiftingCraftQuality) { builder.AddLong(25, shiftingCraftQuality, 0); }
|
||
|
public static void AddMaxGiftTags(FlatBufferBuilder builder, int maxGiftTags) { builder.AddInt(26, maxGiftTags, 0); }
|
||
|
public static void AddShopCategory(FlatBufferBuilder builder, VectorOffset shopCategoryOffset) { builder.AddOffset(27, shopCategoryOffset.Value, 0); }
|
||
|
public static VectorOffset CreateShopCategoryVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.ShopCategoryType[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt((int)data[i]); return builder.EndVector(); }
|
||
|
public static VectorOffset CreateShopCategoryVectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.ShopCategoryType[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
|
||
|
public static VectorOffset CreateShopCategoryVectorBlock(FlatBufferBuilder builder, ArraySegment<SCHALE.Common.FlatData.ShopCategoryType> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
|
||
|
public static VectorOffset CreateShopCategoryVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<SCHALE.Common.FlatData.ShopCategoryType>(dataPtr, sizeInBytes); return builder.EndVector(); }
|
||
|
public static void StartShopCategoryVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
|
||
|
public static void AddExpirationDateTime(FlatBufferBuilder builder, StringOffset expirationDateTimeOffset) { builder.AddOffset(28, expirationDateTimeOffset.Value, 0); }
|
||
|
public static void AddExpirationNotifyDateIn(FlatBufferBuilder builder, int expirationNotifyDateIn) { builder.AddInt(29, expirationNotifyDateIn, 0); }
|
||
|
public static void AddShortcutTypeId(FlatBufferBuilder builder, long shortcutTypeId) { builder.AddLong(30, shortcutTypeId, 0); }
|
||
|
public static void AddGachaTicket(FlatBufferBuilder builder, SCHALE.Common.FlatData.GachaTicketType gachaTicket) { builder.AddInt(31, (int)gachaTicket, 0); }
|
||
|
public static Offset<SCHALE.Common.FlatData.ItemExcel> EndItemExcel(FlatBufferBuilder builder) {
|
||
|
int o = builder.EndTable();
|
||
|
return new Offset<SCHALE.Common.FlatData.ItemExcel>(o);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
static public class ItemExcelVerify
|
||
|
{
|
||
|
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
|
||
|
{
|
||
|
return verifier.VerifyTableStart(tablePos)
|
||
|
&& verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false)
|
||
|
&& verifier.VerifyField(tablePos, 6 /*GroupId*/, 8 /*long*/, 8, false)
|
||
|
&& verifier.VerifyField(tablePos, 8 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false)
|
||
|
&& verifier.VerifyField(tablePos, 10 /*ProductionStep*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false)
|
||
|
&& verifier.VerifyField(tablePos, 12 /*LocalizeEtcId*/, 4 /*uint*/, 4, false)
|
||
|
&& verifier.VerifyField(tablePos, 14 /*ItemCategory*/, 4 /*SCHALE.Common.FlatData.ItemCategory*/, 4, false)
|
||
|
&& verifier.VerifyField(tablePos, 16 /*Quality*/, 8 /*long*/, 8, false)
|
||
|
&& verifier.VerifyString(tablePos, 18 /*Icon*/, false)
|
||
|
&& verifier.VerifyString(tablePos, 20 /*SpriteName*/, false)
|
||
|
&& verifier.VerifyField(tablePos, 22 /*StackableMax*/, 4 /*int*/, 4, false)
|
||
|
&& verifier.VerifyField(tablePos, 24 /*StackableFunction*/, 4 /*int*/, 4, false)
|
||
|
&& verifier.VerifyField(tablePos, 26 /*ImmediateUse*/, 1 /*bool*/, 1, false)
|
||
|
&& verifier.VerifyField(tablePos, 28 /*UsingResultParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false)
|
||
|
&& verifier.VerifyField(tablePos, 30 /*UsingResultId*/, 8 /*long*/, 8, false)
|
||
|
&& verifier.VerifyField(tablePos, 32 /*UsingResultAmount*/, 8 /*long*/, 8, false)
|
||
|
&& verifier.VerifyField(tablePos, 34 /*MailType*/, 4 /*SCHALE.Common.FlatData.MailType*/, 4, false)
|
||
|
&& verifier.VerifyField(tablePos, 36 /*ExpiryChangeParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false)
|
||
|
&& verifier.VerifyField(tablePos, 38 /*ExpiryChangeId*/, 8 /*long*/, 8, false)
|
||
|
&& verifier.VerifyField(tablePos, 40 /*ExpiryChangeAmount*/, 8 /*long*/, 8, false)
|
||
|
&& verifier.VerifyField(tablePos, 42 /*CanTierUpgrade*/, 1 /*bool*/, 1, false)
|
||
|
&& verifier.VerifyField(tablePos, 44 /*TierUpgradeRecipeCraftId*/, 8 /*long*/, 8, false)
|
||
|
&& verifier.VerifyVectorOfData(tablePos, 46 /*Tags*/, 4 /*SCHALE.Common.FlatData.Tag*/, false)
|
||
|
&& verifier.VerifyField(tablePos, 48 /*CraftQualityTier0*/, 8 /*long*/, 8, false)
|
||
|
&& verifier.VerifyField(tablePos, 50 /*CraftQualityTier1*/, 8 /*long*/, 8, false)
|
||
|
&& verifier.VerifyField(tablePos, 52 /*CraftQualityTier2*/, 8 /*long*/, 8, false)
|
||
|
&& verifier.VerifyField(tablePos, 54 /*ShiftingCraftQuality*/, 8 /*long*/, 8, false)
|
||
|
&& verifier.VerifyField(tablePos, 56 /*MaxGiftTags*/, 4 /*int*/, 4, false)
|
||
|
&& verifier.VerifyVectorOfData(tablePos, 58 /*ShopCategory*/, 4 /*SCHALE.Common.FlatData.ShopCategoryType*/, false)
|
||
|
&& verifier.VerifyString(tablePos, 60 /*ExpirationDateTime*/, false)
|
||
|
&& verifier.VerifyField(tablePos, 62 /*ExpirationNotifyDateIn*/, 4 /*int*/, 4, false)
|
||
|
&& verifier.VerifyField(tablePos, 64 /*ShortcutTypeId*/, 8 /*long*/, 8, false)
|
||
|
&& verifier.VerifyField(tablePos, 66 /*GachaTicket*/, 4 /*SCHALE.Common.FlatData.GachaTicketType*/, 4, false)
|
||
|
&& verifier.VerifyTableEnd(tablePos);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|