Reviewed-on: #1
This commit is contained in:
Raphael 2024-12-31 02:20:50 +00:00
commit 40846cca3c
213 changed files with 29656 additions and 23028 deletions

View File

@ -13,7 +13,7 @@ namespace MX.Core.Crypto
// private static readonly short PROTOCOL_HEAD_RESERVE = 8; // private static readonly short PROTOCOL_HEAD_RESERVE = 8;
private readonly XORCryptor _cryptor = new(); private readonly XORCryptor _cryptor = new();
private readonly FastCRC _checke = new(); private readonly FastCRC _checke = new();
private ProtocolConverter _converter = new(); private SCHALE.Common.Crypto.ProtocolConverter _converter = new();
public static PacketCryptManager Instance = new(); public static PacketCryptManager Instance = new();
public byte[] RequestToBinary(Protocol protocol, string json) public byte[] RequestToBinary(Protocol protocol, string json)

View File

@ -1,10 +1,12 @@
using Google.FlatBuffers; using Google.FlatBuffers;
using System.Data.SQLite;
using Newtonsoft.Json; using Newtonsoft.Json;
using Newtonsoft.Json.Converters; using Newtonsoft.Json.Converters;
using SCHALE.Common.Crypto.XXHash; using SCHALE.Common.Crypto.XXHash;
using SCHALE.Common.FlatData; using SCHALE.Common.FlatData;
using System.Reflection; using System.Reflection;
using System.Text; using System.Text;
using static Microsoft.EntityFrameworkCore.DbLoggerCategory.Database;
namespace SCHALE.Common.Crypto namespace SCHALE.Common.Crypto
{ {
@ -36,11 +38,63 @@ namespace SCHALE.Common.Crypto
} }
#if DEBUG #if DEBUG
public static List<object> GetExcelList(Type type, string exceldbDir, string schema)
{
var excelList = new List<object>();
using (var dbConnection = new SQLiteConnection($"Data Source = {exceldbDir}"))
{
dbConnection.Open();
var command = dbConnection.CreateCommand();
command.CommandText = $"SELECT Bytes FROM {schema}";
using (var reader = command.ExecuteReader())
{
while (reader.Read())
{
excelList.Add(type.GetMethod($"GetRootAs{type.Name}", BindingFlags.Static | BindingFlags.Public, [typeof(ByteBuffer)])!
.Invoke(null, [new ByteBuffer((byte[])reader[0])]));
}
}
}
return excelList;
}
public static void DumpExcelDB(string exceldbDir, string destDir)
{
Directory.CreateDirectory(destDir);
using (var dbConnection = new SQLiteConnection($"Data Source = {exceldbDir}"))
{
dbConnection.Open();
string query = "SELECT name FROM sqlite_master WHERE type='table' AND name NOT LIKE 'sqlite_%';";
using (var command = new SQLiteCommand(query, dbConnection))
using (var reader = command.ExecuteReader())
{
while (reader.Read())
{
string dbSchemaName = reader.GetString(0);
string excelName = dbSchemaName.Replace("DBSchema", "Excel");
var type = Assembly.GetAssembly(typeof(AcademyFavorScheduleExcelTable))!.GetTypes().Where(t => t.IsAssignableTo(typeof(IFlatbufferObject)) && (t.Name.Equals(excelName))).FirstOrDefault();
var list = GetExcelList(type, exceldbDir, dbSchemaName);
File.WriteAllText(Path.Join(destDir, $"{type.Name}.json"), JsonConvert.SerializeObject(list, Formatting.Indented, new StringEnumConverter()));
Console.WriteLine($"Dumped {type.Name} from {dbSchemaName} successfully");
}
}
}
}
public static void DumpExcels(string bytesDir, string destDir) public static void DumpExcels(string bytesDir, string destDir)
{ {
Directory.CreateDirectory(destDir);
foreach (var type in Assembly.GetAssembly(typeof(AcademyFavorScheduleExcelTable))!.GetTypes().Where(t => t.IsAssignableTo(typeof(IFlatbufferObject)) && t.Name.EndsWith("ExcelTable"))) foreach (var type in Assembly.GetAssembly(typeof(AcademyFavorScheduleExcelTable))!.GetTypes().Where(t => t.IsAssignableTo(typeof(IFlatbufferObject)) && t.Name.EndsWith("ExcelTable")))
{ {
var bytesFilePath = Path.Join(bytesDir, $"{type.Name.ToLower()}.bytes"); var bytesFilePath = Path.Join(bytesDir, $"{type.Name}.bytes");
if (!File.Exists(bytesFilePath)) if (!File.Exists(bytesFilePath))
{ {
Console.WriteLine($"bytes files for {type.Name} not found. skipping..."); Console.WriteLine($"bytes files for {type.Name} not found. skipping...");
@ -50,7 +104,7 @@ namespace SCHALE.Common.Crypto
var bytes = File.ReadAllBytes(bytesFilePath); var bytes = File.ReadAllBytes(bytesFilePath);
TableEncryptionService.XOR(type.Name, bytes); TableEncryptionService.XOR(type.Name, bytes);
var inst = type.GetMethod($"GetRootAs{type.Name}", BindingFlags.Static | BindingFlags.Public, [typeof(ByteBuffer)])!.Invoke(null, [new ByteBuffer(bytes)]); var inst = type.GetMethod($"GetRootAs{type.Name}", BindingFlags.Static | BindingFlags.Public, [typeof(ByteBuffer)])!.Invoke(null, [new ByteBuffer(bytes)]);
var obj = type.GetMethod("UnPack", BindingFlags.Instance | BindingFlags.Public)!.Invoke(inst, null); var obj = type.GetMethod("UnPack", BindingFlags.Instance | BindingFlags.Public)!.Invoke(inst, null);
File.WriteAllText(Path.Join(destDir, $"{type.Name}.json"), JsonConvert.SerializeObject(obj, Formatting.Indented, new StringEnumConverter())); File.WriteAllText(Path.Join(destDir, $"{type.Name}.json"), JsonConvert.SerializeObject(obj, Formatting.Indented, new StringEnumConverter()));
Console.WriteLine($"Dumped {type.Name} successfully"); Console.WriteLine($"Dumped {type.Name} successfully");

View File

@ -0,0 +1,707 @@
using SCHALE.Common.FlatData;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace SCHALE.Common.Database
{
public class AccountDB
{
[JsonIgnore]
public virtual ICollection<ItemDB> Items { get; }
[JsonIgnore]
public virtual ICollection<CharacterDB> Characters { get; }
[JsonIgnore]
public virtual ICollection<MissionProgressDB> MissionProgresses { get; }
[JsonIgnore]
public virtual ICollection<EchelonDB> Echelons { get; }
[JsonIgnore]
public virtual ICollection<EquipmentDB> Equipment { get; }
[JsonIgnore]
public virtual ICollection<WeaponDB> Weapons { get; }
[JsonIgnore]
public virtual ICollection<GearDB> Gears { get; }
[JsonIgnore]
public virtual ICollection<MemoryLobbyDB> MemoryLobbies { get; }
[JsonIgnore]
public virtual ICollection<ScenarioHistoryDB> Scenarios { get; }
[JsonIgnore]
public virtual ICollection<CafeDB> Cafes { get; }
[JsonIgnore]
public virtual ICollection<FurnitureDB> Furnitures { get; }
[JsonIgnore]
public virtual ICollection<ScenarioGroupHistoryDB> ScenarioGroups { get; }
[JsonIgnore]
public virtual ICollection<AccountCurrencyDB> Currencies { get; }
[JsonIgnore]
public virtual ICollection<MultiFloorRaidDB> MultiFloorRaids { get; }
[JsonIgnore]
public virtual ICollection<WeekDungeonStageHistoryDB> WeekDungeonStageHistories { get; }
[JsonIgnore]
public virtual ICollection<SchoolDungeonStageHistoryDB> SchoolDungeonStageHistories { get; }
[JsonIgnore]
public virtual ICollection<CampaignStageHistoryDB> CampaignStageHistories { get; }
[JsonIgnore]
public virtual ICollection<MailDB> Mails { get; }
[JsonIgnore]
public virtual RaidInfo RaidInfo { get; set; }
public AccountDB()
{
Items = new List<ItemDB>();
Characters = new List<CharacterDB>();
MissionProgresses = new List<MissionProgressDB>();
Echelons = new List<EchelonDB>();
Equipment = new List<EquipmentDB>();
Weapons = new List<WeaponDB>();
Gears = new List<GearDB>();
MemoryLobbies = new List<MemoryLobbyDB>();
Scenarios = new List<ScenarioHistoryDB>();
Cafes = new List<CafeDB>();
Furnitures = new List<FurnitureDB>();
ScenarioGroups = new List<ScenarioGroupHistoryDB>();
Currencies = new List<AccountCurrencyDB>();
MultiFloorRaids = new List<MultiFloorRaidDB>();
WeekDungeonStageHistories = new List<WeekDungeonStageHistoryDB>();
SchoolDungeonStageHistories = new List<SchoolDungeonStageHistoryDB>();
CampaignStageHistories = new List<CampaignStageHistoryDB>();
Mails = new List<MailDB>();
}
public AccountDB(long publisherAccountId) : this()
{
PublisherAccountId = publisherAccountId;
State = AccountState.Normal;
Level = 1;
LastConnectTime = DateTime.Now;
CreateDate = DateTime.Now;
RaidInfo = new()
{
SeasonId = 1, // default
BestRankingPoint = 0,
TotalRankingPoint = 0,
};
}
[Key]
public long ServerId { get; set; }
public string? Nickname { get; set; }
public string? CallName { get; set; }
public string? DevId { get; set; }
public AccountState State { get; set; }
public int Level { get; set; }
public long Exp { get; set; }
public string? Comment { get; set; }
public int? LobbyMode { get; set; }
public long RepresentCharacterServerId { get; set; }
public long MemoryLobbyUniqueId { get; set; }
public DateTime LastConnectTime { get; set; }
public DateTime BirthDay { get; set; }
public DateTime CallNameUpdateTime { get; set; }
public long PublisherAccountId { get; set; }
public Nullable<int> RetentionDays { get; set; }
public Nullable<int> VIPLevel { get; set; }
public DateTime CreateDate { get; set; }
public Nullable<int> UnReadMailCount { get; set; }
public Nullable<DateTime> LinkRewardDate { get; set; }
}
public class FurnitureDB : ConsumableItemBaseDB
{
public override ParcelType Type { get => ParcelType.Furniture; }
[NotMapped]
[JsonIgnore]
public override IEnumerable<ParcelInfo> ParcelInfos { get; }
[JsonIgnore]
public override bool CanConsume { get => false; }
public FurnitureLocation Location { get; set; }
public long CafeDBId { get; set; }
public float PositionX { get; set; }
public float PositionY { get; set; }
public float Rotation { get; set; }
public long ItemDeploySequence { get; set; }
}
public class MissionProgressDB : IEquatable<MissionProgressDB>, IMemoryPackable<MissionProgressDB>, IMemoryPackFormatterRegister
{
[Key]
[JsonIgnore]
public long ServerId { get; set; }
[JsonIgnore]
public virtual AccountDB Account { get; set; }
[JsonIgnore]
public long AccountServerId { get; set; }
public long MissionUniqueId { get; set; }
public bool Complete { get; set; }
public DateTime StartTime { get; set; }
public Dictionary<long, long> ProgressParameters { get; set; } = [];
public bool Equals(MissionProgressDB other)
{
return default;
}
}
public abstract class ConsumableItemBaseDB : ParcelBase
{
[JsonIgnore]
public virtual AccountDB Account { get; set; }
[JsonIgnore]
public abstract bool CanConsume { get; }
[JsonIgnore]
public ParcelKeyPair Key { get; }
[JsonIgnore]
public long AccountServerId { get; set; }
[Key]
public long ServerId { get; set; }
public long UniqueId { get; set; }
public long StackCount { get; set; }
}
public class ItemDB : ConsumableItemBaseDB
{
[NotMapped]
public override ParcelType Type => ParcelType.Item;
[NotMapped]
[JsonIgnore]
public override IEnumerable<ParcelInfo> ParcelInfos { get; }
[NotMapped]
[JsonIgnore]
public override bool CanConsume => true;
}
public class CharacterDB : ParcelBase
{
[NotMapped]
public override ParcelType Type { get => ParcelType.Character; }
[JsonIgnore]
public virtual AccountDB Account { get; set; }
[JsonIgnore]
public long AccountServerId { get; set; }
[JsonIgnore]
[NotMapped]
public override IEnumerable<ParcelInfo> ParcelInfos { get; }
[Key]
public long ServerId { get; set; }
public long UniqueId { get; set; }
public int StarGrade { get; set; }
public int Level { get; set; }
public long Exp { get; set; }
public int FavorRank { get; set; }
public long FavorExp { get; set; }
public int PublicSkillLevel { get; set; }
public int ExSkillLevel { get; set; }
public int PassiveSkillLevel { get; set; }
public int ExtraPassiveSkillLevel { get; set; }
public int LeaderSkillLevel { get; set; }
public bool IsFavorite { get; set; }
public List<long> EquipmentServerIds { get; set; } = [];
public Dictionary<int, int> PotentialStats { get; set; } = [];
[JsonIgnore]
public Dictionary<int, long> EquipmentSlotAndDBIds { get; } = [];
}
public class EquipmentDB : ConsumableItemBaseDB
{
[NotMapped]
public override ParcelType Type { get => ParcelType.Equipment; }
[NotMapped]
[JsonIgnore]
public override IEnumerable<ParcelInfo> ParcelInfos { get; }
[JsonIgnore]
public override bool CanConsume { get => false; }
public int Level { get; set; }
public long Exp { get; set; }
public int Tier { get; set; }
public long BoundCharacterServerId { get; set; }
}
public class WeaponDB : ParcelBase
{
[NotMapped]
public override ParcelType Type { get => ParcelType.CharacterWeapon; }
[NotMapped]
[JsonIgnore]
public override IEnumerable<ParcelInfo> ParcelInfos { get; }
[JsonIgnore]
public virtual AccountDB Account { get; set; }
[JsonIgnore]
public long AccountServerId { get; set; }
[Key]
public long ServerId { get; set; }
public long UniqueId { get; set; }
public int Level { get; set; }
public long Exp { get; set; }
public int StarGrade { get; set; }
public long BoundCharacterServerId { get; set; }
}
public class GearDB : ParcelBase
{
[NotMapped]
public override ParcelType Type { get => ParcelType.CharacterGear; }
[NotMapped]
[JsonIgnore]
public override IEnumerable<ParcelInfo> ParcelInfos { get; }
[JsonIgnore]
public virtual AccountDB Account { get; set; }
[JsonIgnore]
public long AccountServerId { get; set; }
[Key]
public long ServerId { get; set; }
public long UniqueId { get; set; }
public int Level { get; set; }
public long Exp { get; set; }
public int Tier { get; set; }
public long SlotIndex { get; set; }
public long BoundCharacterServerId { get; set; }
[JsonIgnore]
public EquipmentDB ToEquipmentDB { get; }
}
public class MemoryLobbyDB : ParcelBase
{
public override ParcelType Type { get => ParcelType.MemoryLobby; }
[NotMapped]
[JsonIgnore]
public override IEnumerable<ParcelInfo> ParcelInfos { get; }
[JsonIgnore]
public virtual AccountDB Account { get; set; }
[JsonIgnore]
public long AccountServerId { get; set; }
[Key]
public long ServerId { get; set; }
public long MemoryLobbyUniqueId { get; set; }
}
public class ScenarioHistoryDB
{
[JsonIgnore]
public virtual AccountDB Account { get; set; }
[JsonIgnore]
public long AccountServerId { get; set; }
[Key]
public long ServerId { get; set; }
public long ScenarioUniqueId { get; set; }
public DateTime ClearDateTime { get; set; }
}
public class ScenarioGroupHistoryDB
{
[JsonIgnore]
public virtual AccountDB Account { get; set; }
[JsonIgnore]
public long AccountServerId { get; set; }
[Key]
public long ServerId { get; set; }
public long ScenarioGroupUqniueId { get; set; }
public long ScenarioType { get; set; }
public Nullable<long> EventContentId { get; set; }
public DateTime ClearDateTime { get; set; }
public bool IsReturn { get; set; }
}
public class EchelonDB
{
[Key]
[JsonIgnore]
public long ServerId { get; set; }
[JsonIgnore]
public virtual AccountDB Account { get; set; }
[JsonIgnore]
public long AccountServerId { get; set; }
public EchelonType EchelonType { get; set; }
public long EchelonNumber { get; set; }
public EchelonExtensionType ExtensionType { get; set; }
public long LeaderServerId { get; set; }
[JsonIgnore]
public int MainSlotCount { get; }
[JsonIgnore]
public int SupportSlotCount { get; }
public List<long> MainSlotServerIds { get; set; } = [];
public List<long> SupportSlotServerIds { get; set; } = [];
public long TSSInteractionServerId { get; set; }
public EchelonStatusFlag UsingFlag { get; set; }
[JsonIgnore]
public bool IsUsing { get; }
[JsonIgnore]
public List<long> AllCharacterServerIds { get; } = [];
[JsonIgnore]
public List<long> AllCharacterWithoutTSSServerIds { get; } = [];
[JsonIgnore]
public List<long> AllCharacterWithEmptyServerIds { get; } = [];
[JsonIgnore]
public List<long> BattleCharacterServerIds { get; } = [];
public List<long> SkillCardMulliganCharacterIds { get; set; } = [];
public int[] CombatStyleIndex { get; set; } = [];
}
public class CampaignSubStageSaveDB : ContentSaveDB
{
public override ContentType ContentType { get => ContentType.CampaignSubStage; }
}
public class CampaignTutorialStageSaveDB : ContentSaveDB
{
public override ContentType ContentType { get => ContentType.CampaignTutorialStage; }
}
public class CafeDB
{
[JsonIgnore]
public virtual AccountDB Account { get; set; }
[JsonIgnore]
public long AccountServerId { get; set; }
[Key]
public long CafeDBId { get; set; }
public long CafeId { get; set; }
public long AccountId { get; set; }
public int CafeRank { get; set; }
public DateTime LastUpdate { get; set; }
public Nullable<DateTime> LastSummonDate { get; set; }
[NotMapped]
public bool IsNew { get; set; }
public Dictionary<long, CafeCharacterDB> CafeVisitCharacterDBs { get; set; }
[NotMapped]
public List<FurnitureDB> FurnitureDBs { get => Account.Furnitures.Where(x => x.CafeDBId == CafeDBId).ToList(); }
public DateTime ProductionAppliedTime { get; set; }
[NotMapped]
public CafeProductionDB ProductionDB
{
get => new()
{
CafeDBId = 1,
AppliedDate = DateTime.UtcNow,
ProductionParcelInfos = [
new(){ Key = new ParcelKeyPair { Type = ParcelType.Currency, Id = 1 } }, // id 1
new() { Key = new ParcelKeyPair { Type = ParcelType.Currency, Id = 5 } }
],
};
}
[JsonIgnore]
public Dictionary<CurrencyTypes, long> CurrencyDict_Obsolete { get; set; } = new Dictionary<CurrencyTypes, long>();
[JsonIgnore]
public Dictionary<CurrencyTypes, DateTime> UpdateTimeDict_Obsolete { get; set; } = new Dictionary<CurrencyTypes, DateTime>();
}
public class RaidInfo // custom class for all raid stuff needed
{
public long SeasonId { get; set; }
public long CurrentRaidUniqueId { get; set; }
public Difficulty CurrentDifficulty { get; set; }
public long BestRankingPoint { get; set; }
public long TotalRankingPoint { get; set; }
}
public class AcademyDB
{
public long AccountId { get; set; }
public DateTime LastUpdate { get; set; }
public Dictionary<long, List<VisitingCharacterDB>> ZoneVisitCharacterDBs { get; set; }
public Dictionary<long, List<long>> ZoneScheduleGroupRecords { get; set; }
}
public class CampaignStageHistoryDB
{
[JsonIgnore]
public virtual AccountDB Account { get; set; }
[JsonIgnore]
public long AccountServerId { get; set; }
[Key]
public long ServerId { get; set; }
public long StoryUniqueId { get; set; }
public long ChapterUniqueId { get; set; }
public long StageUniqueId { get; set; }
public long TacticClearCountWithRankSRecord { get; set; }
public long ClearTurnRecord { get; set; }
[JsonIgnore]
public long BestStarRecord { get; }
public bool Star1Flag { get; set; }
public bool Star2Flag { get; set; }
public bool Star3Flag { get; set; }
public DateTime LastPlay { get; set; }
public long TodayPlayCount { get; set; }
public long TodayPurchasePlayCountHardStage { get; set; }
public Nullable<DateTime> FirstClearRewardReceive { get; set; }
public Nullable<DateTime> StarRewardReceive { get; set; }
[JsonIgnore]
public bool IsClearedEver { get; }
public long TodayPlayCountForUI { get; }
}
public class MailDB
{
[JsonIgnore]
public virtual AccountDB Account { get; set; }
[Key]
public long ServerId { get; set; }
[JsonIgnore]
public long AccountServerId { get; set; }
public MailType Type { get; set; }
public long UniqueId { get; set; }
public string Sender { get; set; }
public string Comment { get; set; }
public DateTime SendDate { get; set; }
public Nullable<DateTime> ReceiptDate { get; set; }
public Nullable<DateTime> ExpireDate { get; set; }
[NotMapped] // TODO: implement storing these two with ef core, this is very nessary since these parcel infos are the items given in the mail, must be stored
public List<ParcelInfo> ParcelInfos { get; set; } // remove [NotMapped] if implemented storing
[NotMapped]
public List<ParcelInfo> RemainParcelInfos { get; set; }
}
public class CampaignChapterClearRewardHistoryDB
{
public long AccountServerId { get; set; }
public long ChapterUniqueId { get; set; }
public StageDifficulty RewardType { get; set; }
public DateTime ReceiveDate { get; set; }
}
public class AccountCurrencyDB
{
[JsonIgnore]
public virtual AccountDB Account { get; set; }
[JsonIgnore]
public long AccountServerId { get; set; }
[Key]
public long ServerId { get; set; }
public long AccountLevel { get; set; }
public long AcademyLocationRankSum { get; set; }
public Dictionary<CurrencyTypes, long> CurrencyDict { get; set; }
public Dictionary<CurrencyTypes, DateTime> UpdateTimeDict { get; set; }
}
public class MultiFloorRaidDB
{
[JsonIgnore]
public virtual AccountDB Account { get; set; }
[JsonIgnore]
public long AccountServerId { get; set; }
[Key]
public long ServerId { get; set; }
public long SeasonId { get; set; }
public int ClearedDifficulty { get; set; }
public DateTime LastClearDate { get; set; }
public int RewardDifficulty { get; set; }
public DateTime LastRewardDate { get; set; }
public int ClearBattleFrame { get; set; }
[JsonIgnore]
public bool AllCleared { get; } = false;
[JsonIgnore]
public bool HasReceivableRewards { get; } = false;
[JsonIgnore]
public List<ParcelInfo> TotalReceivableRewards { get; } = new List<ParcelInfo>();
[JsonIgnore]
public List<ParcelInfo> TotalReceivedRewards { get; } = new List<ParcelInfo>();
}
public class WeekDungeonStageHistoryDB
{
[JsonIgnore]
public virtual AccountDB Account { get; set; }
[Key]
public long ServerId { get; set; }
[JsonIgnore]
public long AccountServerId { get; set; }
public long StageUniqueId { get; set; }
public Dictionary<StarGoalType, long> StarGoalRecord { get; set; }
[JsonIgnore]
public bool IsCleardEver { get; }
}
public class SchoolDungeonStageHistoryDB
{
[JsonIgnore]
public virtual AccountDB Account { get; set; }
[JsonIgnore]
public long AccountServerId { get; set; }
[Key]
public long ServerId { get; set; }
public long StageUniqueId { get; set; }
[JsonIgnore]
public long BestStarRecord { get; }
public bool[] StarFlags { get; set; }
[JsonIgnore]
public bool Star1Flag { get; }
[JsonIgnore]
public bool Star2Flag { get; }
[JsonIgnore]
public bool Star3Flag { get; }
[JsonIgnore]
public bool IsClearedEver { get; }
}
[Serializable]
public struct BasisPoint : IEquatable<BasisPoint>, IComparable<BasisPoint>
{
private static readonly long Multiplier;
private static readonly double OneOver10_4 = 1.0 / 10000.0;
public static readonly BasisPoint Zero;
public static readonly BasisPoint One;
public static readonly BasisPoint Epsilon;
public static readonly double DoubleEpsilon;
[JsonIgnore]
public long RawValue { get; }
private long rawValue;
public BasisPoint(long rawValue)
{
this.rawValue = rawValue;
}
public bool Equals(BasisPoint other)
{
return this.rawValue == other.rawValue;
}
public int CompareTo(BasisPoint other)
{
return rawValue.CompareTo(other.rawValue);
}
public static long operator *(long value, BasisPoint other)
{
return MultiplyLong(value, other);
}
public static long MultiplyLong(long value, BasisPoint other)
{
double result = OneOver10_4 * ((double)other.rawValue * value);
if (double.IsInfinity(result))
return long.MaxValue;
return (long)result;
}
}
}

View File

@ -27,6 +27,13 @@ namespace SCHALE.Common.Database
public DbSet<CafeDB> Cafes { get; set; } public DbSet<CafeDB> Cafes { get; set; }
public DbSet<FurnitureDB> Furnitures { get; set; } public DbSet<FurnitureDB> Furnitures { get; set; }
public DbSet<AccountCurrencyDB> Currencies { get; set; }
public DbSet<MultiFloorRaidDB> MultiFloorRaids { get; set; }
public DbSet<WeekDungeonStageHistoryDB> WeekDungeonStageHistories { get; set; }
public DbSet<SchoolDungeonStageHistoryDB> SchoolDungeonStageHistories { get; set; }
public DbSet<CampaignStageHistoryDB> CampaignStageHistories { get; set; }
public DbSet<MailDB> Mails { get; set; }
public static SCHALEContext Create(string connectionString) => public static SCHALEContext Create(string connectionString) =>
new(new DbContextOptionsBuilder<SCHALEContext>() new(new DbContextOptionsBuilder<SCHALEContext>()
.UseSqlServer(connectionString) .UseSqlServer(connectionString)
@ -122,6 +129,22 @@ namespace SCHALE.Common.Database
modelBuilder.Entity<MissionProgressDB>().Property(x => x.ServerId).ValueGeneratedOnAdd(); modelBuilder.Entity<MissionProgressDB>().Property(x => x.ServerId).ValueGeneratedOnAdd();
modelBuilder.Entity<MissionProgressDB>().Property(x => x.ProgressParameters).HasJsonConversion(); modelBuilder.Entity<MissionProgressDB>().Property(x => x.ProgressParameters).HasJsonConversion();
modelBuilder.Entity<AccountCurrencyDB>().Property(x => x.ServerId).ValueGeneratedOnAdd();
modelBuilder.Entity<AccountCurrencyDB>().Property(x => x.CurrencyDict).HasJsonConversion();
modelBuilder.Entity<AccountCurrencyDB>().Property(x => x.UpdateTimeDict).HasJsonConversion();
modelBuilder.Entity<MultiFloorRaidDB>().Property(x => x.ServerId).ValueGeneratedOnAdd();
modelBuilder.Entity<MultiFloorRaidDB>().Property(x => x.TotalReceivableRewards).HasJsonConversion();
modelBuilder.Entity<MultiFloorRaidDB>().Property(x => x.TotalReceivedRewards).HasJsonConversion();
modelBuilder.Entity<WeekDungeonStageHistoryDB>().Property(x => x.ServerId).ValueGeneratedOnAdd();
modelBuilder.Entity<WeekDungeonStageHistoryDB>().Property(x => x.StarGoalRecord).HasJsonConversion();
modelBuilder.Entity<SchoolDungeonStageHistoryDB>().Property(x => x.ServerId).ValueGeneratedOnAdd();
modelBuilder.Entity<ScenarioGroupHistoryDB>().Property(x => x.ServerId).ValueGeneratedOnAdd();
modelBuilder.Entity<CampaignStageHistoryDB>().Property(x => x.ServerId).ValueGeneratedOnAdd();
modelBuilder.Entity<MailDB>().Property(x => x.ServerId).ValueGeneratedOnAdd();
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -61,31 +61,31 @@ public struct AcademyFavorScheduleExcel : IFlatbufferObject
public long[] GetRewardAmountArray() { return __p.__vector_as_array<long>(26); } public long[] GetRewardAmountArray() { return __p.__vector_as_array<long>(26); }
public static Offset<SCHALE.Common.FlatData.AcademyFavorScheduleExcel> CreateAcademyFavorScheduleExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.AcademyFavorScheduleExcel> CreateAcademyFavorScheduleExcel(FlatBufferBuilder builder,
long id = 0, long Id = 0,
long character_id = 0, long CharacterId = 0,
long schedule_group_id = 0, long ScheduleGroupId = 0,
long order_in_group = 0, long OrderInGroup = 0,
StringOffset locationOffset = default(StringOffset), StringOffset LocationOffset = default(StringOffset),
uint localize_scenario_id = 0, uint LocalizeScenarioId = 0,
long favor_rank = 0, long FavorRank = 0,
long secret_stone_amount = 0, long SecretStoneAmount = 0,
long scenario_sript_group_id = 0, long ScenarioSriptGroupId = 0,
VectorOffset reward_parcel_typeOffset = default(VectorOffset), VectorOffset RewardParcelTypeOffset = default(VectorOffset),
VectorOffset reward_parcel_idOffset = default(VectorOffset), VectorOffset RewardParcelIdOffset = default(VectorOffset),
VectorOffset reward_amountOffset = default(VectorOffset)) { VectorOffset RewardAmountOffset = default(VectorOffset)) {
builder.StartTable(12); builder.StartTable(12);
AcademyFavorScheduleExcel.AddScenarioSriptGroupId(builder, scenario_sript_group_id); AcademyFavorScheduleExcel.AddScenarioSriptGroupId(builder, ScenarioSriptGroupId);
AcademyFavorScheduleExcel.AddSecretStoneAmount(builder, secret_stone_amount); AcademyFavorScheduleExcel.AddSecretStoneAmount(builder, SecretStoneAmount);
AcademyFavorScheduleExcel.AddFavorRank(builder, favor_rank); AcademyFavorScheduleExcel.AddFavorRank(builder, FavorRank);
AcademyFavorScheduleExcel.AddOrderInGroup(builder, order_in_group); AcademyFavorScheduleExcel.AddOrderInGroup(builder, OrderInGroup);
AcademyFavorScheduleExcel.AddScheduleGroupId(builder, schedule_group_id); AcademyFavorScheduleExcel.AddScheduleGroupId(builder, ScheduleGroupId);
AcademyFavorScheduleExcel.AddCharacterId(builder, character_id); AcademyFavorScheduleExcel.AddCharacterId(builder, CharacterId);
AcademyFavorScheduleExcel.AddId(builder, id); AcademyFavorScheduleExcel.AddId(builder, Id);
AcademyFavorScheduleExcel.AddRewardAmount(builder, reward_amountOffset); AcademyFavorScheduleExcel.AddRewardAmount(builder, RewardAmountOffset);
AcademyFavorScheduleExcel.AddRewardParcelId(builder, reward_parcel_idOffset); AcademyFavorScheduleExcel.AddRewardParcelId(builder, RewardParcelIdOffset);
AcademyFavorScheduleExcel.AddRewardParcelType(builder, reward_parcel_typeOffset); AcademyFavorScheduleExcel.AddRewardParcelType(builder, RewardParcelTypeOffset);
AcademyFavorScheduleExcel.AddLocalizeScenarioId(builder, localize_scenario_id); AcademyFavorScheduleExcel.AddLocalizeScenarioId(builder, LocalizeScenarioId);
AcademyFavorScheduleExcel.AddLocation(builder, locationOffset); AcademyFavorScheduleExcel.AddLocation(builder, LocationOffset);
return AcademyFavorScheduleExcel.EndAcademyFavorScheduleExcel(builder); return AcademyFavorScheduleExcel.EndAcademyFavorScheduleExcel(builder);
} }
@ -146,21 +146,21 @@ public struct AcademyFavorScheduleExcel : IFlatbufferObject
} }
public static Offset<SCHALE.Common.FlatData.AcademyFavorScheduleExcel> Pack(FlatBufferBuilder builder, AcademyFavorScheduleExcelT _o) { public static Offset<SCHALE.Common.FlatData.AcademyFavorScheduleExcel> Pack(FlatBufferBuilder builder, AcademyFavorScheduleExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.AcademyFavorScheduleExcel>); if (_o == null) return default(Offset<SCHALE.Common.FlatData.AcademyFavorScheduleExcel>);
var _location = _o.Location == null ? default(StringOffset) : builder.CreateString(_o.Location); var _Location = _o.Location == null ? default(StringOffset) : builder.CreateString(_o.Location);
var _reward_parcel_type = default(VectorOffset); var _RewardParcelType = default(VectorOffset);
if (_o.RewardParcelType != null) { if (_o.RewardParcelType != null) {
var __reward_parcel_type = _o.RewardParcelType.ToArray(); var __RewardParcelType = _o.RewardParcelType.ToArray();
_reward_parcel_type = CreateRewardParcelTypeVector(builder, __reward_parcel_type); _RewardParcelType = CreateRewardParcelTypeVector(builder, __RewardParcelType);
} }
var _reward_parcel_id = default(VectorOffset); var _RewardParcelId = default(VectorOffset);
if (_o.RewardParcelId != null) { if (_o.RewardParcelId != null) {
var __reward_parcel_id = _o.RewardParcelId.ToArray(); var __RewardParcelId = _o.RewardParcelId.ToArray();
_reward_parcel_id = CreateRewardParcelIdVector(builder, __reward_parcel_id); _RewardParcelId = CreateRewardParcelIdVector(builder, __RewardParcelId);
} }
var _reward_amount = default(VectorOffset); var _RewardAmount = default(VectorOffset);
if (_o.RewardAmount != null) { if (_o.RewardAmount != null) {
var __reward_amount = _o.RewardAmount.ToArray(); var __RewardAmount = _o.RewardAmount.ToArray();
_reward_amount = CreateRewardAmountVector(builder, __reward_amount); _RewardAmount = CreateRewardAmountVector(builder, __RewardAmount);
} }
return CreateAcademyFavorScheduleExcel( return CreateAcademyFavorScheduleExcel(
builder, builder,
@ -168,14 +168,14 @@ public struct AcademyFavorScheduleExcel : IFlatbufferObject
_o.CharacterId, _o.CharacterId,
_o.ScheduleGroupId, _o.ScheduleGroupId,
_o.OrderInGroup, _o.OrderInGroup,
_location, _Location,
_o.LocalizeScenarioId, _o.LocalizeScenarioId,
_o.FavorRank, _o.FavorRank,
_o.SecretStoneAmount, _o.SecretStoneAmount,
_o.ScenarioSriptGroupId, _o.ScenarioSriptGroupId,
_reward_parcel_type, _RewardParcelType,
_reward_parcel_id, _RewardParcelId,
_reward_amount); _RewardAmount);
} }
} }

View File

@ -24,9 +24,9 @@ public struct AcademyFavorScheduleExcelTable : IFlatbufferObject
public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } }
public static Offset<SCHALE.Common.FlatData.AcademyFavorScheduleExcelTable> CreateAcademyFavorScheduleExcelTable(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.AcademyFavorScheduleExcelTable> CreateAcademyFavorScheduleExcelTable(FlatBufferBuilder builder,
VectorOffset data_listOffset = default(VectorOffset)) { VectorOffset DataListOffset = default(VectorOffset)) {
builder.StartTable(1); builder.StartTable(1);
AcademyFavorScheduleExcelTable.AddDataList(builder, data_listOffset); AcademyFavorScheduleExcelTable.AddDataList(builder, DataListOffset);
return AcademyFavorScheduleExcelTable.EndAcademyFavorScheduleExcelTable(builder); return AcademyFavorScheduleExcelTable.EndAcademyFavorScheduleExcelTable(builder);
} }
@ -53,15 +53,15 @@ public struct AcademyFavorScheduleExcelTable : IFlatbufferObject
} }
public static Offset<SCHALE.Common.FlatData.AcademyFavorScheduleExcelTable> Pack(FlatBufferBuilder builder, AcademyFavorScheduleExcelTableT _o) { public static Offset<SCHALE.Common.FlatData.AcademyFavorScheduleExcelTable> Pack(FlatBufferBuilder builder, AcademyFavorScheduleExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.AcademyFavorScheduleExcelTable>); if (_o == null) return default(Offset<SCHALE.Common.FlatData.AcademyFavorScheduleExcelTable>);
var _data_list = default(VectorOffset); var _DataList = default(VectorOffset);
if (_o.DataList != null) { if (_o.DataList != null) {
var __data_list = new Offset<SCHALE.Common.FlatData.AcademyFavorScheduleExcel>[_o.DataList.Count]; var __DataList = new Offset<SCHALE.Common.FlatData.AcademyFavorScheduleExcel>[_o.DataList.Count];
for (var _j = 0; _j < __data_list.Length; ++_j) { __data_list[_j] = SCHALE.Common.FlatData.AcademyFavorScheduleExcel.Pack(builder, _o.DataList[_j]); } for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.AcademyFavorScheduleExcel.Pack(builder, _o.DataList[_j]); }
_data_list = CreateDataListVector(builder, __data_list); _DataList = CreateDataListVector(builder, __DataList);
} }
return CreateAcademyFavorScheduleExcelTable( return CreateAcademyFavorScheduleExcelTable(
builder, builder,
_data_list); _DataList);
} }
} }

View File

@ -1,88 +0,0 @@
// <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::SCHALE.Common.Crypto;
using global::Google.FlatBuffers;
public struct AccountLevelExcelTable : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static AccountLevelExcelTable GetRootAsAccountLevelExcelTable(ByteBuffer _bb) { return GetRootAsAccountLevelExcelTable(_bb, new AccountLevelExcelTable()); }
public static AccountLevelExcelTable GetRootAsAccountLevelExcelTable(ByteBuffer _bb, AccountLevelExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public AccountLevelExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.AccountLevelExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.AccountLevelExcel?)(new SCHALE.Common.FlatData.AccountLevelExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; }
public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } }
public static Offset<SCHALE.Common.FlatData.AccountLevelExcelTable> CreateAccountLevelExcelTable(FlatBufferBuilder builder,
VectorOffset DataListOffset = default(VectorOffset)) {
builder.StartTable(1);
AccountLevelExcelTable.AddDataList(builder, DataListOffset);
return AccountLevelExcelTable.EndAccountLevelExcelTable(builder);
}
public static void StartAccountLevelExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); }
public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); }
public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.AccountLevelExcel>[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.AccountLevelExcel>[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<SCHALE.Common.FlatData.AccountLevelExcel>> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<Offset<SCHALE.Common.FlatData.AccountLevelExcel>>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.AccountLevelExcelTable> EndAccountLevelExcelTable(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.AccountLevelExcelTable>(o);
}
public AccountLevelExcelTableT UnPack() {
var _o = new AccountLevelExcelTableT();
this.UnPackTo(_o);
return _o;
}
public void UnPackTo(AccountLevelExcelTableT _o) {
byte[] key = TableEncryptionService.CreateKey("AccountLevelExcel");
_o.DataList = new List<SCHALE.Common.FlatData.AccountLevelExcelT>();
for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);}
}
public static Offset<SCHALE.Common.FlatData.AccountLevelExcelTable> Pack(FlatBufferBuilder builder, AccountLevelExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.AccountLevelExcelTable>);
var _DataList = default(VectorOffset);
if (_o.DataList != null) {
var __DataList = new Offset<SCHALE.Common.FlatData.AccountLevelExcel>[_o.DataList.Count];
for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.AccountLevelExcel.Pack(builder, _o.DataList[_j]); }
_DataList = CreateDataListVector(builder, __DataList);
}
return CreateAccountLevelExcelTable(
builder,
_DataList);
}
}
public class AccountLevelExcelTableT
{
public List<SCHALE.Common.FlatData.AccountLevelExcelT> DataList { get; set; }
public AccountLevelExcelTableT() {
this.DataList = null;
}
}
static public class AccountLevelExcelTableVerify
{
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{
return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.AccountLevelExcelVerify.Verify, false)
&& verifier.VerifyTableEnd(tablePos);
}
}
}

View File

@ -21,7 +21,7 @@ public struct ArenaRewardExcel : IFlatbufferObject
public ArenaRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public ArenaRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long UniqueId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long UniqueId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.ArenaRewardType ArenaRewardType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ArenaRewardType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ArenaRewardType.None; } } public SCHALE.Common.FlatData.ArenaRewardType ArenaRewardType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ArenaRewardType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ArenaRewardType.None; } }
public long RankStart { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long RankStart { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long RankEnd { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long RankEnd { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public string RankIconPath { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string RankIconPath { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
@ -60,7 +60,7 @@ public struct ArenaRewardExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.ArenaRewardExcel> CreateArenaRewardExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.ArenaRewardExcel> CreateArenaRewardExcel(FlatBufferBuilder builder,
long UniqueId = 0, long UniqueId = 0,
SCHALE.Common.FlatData.ArenaRewardType ArenaRewardType_ = SCHALE.Common.FlatData.ArenaRewardType.None, SCHALE.Common.FlatData.ArenaRewardType ArenaRewardType = SCHALE.Common.FlatData.ArenaRewardType.None,
long RankStart = 0, long RankStart = 0,
long RankEnd = 0, long RankEnd = 0,
StringOffset RankIconPathOffset = default(StringOffset), StringOffset RankIconPathOffset = default(StringOffset),
@ -77,13 +77,13 @@ public struct ArenaRewardExcel : IFlatbufferObject
ArenaRewardExcel.AddRewardParcelUniqueId(builder, RewardParcelUniqueIdOffset); ArenaRewardExcel.AddRewardParcelUniqueId(builder, RewardParcelUniqueIdOffset);
ArenaRewardExcel.AddRewardParcelType(builder, RewardParcelTypeOffset); ArenaRewardExcel.AddRewardParcelType(builder, RewardParcelTypeOffset);
ArenaRewardExcel.AddRankIconPath(builder, RankIconPathOffset); ArenaRewardExcel.AddRankIconPath(builder, RankIconPathOffset);
ArenaRewardExcel.AddArenaRewardType_(builder, ArenaRewardType_); ArenaRewardExcel.AddArenaRewardType(builder, ArenaRewardType);
return ArenaRewardExcel.EndArenaRewardExcel(builder); return ArenaRewardExcel.EndArenaRewardExcel(builder);
} }
public static void StartArenaRewardExcel(FlatBufferBuilder builder) { builder.StartTable(9); } public static void StartArenaRewardExcel(FlatBufferBuilder builder) { builder.StartTable(9); }
public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); } public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); }
public static void AddArenaRewardType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ArenaRewardType arenaRewardType_) { builder.AddInt(1, (int)arenaRewardType_, 0); } public static void AddArenaRewardType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ArenaRewardType arenaRewardType) { builder.AddInt(1, (int)arenaRewardType, 0); }
public static void AddRankStart(FlatBufferBuilder builder, long rankStart) { builder.AddLong(2, rankStart, 0); } public static void AddRankStart(FlatBufferBuilder builder, long rankStart) { builder.AddLong(2, rankStart, 0); }
public static void AddRankEnd(FlatBufferBuilder builder, long rankEnd) { builder.AddLong(3, rankEnd, 0); } public static void AddRankEnd(FlatBufferBuilder builder, long rankEnd) { builder.AddLong(3, rankEnd, 0); }
public static void AddRankIconPath(FlatBufferBuilder builder, StringOffset rankIconPathOffset) { builder.AddOffset(4, rankIconPathOffset.Value, 0); } public static void AddRankIconPath(FlatBufferBuilder builder, StringOffset rankIconPathOffset) { builder.AddOffset(4, rankIconPathOffset.Value, 0); }
@ -123,7 +123,7 @@ public struct ArenaRewardExcel : IFlatbufferObject
public void UnPackTo(ArenaRewardExcelT _o) { public void UnPackTo(ArenaRewardExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("ArenaReward"); byte[] key = TableEncryptionService.CreateKey("ArenaReward");
_o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key); _o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key);
_o.ArenaRewardType_ = TableEncryptionService.Convert(this.ArenaRewardType_, key); _o.ArenaRewardType = TableEncryptionService.Convert(this.ArenaRewardType, key);
_o.RankStart = TableEncryptionService.Convert(this.RankStart, key); _o.RankStart = TableEncryptionService.Convert(this.RankStart, key);
_o.RankEnd = TableEncryptionService.Convert(this.RankEnd, key); _o.RankEnd = TableEncryptionService.Convert(this.RankEnd, key);
_o.RankIconPath = TableEncryptionService.Convert(this.RankIconPath, key); _o.RankIconPath = TableEncryptionService.Convert(this.RankIconPath, key);
@ -163,7 +163,7 @@ public struct ArenaRewardExcel : IFlatbufferObject
return CreateArenaRewardExcel( return CreateArenaRewardExcel(
builder, builder,
_o.UniqueId, _o.UniqueId,
_o.ArenaRewardType_, _o.ArenaRewardType,
_o.RankStart, _o.RankStart,
_o.RankEnd, _o.RankEnd,
_RankIconPath, _RankIconPath,
@ -177,7 +177,7 @@ public struct ArenaRewardExcel : IFlatbufferObject
public class ArenaRewardExcelT public class ArenaRewardExcelT
{ {
public long UniqueId { get; set; } public long UniqueId { get; set; }
public SCHALE.Common.FlatData.ArenaRewardType ArenaRewardType_ { get; set; } public SCHALE.Common.FlatData.ArenaRewardType ArenaRewardType { get; set; }
public long RankStart { get; set; } public long RankStart { get; set; }
public long RankEnd { get; set; } public long RankEnd { get; set; }
public string RankIconPath { get; set; } public string RankIconPath { get; set; }
@ -188,7 +188,7 @@ public class ArenaRewardExcelT
public ArenaRewardExcelT() { public ArenaRewardExcelT() {
this.UniqueId = 0; this.UniqueId = 0;
this.ArenaRewardType_ = SCHALE.Common.FlatData.ArenaRewardType.None; this.ArenaRewardType = SCHALE.Common.FlatData.ArenaRewardType.None;
this.RankStart = 0; this.RankStart = 0;
this.RankEnd = 0; this.RankEnd = 0;
this.RankIconPath = null; this.RankIconPath = null;
@ -206,7 +206,7 @@ static public class ArenaRewardExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*ArenaRewardType_*/, 4 /*SCHALE.Common.FlatData.ArenaRewardType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*ArenaRewardType*/, 4 /*SCHALE.Common.FlatData.ArenaRewardType*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*RankStart*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*RankStart*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 10 /*RankEnd*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*RankEnd*/, 8 /*long*/, 8, false)
&& verifier.VerifyString(tablePos, 12 /*RankIconPath*/, false) && verifier.VerifyString(tablePos, 12 /*RankIconPath*/, false)

View File

@ -1,88 +0,0 @@
// <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::SCHALE.Common.Crypto;
using global::Google.FlatBuffers;
public struct AssistEchelonTypeConvertExcelTable : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static AssistEchelonTypeConvertExcelTable GetRootAsAssistEchelonTypeConvertExcelTable(ByteBuffer _bb) { return GetRootAsAssistEchelonTypeConvertExcelTable(_bb, new AssistEchelonTypeConvertExcelTable()); }
public static AssistEchelonTypeConvertExcelTable GetRootAsAssistEchelonTypeConvertExcelTable(ByteBuffer _bb, AssistEchelonTypeConvertExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public AssistEchelonTypeConvertExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.AssistEchelonTypeConvertExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.AssistEchelonTypeConvertExcel?)(new SCHALE.Common.FlatData.AssistEchelonTypeConvertExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; }
public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } }
public static Offset<SCHALE.Common.FlatData.AssistEchelonTypeConvertExcelTable> CreateAssistEchelonTypeConvertExcelTable(FlatBufferBuilder builder,
VectorOffset DataListOffset = default(VectorOffset)) {
builder.StartTable(1);
AssistEchelonTypeConvertExcelTable.AddDataList(builder, DataListOffset);
return AssistEchelonTypeConvertExcelTable.EndAssistEchelonTypeConvertExcelTable(builder);
}
public static void StartAssistEchelonTypeConvertExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); }
public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); }
public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.AssistEchelonTypeConvertExcel>[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.AssistEchelonTypeConvertExcel>[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<SCHALE.Common.FlatData.AssistEchelonTypeConvertExcel>> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<Offset<SCHALE.Common.FlatData.AssistEchelonTypeConvertExcel>>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.AssistEchelonTypeConvertExcelTable> EndAssistEchelonTypeConvertExcelTable(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.AssistEchelonTypeConvertExcelTable>(o);
}
public AssistEchelonTypeConvertExcelTableT UnPack() {
var _o = new AssistEchelonTypeConvertExcelTableT();
this.UnPackTo(_o);
return _o;
}
public void UnPackTo(AssistEchelonTypeConvertExcelTableT _o) {
byte[] key = TableEncryptionService.CreateKey("AssistEchelonTypeConvertExcel");
_o.DataList = new List<SCHALE.Common.FlatData.AssistEchelonTypeConvertExcelT>();
for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);}
}
public static Offset<SCHALE.Common.FlatData.AssistEchelonTypeConvertExcelTable> Pack(FlatBufferBuilder builder, AssistEchelonTypeConvertExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.AssistEchelonTypeConvertExcelTable>);
var _DataList = default(VectorOffset);
if (_o.DataList != null) {
var __DataList = new Offset<SCHALE.Common.FlatData.AssistEchelonTypeConvertExcel>[_o.DataList.Count];
for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.AssistEchelonTypeConvertExcel.Pack(builder, _o.DataList[_j]); }
_DataList = CreateDataListVector(builder, __DataList);
}
return CreateAssistEchelonTypeConvertExcelTable(
builder,
_DataList);
}
}
public class AssistEchelonTypeConvertExcelTableT
{
public List<SCHALE.Common.FlatData.AssistEchelonTypeConvertExcelT> DataList { get; set; }
public AssistEchelonTypeConvertExcelTableT() {
this.DataList = null;
}
}
static public class AssistEchelonTypeConvertExcelTableVerify
{
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{
return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.AssistEchelonTypeConvertExcelVerify.Verify, false)
&& verifier.VerifyTableEnd(tablePos);
}
}
}

View File

@ -71,8 +71,8 @@ public struct AttendanceExcel : IFlatbufferObject
#endif #endif
public byte[] GetEndDateArray() { return __p.__vector_as_array<byte>(30); } public byte[] GetEndDateArray() { return __p.__vector_as_array<byte>(30); }
public long ExpiryDate { get { int o = __p.__offset(32); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ExpiryDate { 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.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.DialogCategory DialogCategory_ { get { int o = __p.__offset(36); return o != 0 ? (SCHALE.Common.FlatData.DialogCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogCategory.Cafe; } } public SCHALE.Common.FlatData.DialogCategory DialogCategory { get { int o = __p.__offset(36); return o != 0 ? (SCHALE.Common.FlatData.DialogCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogCategory.Cafe; } }
public string TitleImagePath { get { int o = __p.__offset(38); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string TitleImagePath { get { int o = __p.__offset(38); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
public Span<byte> GetTitleImagePathBytes() { return __p.__vector_as_span<byte>(38, 1); } public Span<byte> GetTitleImagePathBytes() { return __p.__vector_as_span<byte>(38, 1); }
@ -104,8 +104,8 @@ public struct AttendanceExcel : IFlatbufferObject
StringOffset StartableEndDateOffset = default(StringOffset), StringOffset StartableEndDateOffset = default(StringOffset),
StringOffset EndDateOffset = default(StringOffset), StringOffset EndDateOffset = default(StringOffset),
long ExpiryDate = 0, long ExpiryDate = 0,
SCHALE.Common.FlatData.MailType MailType_ = SCHALE.Common.FlatData.MailType.System, SCHALE.Common.FlatData.MailType MailType = SCHALE.Common.FlatData.MailType.System,
SCHALE.Common.FlatData.DialogCategory DialogCategory_ = SCHALE.Common.FlatData.DialogCategory.Cafe, SCHALE.Common.FlatData.DialogCategory DialogCategory = SCHALE.Common.FlatData.DialogCategory.Cafe,
StringOffset TitleImagePathOffset = default(StringOffset), StringOffset TitleImagePathOffset = default(StringOffset),
StringOffset DecorationImagePathOffset = default(StringOffset)) { StringOffset DecorationImagePathOffset = default(StringOffset)) {
builder.StartTable(19); builder.StartTable(19);
@ -116,8 +116,8 @@ public struct AttendanceExcel : IFlatbufferObject
AttendanceExcel.AddId(builder, Id); AttendanceExcel.AddId(builder, Id);
AttendanceExcel.AddDecorationImagePath(builder, DecorationImagePathOffset); AttendanceExcel.AddDecorationImagePath(builder, DecorationImagePathOffset);
AttendanceExcel.AddTitleImagePath(builder, TitleImagePathOffset); AttendanceExcel.AddTitleImagePath(builder, TitleImagePathOffset);
AttendanceExcel.AddDialogCategory_(builder, DialogCategory_); AttendanceExcel.AddDialogCategory(builder, DialogCategory);
AttendanceExcel.AddMailType_(builder, MailType_); AttendanceExcel.AddMailType(builder, MailType);
AttendanceExcel.AddEndDate(builder, EndDateOffset); AttendanceExcel.AddEndDate(builder, EndDateOffset);
AttendanceExcel.AddStartableEndDate(builder, StartableEndDateOffset); AttendanceExcel.AddStartableEndDate(builder, StartableEndDateOffset);
AttendanceExcel.AddStartDate(builder, StartDateOffset); AttendanceExcel.AddStartDate(builder, StartDateOffset);
@ -147,8 +147,8 @@ public struct AttendanceExcel : IFlatbufferObject
public static void AddStartableEndDate(FlatBufferBuilder builder, StringOffset startableEndDateOffset) { builder.AddOffset(12, startableEndDateOffset.Value, 0); } public static void AddStartableEndDate(FlatBufferBuilder builder, StringOffset startableEndDateOffset) { builder.AddOffset(12, startableEndDateOffset.Value, 0); }
public static void AddEndDate(FlatBufferBuilder builder, StringOffset endDateOffset) { builder.AddOffset(13, endDateOffset.Value, 0); } public static void AddEndDate(FlatBufferBuilder builder, StringOffset endDateOffset) { builder.AddOffset(13, endDateOffset.Value, 0); }
public static void AddExpiryDate(FlatBufferBuilder builder, long expiryDate) { builder.AddLong(14, expiryDate, 0); } public static void AddExpiryDate(FlatBufferBuilder builder, long expiryDate) { builder.AddLong(14, expiryDate, 0); }
public static void AddMailType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.MailType mailType_) { builder.AddInt(15, (int)mailType_, 0); } public static void AddMailType(FlatBufferBuilder builder, SCHALE.Common.FlatData.MailType mailType) { builder.AddInt(15, (int)mailType, 0); }
public static void AddDialogCategory_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogCategory dialogCategory_) { builder.AddInt(16, (int)dialogCategory_, 0); } public static void AddDialogCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogCategory dialogCategory) { builder.AddInt(16, (int)dialogCategory, 0); }
public static void AddTitleImagePath(FlatBufferBuilder builder, StringOffset titleImagePathOffset) { builder.AddOffset(17, titleImagePathOffset.Value, 0); } public static void AddTitleImagePath(FlatBufferBuilder builder, StringOffset titleImagePathOffset) { builder.AddOffset(17, titleImagePathOffset.Value, 0); }
public static void AddDecorationImagePath(FlatBufferBuilder builder, StringOffset decorationImagePathOffset) { builder.AddOffset(18, decorationImagePathOffset.Value, 0); } public static void AddDecorationImagePath(FlatBufferBuilder builder, StringOffset decorationImagePathOffset) { builder.AddOffset(18, decorationImagePathOffset.Value, 0); }
public static Offset<SCHALE.Common.FlatData.AttendanceExcel> EndAttendanceExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.AttendanceExcel> EndAttendanceExcel(FlatBufferBuilder builder) {
@ -177,8 +177,8 @@ public struct AttendanceExcel : IFlatbufferObject
_o.StartableEndDate = TableEncryptionService.Convert(this.StartableEndDate, key); _o.StartableEndDate = TableEncryptionService.Convert(this.StartableEndDate, key);
_o.EndDate = TableEncryptionService.Convert(this.EndDate, key); _o.EndDate = TableEncryptionService.Convert(this.EndDate, key);
_o.ExpiryDate = TableEncryptionService.Convert(this.ExpiryDate, key); _o.ExpiryDate = TableEncryptionService.Convert(this.ExpiryDate, key);
_o.MailType_ = TableEncryptionService.Convert(this.MailType_, key); _o.MailType = TableEncryptionService.Convert(this.MailType, key);
_o.DialogCategory_ = TableEncryptionService.Convert(this.DialogCategory_, key); _o.DialogCategory = TableEncryptionService.Convert(this.DialogCategory, key);
_o.TitleImagePath = TableEncryptionService.Convert(this.TitleImagePath, key); _o.TitleImagePath = TableEncryptionService.Convert(this.TitleImagePath, key);
_o.DecorationImagePath = TableEncryptionService.Convert(this.DecorationImagePath, key); _o.DecorationImagePath = TableEncryptionService.Convert(this.DecorationImagePath, key);
} }
@ -209,8 +209,8 @@ public struct AttendanceExcel : IFlatbufferObject
_StartableEndDate, _StartableEndDate,
_EndDate, _EndDate,
_o.ExpiryDate, _o.ExpiryDate,
_o.MailType_, _o.MailType,
_o.DialogCategory_, _o.DialogCategory,
_TitleImagePath, _TitleImagePath,
_DecorationImagePath); _DecorationImagePath);
} }
@ -233,8 +233,8 @@ public class AttendanceExcelT
public string StartableEndDate { get; set; } public string StartableEndDate { get; set; }
public string EndDate { get; set; } public string EndDate { get; set; }
public long ExpiryDate { get; set; } public long ExpiryDate { get; set; }
public SCHALE.Common.FlatData.MailType MailType_ { get; set; } public SCHALE.Common.FlatData.MailType MailType { get; set; }
public SCHALE.Common.FlatData.DialogCategory DialogCategory_ { get; set; } public SCHALE.Common.FlatData.DialogCategory DialogCategory { get; set; }
public string TitleImagePath { get; set; } public string TitleImagePath { get; set; }
public string DecorationImagePath { get; set; } public string DecorationImagePath { get; set; }
@ -254,8 +254,8 @@ public class AttendanceExcelT
this.StartableEndDate = null; this.StartableEndDate = null;
this.EndDate = null; this.EndDate = null;
this.ExpiryDate = 0; this.ExpiryDate = 0;
this.MailType_ = SCHALE.Common.FlatData.MailType.System; this.MailType = SCHALE.Common.FlatData.MailType.System;
this.DialogCategory_ = SCHALE.Common.FlatData.DialogCategory.Cafe; this.DialogCategory = SCHALE.Common.FlatData.DialogCategory.Cafe;
this.TitleImagePath = null; this.TitleImagePath = null;
this.DecorationImagePath = null; this.DecorationImagePath = null;
} }
@ -282,8 +282,8 @@ static public class AttendanceExcelVerify
&& verifier.VerifyString(tablePos, 28 /*StartableEndDate*/, false) && verifier.VerifyString(tablePos, 28 /*StartableEndDate*/, false)
&& verifier.VerifyString(tablePos, 30 /*EndDate*/, false) && verifier.VerifyString(tablePos, 30 /*EndDate*/, false)
&& verifier.VerifyField(tablePos, 32 /*ExpiryDate*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 32 /*ExpiryDate*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 34 /*MailType_*/, 4 /*SCHALE.Common.FlatData.MailType*/, 4, false) && verifier.VerifyField(tablePos, 34 /*MailType*/, 4 /*SCHALE.Common.FlatData.MailType*/, 4, false)
&& verifier.VerifyField(tablePos, 36 /*DialogCategory_*/, 4 /*SCHALE.Common.FlatData.DialogCategory*/, 4, false) && verifier.VerifyField(tablePos, 36 /*DialogCategory*/, 4 /*SCHALE.Common.FlatData.DialogCategory*/, 4, false)
&& verifier.VerifyString(tablePos, 38 /*TitleImagePath*/, false) && verifier.VerifyString(tablePos, 38 /*TitleImagePath*/, false)
&& verifier.VerifyString(tablePos, 40 /*DecorationImagePath*/, false) && verifier.VerifyString(tablePos, 40 /*DecorationImagePath*/, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);

View File

@ -1,88 +0,0 @@
// <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::SCHALE.Common.Crypto;
using global::Google.FlatBuffers;
public struct AttendanceExcelTable : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static AttendanceExcelTable GetRootAsAttendanceExcelTable(ByteBuffer _bb) { return GetRootAsAttendanceExcelTable(_bb, new AttendanceExcelTable()); }
public static AttendanceExcelTable GetRootAsAttendanceExcelTable(ByteBuffer _bb, AttendanceExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public AttendanceExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.AttendanceExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.AttendanceExcel?)(new SCHALE.Common.FlatData.AttendanceExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; }
public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } }
public static Offset<SCHALE.Common.FlatData.AttendanceExcelTable> CreateAttendanceExcelTable(FlatBufferBuilder builder,
VectorOffset DataListOffset = default(VectorOffset)) {
builder.StartTable(1);
AttendanceExcelTable.AddDataList(builder, DataListOffset);
return AttendanceExcelTable.EndAttendanceExcelTable(builder);
}
public static void StartAttendanceExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); }
public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); }
public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.AttendanceExcel>[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.AttendanceExcel>[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<SCHALE.Common.FlatData.AttendanceExcel>> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<Offset<SCHALE.Common.FlatData.AttendanceExcel>>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.AttendanceExcelTable> EndAttendanceExcelTable(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.AttendanceExcelTable>(o);
}
public AttendanceExcelTableT UnPack() {
var _o = new AttendanceExcelTableT();
this.UnPackTo(_o);
return _o;
}
public void UnPackTo(AttendanceExcelTableT _o) {
byte[] key = TableEncryptionService.CreateKey("AttendanceExcel");
_o.DataList = new List<SCHALE.Common.FlatData.AttendanceExcelT>();
for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);}
}
public static Offset<SCHALE.Common.FlatData.AttendanceExcelTable> Pack(FlatBufferBuilder builder, AttendanceExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.AttendanceExcelTable>);
var _DataList = default(VectorOffset);
if (_o.DataList != null) {
var __DataList = new Offset<SCHALE.Common.FlatData.AttendanceExcel>[_o.DataList.Count];
for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.AttendanceExcel.Pack(builder, _o.DataList[_j]); }
_DataList = CreateDataListVector(builder, __DataList);
}
return CreateAttendanceExcelTable(
builder,
_DataList);
}
}
public class AttendanceExcelTableT
{
public List<SCHALE.Common.FlatData.AttendanceExcelT> DataList { get; set; }
public AttendanceExcelTableT() {
this.DataList = null;
}
}
static public class AttendanceExcelTableVerify
{
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{
return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.AttendanceExcelVerify.Verify, false)
&& verifier.VerifyTableEnd(tablePos);
}
}
}

View File

@ -1,88 +0,0 @@
// <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::SCHALE.Common.Crypto;
using global::Google.FlatBuffers;
public struct AttendanceRewardExcelTable : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static AttendanceRewardExcelTable GetRootAsAttendanceRewardExcelTable(ByteBuffer _bb) { return GetRootAsAttendanceRewardExcelTable(_bb, new AttendanceRewardExcelTable()); }
public static AttendanceRewardExcelTable GetRootAsAttendanceRewardExcelTable(ByteBuffer _bb, AttendanceRewardExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public AttendanceRewardExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.AttendanceRewardExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.AttendanceRewardExcel?)(new SCHALE.Common.FlatData.AttendanceRewardExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; }
public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } }
public static Offset<SCHALE.Common.FlatData.AttendanceRewardExcelTable> CreateAttendanceRewardExcelTable(FlatBufferBuilder builder,
VectorOffset DataListOffset = default(VectorOffset)) {
builder.StartTable(1);
AttendanceRewardExcelTable.AddDataList(builder, DataListOffset);
return AttendanceRewardExcelTable.EndAttendanceRewardExcelTable(builder);
}
public static void StartAttendanceRewardExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); }
public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); }
public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.AttendanceRewardExcel>[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.AttendanceRewardExcel>[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<SCHALE.Common.FlatData.AttendanceRewardExcel>> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<Offset<SCHALE.Common.FlatData.AttendanceRewardExcel>>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.AttendanceRewardExcelTable> EndAttendanceRewardExcelTable(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.AttendanceRewardExcelTable>(o);
}
public AttendanceRewardExcelTableT UnPack() {
var _o = new AttendanceRewardExcelTableT();
this.UnPackTo(_o);
return _o;
}
public void UnPackTo(AttendanceRewardExcelTableT _o) {
byte[] key = TableEncryptionService.CreateKey("AttendanceRewardExcel");
_o.DataList = new List<SCHALE.Common.FlatData.AttendanceRewardExcelT>();
for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);}
}
public static Offset<SCHALE.Common.FlatData.AttendanceRewardExcelTable> Pack(FlatBufferBuilder builder, AttendanceRewardExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.AttendanceRewardExcelTable>);
var _DataList = default(VectorOffset);
if (_o.DataList != null) {
var __DataList = new Offset<SCHALE.Common.FlatData.AttendanceRewardExcel>[_o.DataList.Count];
for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.AttendanceRewardExcel.Pack(builder, _o.DataList[_j]); }
_DataList = CreateDataListVector(builder, __DataList);
}
return CreateAttendanceRewardExcelTable(
builder,
_DataList);
}
}
public class AttendanceRewardExcelTableT
{
public List<SCHALE.Common.FlatData.AttendanceRewardExcelT> DataList { get; set; }
public AttendanceRewardExcelTableT() {
this.DataList = null;
}
}
static public class AttendanceRewardExcelTableVerify
{
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{
return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.AttendanceRewardExcelVerify.Verify, false)
&& verifier.VerifyTableEnd(tablePos);
}
}
}

View File

@ -0,0 +1,16 @@
// <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
namespace SCHALE.Common.FlatData
{
public enum BattleDialogType : int
{
Talk = 0,
Think = 1,
Shout = 2,
};
}

View File

@ -22,8 +22,8 @@ public struct BossExternalBTExcel : IFlatbufferObject
public long ExternalBTId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ExternalBTId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long AIPhase { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long AIPhase { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.ExternalBTNodeType ExternalBTNodeType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ExternalBTNodeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ExternalBTNodeType.Sequence; } } public SCHALE.Common.FlatData.ExternalBTNodeType ExternalBTNodeType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ExternalBTNodeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ExternalBTNodeType.Sequence; } }
public SCHALE.Common.FlatData.ExternalBTTrigger ExternalBTTrigger_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ExternalBTTrigger)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ExternalBTTrigger.None; } } public SCHALE.Common.FlatData.ExternalBTTrigger ExternalBTTrigger { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ExternalBTTrigger)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ExternalBTTrigger.None; } }
public string TriggerArgument { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string TriggerArgument { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
public Span<byte> GetTriggerArgumentBytes() { return __p.__vector_as_span<byte>(12, 1); } public Span<byte> GetTriggerArgumentBytes() { return __p.__vector_as_span<byte>(12, 1); }
@ -32,7 +32,7 @@ public struct BossExternalBTExcel : IFlatbufferObject
#endif #endif
public byte[] GetTriggerArgumentArray() { return __p.__vector_as_array<byte>(12); } public byte[] GetTriggerArgumentArray() { return __p.__vector_as_array<byte>(12); }
public long BehaviorRate { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long BehaviorRate { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.ExternalBehavior ExternalBehavior_ { get { int o = __p.__offset(16); return o != 0 ? (SCHALE.Common.FlatData.ExternalBehavior)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ExternalBehavior.UseNextExSkill; } } public SCHALE.Common.FlatData.ExternalBehavior ExternalBehavior { get { int o = __p.__offset(16); return o != 0 ? (SCHALE.Common.FlatData.ExternalBehavior)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ExternalBehavior.UseNextExSkill; } }
public string BehaviorArgument { get { int o = __p.__offset(18); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string BehaviorArgument { get { int o = __p.__offset(18); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
public Span<byte> GetBehaviorArgumentBytes() { return __p.__vector_as_span<byte>(18, 1); } public Span<byte> GetBehaviorArgumentBytes() { return __p.__vector_as_span<byte>(18, 1); }
@ -44,32 +44,32 @@ public struct BossExternalBTExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.BossExternalBTExcel> CreateBossExternalBTExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.BossExternalBTExcel> CreateBossExternalBTExcel(FlatBufferBuilder builder,
long ExternalBTId = 0, long ExternalBTId = 0,
long AIPhase = 0, long AIPhase = 0,
SCHALE.Common.FlatData.ExternalBTNodeType ExternalBTNodeType_ = SCHALE.Common.FlatData.ExternalBTNodeType.Sequence, SCHALE.Common.FlatData.ExternalBTNodeType ExternalBTNodeType = SCHALE.Common.FlatData.ExternalBTNodeType.Sequence,
SCHALE.Common.FlatData.ExternalBTTrigger ExternalBTTrigger_ = SCHALE.Common.FlatData.ExternalBTTrigger.None, SCHALE.Common.FlatData.ExternalBTTrigger ExternalBTTrigger = SCHALE.Common.FlatData.ExternalBTTrigger.None,
StringOffset TriggerArgumentOffset = default(StringOffset), StringOffset TriggerArgumentOffset = default(StringOffset),
long BehaviorRate = 0, long BehaviorRate = 0,
SCHALE.Common.FlatData.ExternalBehavior ExternalBehavior_ = SCHALE.Common.FlatData.ExternalBehavior.UseNextExSkill, SCHALE.Common.FlatData.ExternalBehavior ExternalBehavior = SCHALE.Common.FlatData.ExternalBehavior.UseNextExSkill,
StringOffset BehaviorArgumentOffset = default(StringOffset)) { StringOffset BehaviorArgumentOffset = default(StringOffset)) {
builder.StartTable(8); builder.StartTable(8);
BossExternalBTExcel.AddBehaviorRate(builder, BehaviorRate); BossExternalBTExcel.AddBehaviorRate(builder, BehaviorRate);
BossExternalBTExcel.AddAIPhase(builder, AIPhase); BossExternalBTExcel.AddAIPhase(builder, AIPhase);
BossExternalBTExcel.AddExternalBTId(builder, ExternalBTId); BossExternalBTExcel.AddExternalBTId(builder, ExternalBTId);
BossExternalBTExcel.AddBehaviorArgument(builder, BehaviorArgumentOffset); BossExternalBTExcel.AddBehaviorArgument(builder, BehaviorArgumentOffset);
BossExternalBTExcel.AddExternalBehavior_(builder, ExternalBehavior_); BossExternalBTExcel.AddExternalBehavior(builder, ExternalBehavior);
BossExternalBTExcel.AddTriggerArgument(builder, TriggerArgumentOffset); BossExternalBTExcel.AddTriggerArgument(builder, TriggerArgumentOffset);
BossExternalBTExcel.AddExternalBTTrigger_(builder, ExternalBTTrigger_); BossExternalBTExcel.AddExternalBTTrigger(builder, ExternalBTTrigger);
BossExternalBTExcel.AddExternalBTNodeType_(builder, ExternalBTNodeType_); BossExternalBTExcel.AddExternalBTNodeType(builder, ExternalBTNodeType);
return BossExternalBTExcel.EndBossExternalBTExcel(builder); return BossExternalBTExcel.EndBossExternalBTExcel(builder);
} }
public static void StartBossExternalBTExcel(FlatBufferBuilder builder) { builder.StartTable(8); } public static void StartBossExternalBTExcel(FlatBufferBuilder builder) { builder.StartTable(8); }
public static void AddExternalBTId(FlatBufferBuilder builder, long externalBTId) { builder.AddLong(0, externalBTId, 0); } public static void AddExternalBTId(FlatBufferBuilder builder, long externalBTId) { builder.AddLong(0, externalBTId, 0); }
public static void AddAIPhase(FlatBufferBuilder builder, long aIPhase) { builder.AddLong(1, aIPhase, 0); } public static void AddAIPhase(FlatBufferBuilder builder, long aIPhase) { builder.AddLong(1, aIPhase, 0); }
public static void AddExternalBTNodeType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ExternalBTNodeType externalBTNodeType_) { builder.AddInt(2, (int)externalBTNodeType_, 0); } public static void AddExternalBTNodeType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ExternalBTNodeType externalBTNodeType) { builder.AddInt(2, (int)externalBTNodeType, 0); }
public static void AddExternalBTTrigger_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ExternalBTTrigger externalBTTrigger_) { builder.AddInt(3, (int)externalBTTrigger_, 0); } public static void AddExternalBTTrigger(FlatBufferBuilder builder, SCHALE.Common.FlatData.ExternalBTTrigger externalBTTrigger) { builder.AddInt(3, (int)externalBTTrigger, 0); }
public static void AddTriggerArgument(FlatBufferBuilder builder, StringOffset triggerArgumentOffset) { builder.AddOffset(4, triggerArgumentOffset.Value, 0); } public static void AddTriggerArgument(FlatBufferBuilder builder, StringOffset triggerArgumentOffset) { builder.AddOffset(4, triggerArgumentOffset.Value, 0); }
public static void AddBehaviorRate(FlatBufferBuilder builder, long behaviorRate) { builder.AddLong(5, behaviorRate, 0); } public static void AddBehaviorRate(FlatBufferBuilder builder, long behaviorRate) { builder.AddLong(5, behaviorRate, 0); }
public static void AddExternalBehavior_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ExternalBehavior externalBehavior_) { builder.AddInt(6, (int)externalBehavior_, 0); } public static void AddExternalBehavior(FlatBufferBuilder builder, SCHALE.Common.FlatData.ExternalBehavior externalBehavior) { builder.AddInt(6, (int)externalBehavior, 0); }
public static void AddBehaviorArgument(FlatBufferBuilder builder, StringOffset behaviorArgumentOffset) { builder.AddOffset(7, behaviorArgumentOffset.Value, 0); } public static void AddBehaviorArgument(FlatBufferBuilder builder, StringOffset behaviorArgumentOffset) { builder.AddOffset(7, behaviorArgumentOffset.Value, 0); }
public static Offset<SCHALE.Common.FlatData.BossExternalBTExcel> EndBossExternalBTExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.BossExternalBTExcel> EndBossExternalBTExcel(FlatBufferBuilder builder) {
int o = builder.EndTable(); int o = builder.EndTable();
@ -84,11 +84,11 @@ public struct BossExternalBTExcel : IFlatbufferObject
byte[] key = TableEncryptionService.CreateKey("BossExternalBT"); byte[] key = TableEncryptionService.CreateKey("BossExternalBT");
_o.ExternalBTId = TableEncryptionService.Convert(this.ExternalBTId, key); _o.ExternalBTId = TableEncryptionService.Convert(this.ExternalBTId, key);
_o.AIPhase = TableEncryptionService.Convert(this.AIPhase, key); _o.AIPhase = TableEncryptionService.Convert(this.AIPhase, key);
_o.ExternalBTNodeType_ = TableEncryptionService.Convert(this.ExternalBTNodeType_, key); _o.ExternalBTNodeType = TableEncryptionService.Convert(this.ExternalBTNodeType, key);
_o.ExternalBTTrigger_ = TableEncryptionService.Convert(this.ExternalBTTrigger_, key); _o.ExternalBTTrigger = TableEncryptionService.Convert(this.ExternalBTTrigger, key);
_o.TriggerArgument = TableEncryptionService.Convert(this.TriggerArgument, key); _o.TriggerArgument = TableEncryptionService.Convert(this.TriggerArgument, key);
_o.BehaviorRate = TableEncryptionService.Convert(this.BehaviorRate, key); _o.BehaviorRate = TableEncryptionService.Convert(this.BehaviorRate, key);
_o.ExternalBehavior_ = TableEncryptionService.Convert(this.ExternalBehavior_, key); _o.ExternalBehavior = TableEncryptionService.Convert(this.ExternalBehavior, key);
_o.BehaviorArgument = TableEncryptionService.Convert(this.BehaviorArgument, key); _o.BehaviorArgument = TableEncryptionService.Convert(this.BehaviorArgument, key);
} }
public static Offset<SCHALE.Common.FlatData.BossExternalBTExcel> Pack(FlatBufferBuilder builder, BossExternalBTExcelT _o) { public static Offset<SCHALE.Common.FlatData.BossExternalBTExcel> Pack(FlatBufferBuilder builder, BossExternalBTExcelT _o) {
@ -99,11 +99,11 @@ public struct BossExternalBTExcel : IFlatbufferObject
builder, builder,
_o.ExternalBTId, _o.ExternalBTId,
_o.AIPhase, _o.AIPhase,
_o.ExternalBTNodeType_, _o.ExternalBTNodeType,
_o.ExternalBTTrigger_, _o.ExternalBTTrigger,
_TriggerArgument, _TriggerArgument,
_o.BehaviorRate, _o.BehaviorRate,
_o.ExternalBehavior_, _o.ExternalBehavior,
_BehaviorArgument); _BehaviorArgument);
} }
} }
@ -112,21 +112,21 @@ public class BossExternalBTExcelT
{ {
public long ExternalBTId { get; set; } public long ExternalBTId { get; set; }
public long AIPhase { get; set; } public long AIPhase { get; set; }
public SCHALE.Common.FlatData.ExternalBTNodeType ExternalBTNodeType_ { get; set; } public SCHALE.Common.FlatData.ExternalBTNodeType ExternalBTNodeType { get; set; }
public SCHALE.Common.FlatData.ExternalBTTrigger ExternalBTTrigger_ { get; set; } public SCHALE.Common.FlatData.ExternalBTTrigger ExternalBTTrigger { get; set; }
public string TriggerArgument { get; set; } public string TriggerArgument { get; set; }
public long BehaviorRate { get; set; } public long BehaviorRate { get; set; }
public SCHALE.Common.FlatData.ExternalBehavior ExternalBehavior_ { get; set; } public SCHALE.Common.FlatData.ExternalBehavior ExternalBehavior { get; set; }
public string BehaviorArgument { get; set; } public string BehaviorArgument { get; set; }
public BossExternalBTExcelT() { public BossExternalBTExcelT() {
this.ExternalBTId = 0; this.ExternalBTId = 0;
this.AIPhase = 0; this.AIPhase = 0;
this.ExternalBTNodeType_ = SCHALE.Common.FlatData.ExternalBTNodeType.Sequence; this.ExternalBTNodeType = SCHALE.Common.FlatData.ExternalBTNodeType.Sequence;
this.ExternalBTTrigger_ = SCHALE.Common.FlatData.ExternalBTTrigger.None; this.ExternalBTTrigger = SCHALE.Common.FlatData.ExternalBTTrigger.None;
this.TriggerArgument = null; this.TriggerArgument = null;
this.BehaviorRate = 0; this.BehaviorRate = 0;
this.ExternalBehavior_ = SCHALE.Common.FlatData.ExternalBehavior.UseNextExSkill; this.ExternalBehavior = SCHALE.Common.FlatData.ExternalBehavior.UseNextExSkill;
this.BehaviorArgument = null; this.BehaviorArgument = null;
} }
} }
@ -139,11 +139,11 @@ static public class BossExternalBTExcelVerify
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*ExternalBTId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*ExternalBTId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*AIPhase*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*AIPhase*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 8 /*ExternalBTNodeType_*/, 4 /*SCHALE.Common.FlatData.ExternalBTNodeType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*ExternalBTNodeType*/, 4 /*SCHALE.Common.FlatData.ExternalBTNodeType*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*ExternalBTTrigger_*/, 4 /*SCHALE.Common.FlatData.ExternalBTTrigger*/, 4, false) && verifier.VerifyField(tablePos, 10 /*ExternalBTTrigger*/, 4 /*SCHALE.Common.FlatData.ExternalBTTrigger*/, 4, false)
&& verifier.VerifyString(tablePos, 12 /*TriggerArgument*/, false) && verifier.VerifyString(tablePos, 12 /*TriggerArgument*/, false)
&& verifier.VerifyField(tablePos, 14 /*BehaviorRate*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 14 /*BehaviorRate*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 16 /*ExternalBehavior_*/, 4 /*SCHALE.Common.FlatData.ExternalBehavior*/, 4, false) && verifier.VerifyField(tablePos, 16 /*ExternalBehavior*/, 4 /*SCHALE.Common.FlatData.ExternalBehavior*/, 4, false)
&& verifier.VerifyString(tablePos, 18 /*BehaviorArgument*/, false) && verifier.VerifyString(tablePos, 18 /*BehaviorArgument*/, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);
} }

View File

@ -27,20 +27,20 @@ public struct BulletArmorDamageFactorExcel : IFlatbufferObject
public ArraySegment<byte>? GetDamageFactorGroupIdBytes() { return __p.__vector_as_arraysegment(4); } public ArraySegment<byte>? GetDamageFactorGroupIdBytes() { return __p.__vector_as_arraysegment(4); }
#endif #endif
public byte[] GetDamageFactorGroupIdArray() { return __p.__vector_as_array<byte>(4); } public byte[] GetDamageFactorGroupIdArray() { return __p.__vector_as_array<byte>(4); }
public SCHALE.Common.FlatData.BulletType BulletType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.BulletType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.BulletType.Normal; } } public SCHALE.Common.FlatData.BulletType BulletType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.BulletType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.BulletType.Normal; } }
public SCHALE.Common.FlatData.ArmorType ArmorType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ArmorType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ArmorType.LightArmor; } } public SCHALE.Common.FlatData.ArmorType ArmorType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ArmorType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ArmorType.LightArmor; } }
public long DamageRate { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long DamageRate { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.DamageAttribute DamageAttribute_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.DamageAttribute)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DamageAttribute.Resist; } } public SCHALE.Common.FlatData.DamageAttribute DamageAttribute { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.DamageAttribute)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DamageAttribute.Resist; } }
public long MinDamageRate { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long MinDamageRate { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long MaxDamageRate { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long MaxDamageRate { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public bool ShowHighlightFloater { get { int o = __p.__offset(18); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool ShowHighlightFloater { get { int o = __p.__offset(18); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public static Offset<SCHALE.Common.FlatData.BulletArmorDamageFactorExcel> CreateBulletArmorDamageFactorExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.BulletArmorDamageFactorExcel> CreateBulletArmorDamageFactorExcel(FlatBufferBuilder builder,
StringOffset DamageFactorGroupIdOffset = default(StringOffset), StringOffset DamageFactorGroupIdOffset = default(StringOffset),
SCHALE.Common.FlatData.BulletType BulletType_ = SCHALE.Common.FlatData.BulletType.Normal, SCHALE.Common.FlatData.BulletType BulletType = SCHALE.Common.FlatData.BulletType.Normal,
SCHALE.Common.FlatData.ArmorType ArmorType_ = SCHALE.Common.FlatData.ArmorType.LightArmor, SCHALE.Common.FlatData.ArmorType ArmorType = SCHALE.Common.FlatData.ArmorType.LightArmor,
long DamageRate = 0, long DamageRate = 0,
SCHALE.Common.FlatData.DamageAttribute DamageAttribute_ = SCHALE.Common.FlatData.DamageAttribute.Resist, SCHALE.Common.FlatData.DamageAttribute DamageAttribute = SCHALE.Common.FlatData.DamageAttribute.Resist,
long MinDamageRate = 0, long MinDamageRate = 0,
long MaxDamageRate = 0, long MaxDamageRate = 0,
bool ShowHighlightFloater = false) { bool ShowHighlightFloater = false) {
@ -48,9 +48,9 @@ public struct BulletArmorDamageFactorExcel : IFlatbufferObject
BulletArmorDamageFactorExcel.AddMaxDamageRate(builder, MaxDamageRate); BulletArmorDamageFactorExcel.AddMaxDamageRate(builder, MaxDamageRate);
BulletArmorDamageFactorExcel.AddMinDamageRate(builder, MinDamageRate); BulletArmorDamageFactorExcel.AddMinDamageRate(builder, MinDamageRate);
BulletArmorDamageFactorExcel.AddDamageRate(builder, DamageRate); BulletArmorDamageFactorExcel.AddDamageRate(builder, DamageRate);
BulletArmorDamageFactorExcel.AddDamageAttribute_(builder, DamageAttribute_); BulletArmorDamageFactorExcel.AddDamageAttribute(builder, DamageAttribute);
BulletArmorDamageFactorExcel.AddArmorType_(builder, ArmorType_); BulletArmorDamageFactorExcel.AddArmorType(builder, ArmorType);
BulletArmorDamageFactorExcel.AddBulletType_(builder, BulletType_); BulletArmorDamageFactorExcel.AddBulletType(builder, BulletType);
BulletArmorDamageFactorExcel.AddDamageFactorGroupId(builder, DamageFactorGroupIdOffset); BulletArmorDamageFactorExcel.AddDamageFactorGroupId(builder, DamageFactorGroupIdOffset);
BulletArmorDamageFactorExcel.AddShowHighlightFloater(builder, ShowHighlightFloater); BulletArmorDamageFactorExcel.AddShowHighlightFloater(builder, ShowHighlightFloater);
return BulletArmorDamageFactorExcel.EndBulletArmorDamageFactorExcel(builder); return BulletArmorDamageFactorExcel.EndBulletArmorDamageFactorExcel(builder);
@ -58,10 +58,10 @@ public struct BulletArmorDamageFactorExcel : IFlatbufferObject
public static void StartBulletArmorDamageFactorExcel(FlatBufferBuilder builder) { builder.StartTable(8); } public static void StartBulletArmorDamageFactorExcel(FlatBufferBuilder builder) { builder.StartTable(8); }
public static void AddDamageFactorGroupId(FlatBufferBuilder builder, StringOffset damageFactorGroupIdOffset) { builder.AddOffset(0, damageFactorGroupIdOffset.Value, 0); } public static void AddDamageFactorGroupId(FlatBufferBuilder builder, StringOffset damageFactorGroupIdOffset) { builder.AddOffset(0, damageFactorGroupIdOffset.Value, 0); }
public static void AddBulletType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.BulletType bulletType_) { builder.AddInt(1, (int)bulletType_, 0); } public static void AddBulletType(FlatBufferBuilder builder, SCHALE.Common.FlatData.BulletType bulletType) { builder.AddInt(1, (int)bulletType, 0); }
public static void AddArmorType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ArmorType armorType_) { builder.AddInt(2, (int)armorType_, 0); } public static void AddArmorType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ArmorType armorType) { builder.AddInt(2, (int)armorType, 0); }
public static void AddDamageRate(FlatBufferBuilder builder, long damageRate) { builder.AddLong(3, damageRate, 0); } public static void AddDamageRate(FlatBufferBuilder builder, long damageRate) { builder.AddLong(3, damageRate, 0); }
public static void AddDamageAttribute_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DamageAttribute damageAttribute_) { builder.AddInt(4, (int)damageAttribute_, 0); } public static void AddDamageAttribute(FlatBufferBuilder builder, SCHALE.Common.FlatData.DamageAttribute damageAttribute) { builder.AddInt(4, (int)damageAttribute, 0); }
public static void AddMinDamageRate(FlatBufferBuilder builder, long minDamageRate) { builder.AddLong(5, minDamageRate, 0); } public static void AddMinDamageRate(FlatBufferBuilder builder, long minDamageRate) { builder.AddLong(5, minDamageRate, 0); }
public static void AddMaxDamageRate(FlatBufferBuilder builder, long maxDamageRate) { builder.AddLong(6, maxDamageRate, 0); } public static void AddMaxDamageRate(FlatBufferBuilder builder, long maxDamageRate) { builder.AddLong(6, maxDamageRate, 0); }
public static void AddShowHighlightFloater(FlatBufferBuilder builder, bool showHighlightFloater) { builder.AddBool(7, showHighlightFloater, false); } public static void AddShowHighlightFloater(FlatBufferBuilder builder, bool showHighlightFloater) { builder.AddBool(7, showHighlightFloater, false); }
@ -77,10 +77,10 @@ public struct BulletArmorDamageFactorExcel : IFlatbufferObject
public void UnPackTo(BulletArmorDamageFactorExcelT _o) { public void UnPackTo(BulletArmorDamageFactorExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("BulletArmorDamageFactor"); byte[] key = TableEncryptionService.CreateKey("BulletArmorDamageFactor");
_o.DamageFactorGroupId = TableEncryptionService.Convert(this.DamageFactorGroupId, key); _o.DamageFactorGroupId = TableEncryptionService.Convert(this.DamageFactorGroupId, key);
_o.BulletType_ = TableEncryptionService.Convert(this.BulletType_, key); _o.BulletType = TableEncryptionService.Convert(this.BulletType, key);
_o.ArmorType_ = TableEncryptionService.Convert(this.ArmorType_, key); _o.ArmorType = TableEncryptionService.Convert(this.ArmorType, key);
_o.DamageRate = TableEncryptionService.Convert(this.DamageRate, key); _o.DamageRate = TableEncryptionService.Convert(this.DamageRate, key);
_o.DamageAttribute_ = TableEncryptionService.Convert(this.DamageAttribute_, key); _o.DamageAttribute = TableEncryptionService.Convert(this.DamageAttribute, key);
_o.MinDamageRate = TableEncryptionService.Convert(this.MinDamageRate, key); _o.MinDamageRate = TableEncryptionService.Convert(this.MinDamageRate, key);
_o.MaxDamageRate = TableEncryptionService.Convert(this.MaxDamageRate, key); _o.MaxDamageRate = TableEncryptionService.Convert(this.MaxDamageRate, key);
_o.ShowHighlightFloater = TableEncryptionService.Convert(this.ShowHighlightFloater, key); _o.ShowHighlightFloater = TableEncryptionService.Convert(this.ShowHighlightFloater, key);
@ -91,10 +91,10 @@ public struct BulletArmorDamageFactorExcel : IFlatbufferObject
return CreateBulletArmorDamageFactorExcel( return CreateBulletArmorDamageFactorExcel(
builder, builder,
_DamageFactorGroupId, _DamageFactorGroupId,
_o.BulletType_, _o.BulletType,
_o.ArmorType_, _o.ArmorType,
_o.DamageRate, _o.DamageRate,
_o.DamageAttribute_, _o.DamageAttribute,
_o.MinDamageRate, _o.MinDamageRate,
_o.MaxDamageRate, _o.MaxDamageRate,
_o.ShowHighlightFloater); _o.ShowHighlightFloater);
@ -104,20 +104,20 @@ public struct BulletArmorDamageFactorExcel : IFlatbufferObject
public class BulletArmorDamageFactorExcelT public class BulletArmorDamageFactorExcelT
{ {
public string DamageFactorGroupId { get; set; } public string DamageFactorGroupId { get; set; }
public SCHALE.Common.FlatData.BulletType BulletType_ { get; set; } public SCHALE.Common.FlatData.BulletType BulletType { get; set; }
public SCHALE.Common.FlatData.ArmorType ArmorType_ { get; set; } public SCHALE.Common.FlatData.ArmorType ArmorType { get; set; }
public long DamageRate { get; set; } public long DamageRate { get; set; }
public SCHALE.Common.FlatData.DamageAttribute DamageAttribute_ { get; set; } public SCHALE.Common.FlatData.DamageAttribute DamageAttribute { get; set; }
public long MinDamageRate { get; set; } public long MinDamageRate { get; set; }
public long MaxDamageRate { get; set; } public long MaxDamageRate { get; set; }
public bool ShowHighlightFloater { get; set; } public bool ShowHighlightFloater { get; set; }
public BulletArmorDamageFactorExcelT() { public BulletArmorDamageFactorExcelT() {
this.DamageFactorGroupId = null; this.DamageFactorGroupId = null;
this.BulletType_ = SCHALE.Common.FlatData.BulletType.Normal; this.BulletType = SCHALE.Common.FlatData.BulletType.Normal;
this.ArmorType_ = SCHALE.Common.FlatData.ArmorType.LightArmor; this.ArmorType = SCHALE.Common.FlatData.ArmorType.LightArmor;
this.DamageRate = 0; this.DamageRate = 0;
this.DamageAttribute_ = SCHALE.Common.FlatData.DamageAttribute.Resist; this.DamageAttribute = SCHALE.Common.FlatData.DamageAttribute.Resist;
this.MinDamageRate = 0; this.MinDamageRate = 0;
this.MaxDamageRate = 0; this.MaxDamageRate = 0;
this.ShowHighlightFloater = false; this.ShowHighlightFloater = false;
@ -131,10 +131,10 @@ static public class BulletArmorDamageFactorExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyString(tablePos, 4 /*DamageFactorGroupId*/, false) && verifier.VerifyString(tablePos, 4 /*DamageFactorGroupId*/, false)
&& verifier.VerifyField(tablePos, 6 /*BulletType_*/, 4 /*SCHALE.Common.FlatData.BulletType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*BulletType*/, 4 /*SCHALE.Common.FlatData.BulletType*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*ArmorType_*/, 4 /*SCHALE.Common.FlatData.ArmorType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*ArmorType*/, 4 /*SCHALE.Common.FlatData.ArmorType*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*DamageRate*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*DamageRate*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 12 /*DamageAttribute_*/, 4 /*SCHALE.Common.FlatData.DamageAttribute*/, 4, false) && verifier.VerifyField(tablePos, 12 /*DamageAttribute*/, 4 /*SCHALE.Common.FlatData.DamageAttribute*/, 4, false)
&& verifier.VerifyField(tablePos, 14 /*MinDamageRate*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 14 /*MinDamageRate*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 16 /*MaxDamageRate*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 16 /*MaxDamageRate*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 18 /*ShowHighlightFloater*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 18 /*ShowHighlightFloater*/, 1 /*bool*/, 1, false)

View File

@ -76,7 +76,7 @@ public struct CampaignStageExcel : IFlatbufferObject
public byte[] GetStrategyMapBGArray() { return __p.__vector_as_array<byte>(34); } public byte[] GetStrategyMapBGArray() { return __p.__vector_as_array<byte>(34); }
public long CampaignStageRewardId { get { int o = __p.__offset(36); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long CampaignStageRewardId { get { int o = __p.__offset(36); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public int MaxTurn { get { int o = __p.__offset(38); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int MaxTurn { get { int o = __p.__offset(38); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public SCHALE.Common.FlatData.StageTopography StageTopography_ { get { int o = __p.__offset(40); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } public SCHALE.Common.FlatData.StageTopography StageTopography { get { int o = __p.__offset(40); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } }
public int RecommandLevel { get { int o = __p.__offset(42); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int RecommandLevel { get { int o = __p.__offset(42); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public string BgmId { get { int o = __p.__offset(44); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string BgmId { get { int o = __p.__offset(44); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
@ -85,10 +85,10 @@ public struct CampaignStageExcel : IFlatbufferObject
public ArraySegment<byte>? GetBgmIdBytes() { return __p.__vector_as_arraysegment(44); } public ArraySegment<byte>? GetBgmIdBytes() { return __p.__vector_as_arraysegment(44); }
#endif #endif
public byte[] GetBgmIdArray() { return __p.__vector_as_array<byte>(44); } public byte[] GetBgmIdArray() { return __p.__vector_as_array<byte>(44); }
public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment_ { get { int o = __p.__offset(46); return o != 0 ? (SCHALE.Common.FlatData.StrategyEnvironment)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StrategyEnvironment.None; } } public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment { get { int o = __p.__offset(46); return o != 0 ? (SCHALE.Common.FlatData.StrategyEnvironment)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StrategyEnvironment.None; } }
public long GroundId { get { int o = __p.__offset(48); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long GroundId { get { int o = __p.__offset(48); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public int StrategySkipGroundId { get { int o = __p.__offset(50); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int StrategySkipGroundId { get { int o = __p.__offset(50); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public SCHALE.Common.FlatData.ContentType ContentType_ { get { int o = __p.__offset(52); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } public SCHALE.Common.FlatData.ContentType ContentType { get { int o = __p.__offset(52); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } }
public long BGMId { get { int o = __p.__offset(54); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long BGMId { get { int o = __p.__offset(54); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public string FirstClearReportEventName { get { int o = __p.__offset(56); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string FirstClearReportEventName { get { int o = __p.__offset(56); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
@ -99,7 +99,7 @@ public struct CampaignStageExcel : IFlatbufferObject
public byte[] GetFirstClearReportEventNameArray() { return __p.__vector_as_array<byte>(56); } public byte[] GetFirstClearReportEventNameArray() { return __p.__vector_as_array<byte>(56); }
public long TacticRewardExp { get { int o = __p.__offset(58); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long TacticRewardExp { get { int o = __p.__offset(58); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long FixedEchelonId { get { int o = __p.__offset(60); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long FixedEchelonId { get { int o = __p.__offset(60); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get { int o = __p.__offset(62); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get { int o = __p.__offset(62); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } }
public static Offset<SCHALE.Common.FlatData.CampaignStageExcel> CreateCampaignStageExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.CampaignStageExcel> CreateCampaignStageExcel(FlatBufferBuilder builder,
long Id = 0, long Id = 0,
@ -120,18 +120,18 @@ public struct CampaignStageExcel : IFlatbufferObject
StringOffset StrategyMapBGOffset = default(StringOffset), StringOffset StrategyMapBGOffset = default(StringOffset),
long CampaignStageRewardId = 0, long CampaignStageRewardId = 0,
int MaxTurn = 0, int MaxTurn = 0,
SCHALE.Common.FlatData.StageTopography StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street, SCHALE.Common.FlatData.StageTopography StageTopography = SCHALE.Common.FlatData.StageTopography.Street,
int RecommandLevel = 0, int RecommandLevel = 0,
StringOffset BgmIdOffset = default(StringOffset), StringOffset BgmIdOffset = default(StringOffset),
SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment_ = SCHALE.Common.FlatData.StrategyEnvironment.None, SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment = SCHALE.Common.FlatData.StrategyEnvironment.None,
long GroundId = 0, long GroundId = 0,
int StrategySkipGroundId = 0, int StrategySkipGroundId = 0,
SCHALE.Common.FlatData.ContentType ContentType_ = SCHALE.Common.FlatData.ContentType.None, SCHALE.Common.FlatData.ContentType ContentType = SCHALE.Common.FlatData.ContentType.None,
long BGMId = 0, long BGMId = 0,
StringOffset FirstClearReportEventNameOffset = default(StringOffset), StringOffset FirstClearReportEventNameOffset = default(StringOffset),
long TacticRewardExp = 0, long TacticRewardExp = 0,
long FixedEchelonId = 0, long FixedEchelonId = 0,
SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base) { SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base) {
builder.StartTable(30); builder.StartTable(30);
CampaignStageExcel.AddFixedEchelonId(builder, FixedEchelonId); CampaignStageExcel.AddFixedEchelonId(builder, FixedEchelonId);
CampaignStageExcel.AddTacticRewardExp(builder, TacticRewardExp); CampaignStageExcel.AddTacticRewardExp(builder, TacticRewardExp);
@ -144,14 +144,14 @@ public struct CampaignStageExcel : IFlatbufferObject
CampaignStageExcel.AddBattleDuration(builder, BattleDuration); CampaignStageExcel.AddBattleDuration(builder, BattleDuration);
CampaignStageExcel.AddCleardScenarioId(builder, CleardScenarioId); CampaignStageExcel.AddCleardScenarioId(builder, CleardScenarioId);
CampaignStageExcel.AddId(builder, Id); CampaignStageExcel.AddId(builder, Id);
CampaignStageExcel.AddEchelonExtensionType_(builder, EchelonExtensionType_); CampaignStageExcel.AddEchelonExtensionType(builder, EchelonExtensionType);
CampaignStageExcel.AddFirstClearReportEventName(builder, FirstClearReportEventNameOffset); CampaignStageExcel.AddFirstClearReportEventName(builder, FirstClearReportEventNameOffset);
CampaignStageExcel.AddContentType_(builder, ContentType_); CampaignStageExcel.AddContentType(builder, ContentType);
CampaignStageExcel.AddStrategySkipGroundId(builder, StrategySkipGroundId); CampaignStageExcel.AddStrategySkipGroundId(builder, StrategySkipGroundId);
CampaignStageExcel.AddStrategyEnvironment_(builder, StrategyEnvironment_); CampaignStageExcel.AddStrategyEnvironment(builder, StrategyEnvironment);
CampaignStageExcel.AddBgmId(builder, BgmIdOffset); CampaignStageExcel.AddBgmId(builder, BgmIdOffset);
CampaignStageExcel.AddRecommandLevel(builder, RecommandLevel); CampaignStageExcel.AddRecommandLevel(builder, RecommandLevel);
CampaignStageExcel.AddStageTopography_(builder, StageTopography_); CampaignStageExcel.AddStageTopography(builder, StageTopography);
CampaignStageExcel.AddMaxTurn(builder, MaxTurn); CampaignStageExcel.AddMaxTurn(builder, MaxTurn);
CampaignStageExcel.AddStrategyMapBG(builder, StrategyMapBGOffset); CampaignStageExcel.AddStrategyMapBG(builder, StrategyMapBGOffset);
CampaignStageExcel.AddStrategyMap(builder, StrategyMapOffset); CampaignStageExcel.AddStrategyMap(builder, StrategyMapOffset);
@ -195,18 +195,18 @@ public struct CampaignStageExcel : IFlatbufferObject
public static void AddStrategyMapBG(FlatBufferBuilder builder, StringOffset strategyMapBGOffset) { builder.AddOffset(15, strategyMapBGOffset.Value, 0); } public static void AddStrategyMapBG(FlatBufferBuilder builder, StringOffset strategyMapBGOffset) { builder.AddOffset(15, strategyMapBGOffset.Value, 0); }
public static void AddCampaignStageRewardId(FlatBufferBuilder builder, long campaignStageRewardId) { builder.AddLong(16, campaignStageRewardId, 0); } public static void AddCampaignStageRewardId(FlatBufferBuilder builder, long campaignStageRewardId) { builder.AddLong(16, campaignStageRewardId, 0); }
public static void AddMaxTurn(FlatBufferBuilder builder, int maxTurn) { builder.AddInt(17, maxTurn, 0); } public static void AddMaxTurn(FlatBufferBuilder builder, int maxTurn) { builder.AddInt(17, maxTurn, 0); }
public static void AddStageTopography_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography_) { builder.AddInt(18, (int)stageTopography_, 0); } public static void AddStageTopography(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography) { builder.AddInt(18, (int)stageTopography, 0); }
public static void AddRecommandLevel(FlatBufferBuilder builder, int recommandLevel) { builder.AddInt(19, recommandLevel, 0); } public static void AddRecommandLevel(FlatBufferBuilder builder, int recommandLevel) { builder.AddInt(19, recommandLevel, 0); }
public static void AddBgmId(FlatBufferBuilder builder, StringOffset bgmIdOffset) { builder.AddOffset(20, bgmIdOffset.Value, 0); } public static void AddBgmId(FlatBufferBuilder builder, StringOffset bgmIdOffset) { builder.AddOffset(20, bgmIdOffset.Value, 0); }
public static void AddStrategyEnvironment_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StrategyEnvironment strategyEnvironment_) { builder.AddInt(21, (int)strategyEnvironment_, 0); } public static void AddStrategyEnvironment(FlatBufferBuilder builder, SCHALE.Common.FlatData.StrategyEnvironment strategyEnvironment) { builder.AddInt(21, (int)strategyEnvironment, 0); }
public static void AddGroundId(FlatBufferBuilder builder, long groundId) { builder.AddLong(22, groundId, 0); } public static void AddGroundId(FlatBufferBuilder builder, long groundId) { builder.AddLong(22, groundId, 0); }
public static void AddStrategySkipGroundId(FlatBufferBuilder builder, int strategySkipGroundId) { builder.AddInt(23, strategySkipGroundId, 0); } public static void AddStrategySkipGroundId(FlatBufferBuilder builder, int strategySkipGroundId) { builder.AddInt(23, strategySkipGroundId, 0); }
public static void AddContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType_) { builder.AddInt(24, (int)contentType_, 0); } public static void AddContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType) { builder.AddInt(24, (int)contentType, 0); }
public static void AddBGMId(FlatBufferBuilder builder, long bGMId) { builder.AddLong(25, bGMId, 0); } public static void AddBGMId(FlatBufferBuilder builder, long bGMId) { builder.AddLong(25, bGMId, 0); }
public static void AddFirstClearReportEventName(FlatBufferBuilder builder, StringOffset firstClearReportEventNameOffset) { builder.AddOffset(26, firstClearReportEventNameOffset.Value, 0); } public static void AddFirstClearReportEventName(FlatBufferBuilder builder, StringOffset firstClearReportEventNameOffset) { builder.AddOffset(26, firstClearReportEventNameOffset.Value, 0); }
public static void AddTacticRewardExp(FlatBufferBuilder builder, long tacticRewardExp) { builder.AddLong(27, tacticRewardExp, 0); } public static void AddTacticRewardExp(FlatBufferBuilder builder, long tacticRewardExp) { builder.AddLong(27, tacticRewardExp, 0); }
public static void AddFixedEchelonId(FlatBufferBuilder builder, long fixedEchelonId) { builder.AddLong(28, fixedEchelonId, 0); } public static void AddFixedEchelonId(FlatBufferBuilder builder, long fixedEchelonId) { builder.AddLong(28, fixedEchelonId, 0); }
public static void AddEchelonExtensionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType_) { builder.AddInt(29, (int)echelonExtensionType_, 0); } public static void AddEchelonExtensionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType) { builder.AddInt(29, (int)echelonExtensionType, 0); }
public static Offset<SCHALE.Common.FlatData.CampaignStageExcel> EndCampaignStageExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.CampaignStageExcel> EndCampaignStageExcel(FlatBufferBuilder builder) {
int o = builder.EndTable(); int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.CampaignStageExcel>(o); return new Offset<SCHALE.Common.FlatData.CampaignStageExcel>(o);
@ -238,18 +238,18 @@ public struct CampaignStageExcel : IFlatbufferObject
_o.StrategyMapBG = TableEncryptionService.Convert(this.StrategyMapBG, key); _o.StrategyMapBG = TableEncryptionService.Convert(this.StrategyMapBG, key);
_o.CampaignStageRewardId = TableEncryptionService.Convert(this.CampaignStageRewardId, key); _o.CampaignStageRewardId = TableEncryptionService.Convert(this.CampaignStageRewardId, key);
_o.MaxTurn = TableEncryptionService.Convert(this.MaxTurn, key); _o.MaxTurn = TableEncryptionService.Convert(this.MaxTurn, key);
_o.StageTopography_ = TableEncryptionService.Convert(this.StageTopography_, key); _o.StageTopography = TableEncryptionService.Convert(this.StageTopography, key);
_o.RecommandLevel = TableEncryptionService.Convert(this.RecommandLevel, key); _o.RecommandLevel = TableEncryptionService.Convert(this.RecommandLevel, key);
_o.BgmId = TableEncryptionService.Convert(this.BgmId, key); _o.BgmId = TableEncryptionService.Convert(this.BgmId, key);
_o.StrategyEnvironment_ = TableEncryptionService.Convert(this.StrategyEnvironment_, key); _o.StrategyEnvironment = TableEncryptionService.Convert(this.StrategyEnvironment, key);
_o.GroundId = TableEncryptionService.Convert(this.GroundId, key); _o.GroundId = TableEncryptionService.Convert(this.GroundId, key);
_o.StrategySkipGroundId = TableEncryptionService.Convert(this.StrategySkipGroundId, key); _o.StrategySkipGroundId = TableEncryptionService.Convert(this.StrategySkipGroundId, key);
_o.ContentType_ = TableEncryptionService.Convert(this.ContentType_, key); _o.ContentType = TableEncryptionService.Convert(this.ContentType, key);
_o.BGMId = TableEncryptionService.Convert(this.BGMId, key); _o.BGMId = TableEncryptionService.Convert(this.BGMId, key);
_o.FirstClearReportEventName = TableEncryptionService.Convert(this.FirstClearReportEventName, key); _o.FirstClearReportEventName = TableEncryptionService.Convert(this.FirstClearReportEventName, key);
_o.TacticRewardExp = TableEncryptionService.Convert(this.TacticRewardExp, key); _o.TacticRewardExp = TableEncryptionService.Convert(this.TacticRewardExp, key);
_o.FixedEchelonId = TableEncryptionService.Convert(this.FixedEchelonId, key); _o.FixedEchelonId = TableEncryptionService.Convert(this.FixedEchelonId, key);
_o.EchelonExtensionType_ = TableEncryptionService.Convert(this.EchelonExtensionType_, key); _o.EchelonExtensionType = TableEncryptionService.Convert(this.EchelonExtensionType, key);
} }
public static Offset<SCHALE.Common.FlatData.CampaignStageExcel> Pack(FlatBufferBuilder builder, CampaignStageExcelT _o) { public static Offset<SCHALE.Common.FlatData.CampaignStageExcel> Pack(FlatBufferBuilder builder, CampaignStageExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.CampaignStageExcel>); if (_o == null) return default(Offset<SCHALE.Common.FlatData.CampaignStageExcel>);
@ -289,18 +289,18 @@ public struct CampaignStageExcel : IFlatbufferObject
_StrategyMapBG, _StrategyMapBG,
_o.CampaignStageRewardId, _o.CampaignStageRewardId,
_o.MaxTurn, _o.MaxTurn,
_o.StageTopography_, _o.StageTopography,
_o.RecommandLevel, _o.RecommandLevel,
_BgmId, _BgmId,
_o.StrategyEnvironment_, _o.StrategyEnvironment,
_o.GroundId, _o.GroundId,
_o.StrategySkipGroundId, _o.StrategySkipGroundId,
_o.ContentType_, _o.ContentType,
_o.BGMId, _o.BGMId,
_FirstClearReportEventName, _FirstClearReportEventName,
_o.TacticRewardExp, _o.TacticRewardExp,
_o.FixedEchelonId, _o.FixedEchelonId,
_o.EchelonExtensionType_); _o.EchelonExtensionType);
} }
} }
@ -324,18 +324,18 @@ public class CampaignStageExcelT
public string StrategyMapBG { get; set; } public string StrategyMapBG { get; set; }
public long CampaignStageRewardId { get; set; } public long CampaignStageRewardId { get; set; }
public int MaxTurn { get; set; } public int MaxTurn { get; set; }
public SCHALE.Common.FlatData.StageTopography StageTopography_ { get; set; } public SCHALE.Common.FlatData.StageTopography StageTopography { get; set; }
public int RecommandLevel { get; set; } public int RecommandLevel { get; set; }
public string BgmId { get; set; } public string BgmId { get; set; }
public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment_ { get; set; } public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment { get; set; }
public long GroundId { get; set; } public long GroundId { get; set; }
public int StrategySkipGroundId { get; set; } public int StrategySkipGroundId { get; set; }
public SCHALE.Common.FlatData.ContentType ContentType_ { get; set; } public SCHALE.Common.FlatData.ContentType ContentType { get; set; }
public long BGMId { get; set; } public long BGMId { get; set; }
public string FirstClearReportEventName { get; set; } public string FirstClearReportEventName { get; set; }
public long TacticRewardExp { get; set; } public long TacticRewardExp { get; set; }
public long FixedEchelonId { get; set; } public long FixedEchelonId { get; set; }
public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get; set; } public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get; set; }
public CampaignStageExcelT() { public CampaignStageExcelT() {
this.Id = 0; this.Id = 0;
@ -356,18 +356,18 @@ public class CampaignStageExcelT
this.StrategyMapBG = null; this.StrategyMapBG = null;
this.CampaignStageRewardId = 0; this.CampaignStageRewardId = 0;
this.MaxTurn = 0; this.MaxTurn = 0;
this.StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street; this.StageTopography = SCHALE.Common.FlatData.StageTopography.Street;
this.RecommandLevel = 0; this.RecommandLevel = 0;
this.BgmId = null; this.BgmId = null;
this.StrategyEnvironment_ = SCHALE.Common.FlatData.StrategyEnvironment.None; this.StrategyEnvironment = SCHALE.Common.FlatData.StrategyEnvironment.None;
this.GroundId = 0; this.GroundId = 0;
this.StrategySkipGroundId = 0; this.StrategySkipGroundId = 0;
this.ContentType_ = SCHALE.Common.FlatData.ContentType.None; this.ContentType = SCHALE.Common.FlatData.ContentType.None;
this.BGMId = 0; this.BGMId = 0;
this.FirstClearReportEventName = null; this.FirstClearReportEventName = null;
this.TacticRewardExp = 0; this.TacticRewardExp = 0;
this.FixedEchelonId = 0; this.FixedEchelonId = 0;
this.EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base; this.EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base;
} }
} }
@ -395,18 +395,18 @@ static public class CampaignStageExcelVerify
&& verifier.VerifyString(tablePos, 34 /*StrategyMapBG*/, false) && verifier.VerifyString(tablePos, 34 /*StrategyMapBG*/, false)
&& verifier.VerifyField(tablePos, 36 /*CampaignStageRewardId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 36 /*CampaignStageRewardId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 38 /*MaxTurn*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 38 /*MaxTurn*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 40 /*StageTopography_*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) && verifier.VerifyField(tablePos, 40 /*StageTopography*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false)
&& verifier.VerifyField(tablePos, 42 /*RecommandLevel*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 42 /*RecommandLevel*/, 4 /*int*/, 4, false)
&& verifier.VerifyString(tablePos, 44 /*BgmId*/, false) && verifier.VerifyString(tablePos, 44 /*BgmId*/, false)
&& verifier.VerifyField(tablePos, 46 /*StrategyEnvironment_*/, 4 /*SCHALE.Common.FlatData.StrategyEnvironment*/, 4, false) && verifier.VerifyField(tablePos, 46 /*StrategyEnvironment*/, 4 /*SCHALE.Common.FlatData.StrategyEnvironment*/, 4, false)
&& verifier.VerifyField(tablePos, 48 /*GroundId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 48 /*GroundId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 50 /*StrategySkipGroundId*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 50 /*StrategySkipGroundId*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 52 /*ContentType_*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) && verifier.VerifyField(tablePos, 52 /*ContentType*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false)
&& verifier.VerifyField(tablePos, 54 /*BGMId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 54 /*BGMId*/, 8 /*long*/, 8, false)
&& verifier.VerifyString(tablePos, 56 /*FirstClearReportEventName*/, false) && verifier.VerifyString(tablePos, 56 /*FirstClearReportEventName*/, false)
&& verifier.VerifyField(tablePos, 58 /*TacticRewardExp*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 58 /*TacticRewardExp*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 60 /*FixedEchelonId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 60 /*FixedEchelonId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 62 /*EchelonExtensionType_*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) && verifier.VerifyField(tablePos, 62 /*EchelonExtensionType*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);
} }
} }

View File

@ -21,7 +21,7 @@ public struct CampaignStageRewardExcel : IFlatbufferObject
public CampaignStageRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public CampaignStageRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long GroupId { 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(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.RewardTag RewardTag_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } public SCHALE.Common.FlatData.RewardTag RewardTag { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } }
public int StageRewardProb { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int StageRewardProb { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public SCHALE.Common.FlatData.ParcelType StageRewardParcelType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public SCHALE.Common.FlatData.ParcelType StageRewardParcelType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } }
public long StageRewardId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long StageRewardId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -30,7 +30,7 @@ public struct CampaignStageRewardExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.CampaignStageRewardExcel> CreateCampaignStageRewardExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.CampaignStageRewardExcel> CreateCampaignStageRewardExcel(FlatBufferBuilder builder,
long GroupId = 0, long GroupId = 0,
SCHALE.Common.FlatData.RewardTag RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default, SCHALE.Common.FlatData.RewardTag RewardTag = SCHALE.Common.FlatData.RewardTag.Default,
int StageRewardProb = 0, int StageRewardProb = 0,
SCHALE.Common.FlatData.ParcelType StageRewardParcelType = SCHALE.Common.FlatData.ParcelType.None, SCHALE.Common.FlatData.ParcelType StageRewardParcelType = SCHALE.Common.FlatData.ParcelType.None,
long StageRewardId = 0, long StageRewardId = 0,
@ -42,14 +42,14 @@ public struct CampaignStageRewardExcel : IFlatbufferObject
CampaignStageRewardExcel.AddStageRewardAmount(builder, StageRewardAmount); CampaignStageRewardExcel.AddStageRewardAmount(builder, StageRewardAmount);
CampaignStageRewardExcel.AddStageRewardParcelType(builder, StageRewardParcelType); CampaignStageRewardExcel.AddStageRewardParcelType(builder, StageRewardParcelType);
CampaignStageRewardExcel.AddStageRewardProb(builder, StageRewardProb); CampaignStageRewardExcel.AddStageRewardProb(builder, StageRewardProb);
CampaignStageRewardExcel.AddRewardTag_(builder, RewardTag_); CampaignStageRewardExcel.AddRewardTag(builder, RewardTag);
CampaignStageRewardExcel.AddIsDisplayed(builder, IsDisplayed); CampaignStageRewardExcel.AddIsDisplayed(builder, IsDisplayed);
return CampaignStageRewardExcel.EndCampaignStageRewardExcel(builder); return CampaignStageRewardExcel.EndCampaignStageRewardExcel(builder);
} }
public static void StartCampaignStageRewardExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void StartCampaignStageRewardExcel(FlatBufferBuilder builder) { builder.StartTable(7); }
public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(0, groupId, 0); } public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(0, groupId, 0); }
public static void AddRewardTag_(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag_) { builder.AddInt(1, (int)rewardTag_, 0); } public static void AddRewardTag(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag) { builder.AddInt(1, (int)rewardTag, 0); }
public static void AddStageRewardProb(FlatBufferBuilder builder, int stageRewardProb) { builder.AddInt(2, stageRewardProb, 0); } public static void AddStageRewardProb(FlatBufferBuilder builder, int stageRewardProb) { builder.AddInt(2, stageRewardProb, 0); }
public static void AddStageRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType stageRewardParcelType) { builder.AddInt(3, (int)stageRewardParcelType, 0); } public static void AddStageRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType stageRewardParcelType) { builder.AddInt(3, (int)stageRewardParcelType, 0); }
public static void AddStageRewardId(FlatBufferBuilder builder, long stageRewardId) { builder.AddLong(4, stageRewardId, 0); } public static void AddStageRewardId(FlatBufferBuilder builder, long stageRewardId) { builder.AddLong(4, stageRewardId, 0); }
@ -67,7 +67,7 @@ public struct CampaignStageRewardExcel : IFlatbufferObject
public void UnPackTo(CampaignStageRewardExcelT _o) { public void UnPackTo(CampaignStageRewardExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("CampaignStageReward"); byte[] key = TableEncryptionService.CreateKey("CampaignStageReward");
_o.GroupId = TableEncryptionService.Convert(this.GroupId, key); _o.GroupId = TableEncryptionService.Convert(this.GroupId, key);
_o.RewardTag_ = TableEncryptionService.Convert(this.RewardTag_, key); _o.RewardTag = TableEncryptionService.Convert(this.RewardTag, key);
_o.StageRewardProb = TableEncryptionService.Convert(this.StageRewardProb, key); _o.StageRewardProb = TableEncryptionService.Convert(this.StageRewardProb, key);
_o.StageRewardParcelType = TableEncryptionService.Convert(this.StageRewardParcelType, key); _o.StageRewardParcelType = TableEncryptionService.Convert(this.StageRewardParcelType, key);
_o.StageRewardId = TableEncryptionService.Convert(this.StageRewardId, key); _o.StageRewardId = TableEncryptionService.Convert(this.StageRewardId, key);
@ -79,7 +79,7 @@ public struct CampaignStageRewardExcel : IFlatbufferObject
return CreateCampaignStageRewardExcel( return CreateCampaignStageRewardExcel(
builder, builder,
_o.GroupId, _o.GroupId,
_o.RewardTag_, _o.RewardTag,
_o.StageRewardProb, _o.StageRewardProb,
_o.StageRewardParcelType, _o.StageRewardParcelType,
_o.StageRewardId, _o.StageRewardId,
@ -91,7 +91,7 @@ public struct CampaignStageRewardExcel : IFlatbufferObject
public class CampaignStageRewardExcelT public class CampaignStageRewardExcelT
{ {
public long GroupId { get; set; } public long GroupId { get; set; }
public SCHALE.Common.FlatData.RewardTag RewardTag_ { get; set; } public SCHALE.Common.FlatData.RewardTag RewardTag { get; set; }
public int StageRewardProb { get; set; } public int StageRewardProb { get; set; }
public SCHALE.Common.FlatData.ParcelType StageRewardParcelType { get; set; } public SCHALE.Common.FlatData.ParcelType StageRewardParcelType { get; set; }
public long StageRewardId { get; set; } public long StageRewardId { get; set; }
@ -100,7 +100,7 @@ public class CampaignStageRewardExcelT
public CampaignStageRewardExcelT() { public CampaignStageRewardExcelT() {
this.GroupId = 0; this.GroupId = 0;
this.RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default; this.RewardTag = SCHALE.Common.FlatData.RewardTag.Default;
this.StageRewardProb = 0; this.StageRewardProb = 0;
this.StageRewardParcelType = SCHALE.Common.FlatData.ParcelType.None; this.StageRewardParcelType = SCHALE.Common.FlatData.ParcelType.None;
this.StageRewardId = 0; this.StageRewardId = 0;
@ -116,7 +116,7 @@ static public class CampaignStageRewardExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*GroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*GroupId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*RewardTag_*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) && verifier.VerifyField(tablePos, 6 /*RewardTag*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*StageRewardProb*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 8 /*StageRewardProb*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*StageRewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*StageRewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false)
&& verifier.VerifyField(tablePos, 12 /*StageRewardId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*StageRewardId*/, 8 /*long*/, 8, false)

View File

@ -36,7 +36,7 @@ public struct CampaignStrategyObjectExcel : IFlatbufferObject
public ArraySegment<byte>? GetPrefabNameBytes() { return __p.__vector_as_arraysegment(10); } public ArraySegment<byte>? GetPrefabNameBytes() { return __p.__vector_as_arraysegment(10); }
#endif #endif
public byte[] GetPrefabNameArray() { return __p.__vector_as_array<byte>(10); } public byte[] GetPrefabNameArray() { return __p.__vector_as_array<byte>(10); }
public SCHALE.Common.FlatData.StrategyObjectType StrategyObjectType_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.StrategyObjectType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StrategyObjectType.None; } } public SCHALE.Common.FlatData.StrategyObjectType StrategyObjectType { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.StrategyObjectType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StrategyObjectType.None; } }
public SCHALE.Common.FlatData.ParcelType StrategyRewardParcelType { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public SCHALE.Common.FlatData.ParcelType StrategyRewardParcelType { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } }
public long StrategyRewardID { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long StrategyRewardID { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public string StrategyRewardName { get { int o = __p.__offset(18); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string StrategyRewardName { get { int o = __p.__offset(18); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
@ -59,7 +59,7 @@ public struct CampaignStrategyObjectExcel : IFlatbufferObject
uint Key = 0, uint Key = 0,
StringOffset NameOffset = default(StringOffset), StringOffset NameOffset = default(StringOffset),
StringOffset PrefabNameOffset = default(StringOffset), StringOffset PrefabNameOffset = default(StringOffset),
SCHALE.Common.FlatData.StrategyObjectType StrategyObjectType_ = SCHALE.Common.FlatData.StrategyObjectType.None, SCHALE.Common.FlatData.StrategyObjectType StrategyObjectType = SCHALE.Common.FlatData.StrategyObjectType.None,
SCHALE.Common.FlatData.ParcelType StrategyRewardParcelType = SCHALE.Common.FlatData.ParcelType.None, SCHALE.Common.FlatData.ParcelType StrategyRewardParcelType = SCHALE.Common.FlatData.ParcelType.None,
long StrategyRewardID = 0, long StrategyRewardID = 0,
StringOffset StrategyRewardNameOffset = default(StringOffset), StringOffset StrategyRewardNameOffset = default(StringOffset),
@ -81,7 +81,7 @@ public struct CampaignStrategyObjectExcel : IFlatbufferObject
CampaignStrategyObjectExcel.AddStrategyRewardAmount(builder, StrategyRewardAmount); CampaignStrategyObjectExcel.AddStrategyRewardAmount(builder, StrategyRewardAmount);
CampaignStrategyObjectExcel.AddStrategyRewardName(builder, StrategyRewardNameOffset); CampaignStrategyObjectExcel.AddStrategyRewardName(builder, StrategyRewardNameOffset);
CampaignStrategyObjectExcel.AddStrategyRewardParcelType(builder, StrategyRewardParcelType); CampaignStrategyObjectExcel.AddStrategyRewardParcelType(builder, StrategyRewardParcelType);
CampaignStrategyObjectExcel.AddStrategyObjectType_(builder, StrategyObjectType_); CampaignStrategyObjectExcel.AddStrategyObjectType(builder, StrategyObjectType);
CampaignStrategyObjectExcel.AddPrefabName(builder, PrefabNameOffset); CampaignStrategyObjectExcel.AddPrefabName(builder, PrefabNameOffset);
CampaignStrategyObjectExcel.AddName(builder, NameOffset); CampaignStrategyObjectExcel.AddName(builder, NameOffset);
CampaignStrategyObjectExcel.AddKey(builder, Key); CampaignStrategyObjectExcel.AddKey(builder, Key);
@ -94,7 +94,7 @@ public struct CampaignStrategyObjectExcel : IFlatbufferObject
public static void AddKey(FlatBufferBuilder builder, uint key) { builder.AddUint(1, key, 0); } public static void AddKey(FlatBufferBuilder builder, uint key) { builder.AddUint(1, key, 0); }
public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(2, nameOffset.Value, 0); } public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(2, nameOffset.Value, 0); }
public static void AddPrefabName(FlatBufferBuilder builder, StringOffset prefabNameOffset) { builder.AddOffset(3, prefabNameOffset.Value, 0); } public static void AddPrefabName(FlatBufferBuilder builder, StringOffset prefabNameOffset) { builder.AddOffset(3, prefabNameOffset.Value, 0); }
public static void AddStrategyObjectType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StrategyObjectType strategyObjectType_) { builder.AddInt(4, (int)strategyObjectType_, 0); } public static void AddStrategyObjectType(FlatBufferBuilder builder, SCHALE.Common.FlatData.StrategyObjectType strategyObjectType) { builder.AddInt(4, (int)strategyObjectType, 0); }
public static void AddStrategyRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType strategyRewardParcelType) { builder.AddInt(5, (int)strategyRewardParcelType, 0); } public static void AddStrategyRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType strategyRewardParcelType) { builder.AddInt(5, (int)strategyRewardParcelType, 0); }
public static void AddStrategyRewardID(FlatBufferBuilder builder, long strategyRewardID) { builder.AddLong(6, strategyRewardID, 0); } public static void AddStrategyRewardID(FlatBufferBuilder builder, long strategyRewardID) { builder.AddLong(6, strategyRewardID, 0); }
public static void AddStrategyRewardName(FlatBufferBuilder builder, StringOffset strategyRewardNameOffset) { builder.AddOffset(7, strategyRewardNameOffset.Value, 0); } public static void AddStrategyRewardName(FlatBufferBuilder builder, StringOffset strategyRewardNameOffset) { builder.AddOffset(7, strategyRewardNameOffset.Value, 0); }
@ -120,7 +120,7 @@ public struct CampaignStrategyObjectExcel : IFlatbufferObject
_o.Key = TableEncryptionService.Convert(this.Key, key); _o.Key = TableEncryptionService.Convert(this.Key, key);
_o.Name = TableEncryptionService.Convert(this.Name, key); _o.Name = TableEncryptionService.Convert(this.Name, key);
_o.PrefabName = TableEncryptionService.Convert(this.PrefabName, key); _o.PrefabName = TableEncryptionService.Convert(this.PrefabName, key);
_o.StrategyObjectType_ = TableEncryptionService.Convert(this.StrategyObjectType_, key); _o.StrategyObjectType = TableEncryptionService.Convert(this.StrategyObjectType, key);
_o.StrategyRewardParcelType = TableEncryptionService.Convert(this.StrategyRewardParcelType, key); _o.StrategyRewardParcelType = TableEncryptionService.Convert(this.StrategyRewardParcelType, key);
_o.StrategyRewardID = TableEncryptionService.Convert(this.StrategyRewardID, key); _o.StrategyRewardID = TableEncryptionService.Convert(this.StrategyRewardID, key);
_o.StrategyRewardName = TableEncryptionService.Convert(this.StrategyRewardName, key); _o.StrategyRewardName = TableEncryptionService.Convert(this.StrategyRewardName, key);
@ -143,7 +143,7 @@ public struct CampaignStrategyObjectExcel : IFlatbufferObject
_o.Key, _o.Key,
_Name, _Name,
_PrefabName, _PrefabName,
_o.StrategyObjectType_, _o.StrategyObjectType,
_o.StrategyRewardParcelType, _o.StrategyRewardParcelType,
_o.StrategyRewardID, _o.StrategyRewardID,
_StrategyRewardName, _StrategyRewardName,
@ -163,7 +163,7 @@ public class CampaignStrategyObjectExcelT
public uint Key { get; set; } public uint Key { get; set; }
public string Name { get; set; } public string Name { get; set; }
public string PrefabName { get; set; } public string PrefabName { get; set; }
public SCHALE.Common.FlatData.StrategyObjectType StrategyObjectType_ { get; set; } public SCHALE.Common.FlatData.StrategyObjectType StrategyObjectType { get; set; }
public SCHALE.Common.FlatData.ParcelType StrategyRewardParcelType { get; set; } public SCHALE.Common.FlatData.ParcelType StrategyRewardParcelType { get; set; }
public long StrategyRewardID { get; set; } public long StrategyRewardID { get; set; }
public string StrategyRewardName { get; set; } public string StrategyRewardName { get; set; }
@ -180,7 +180,7 @@ public class CampaignStrategyObjectExcelT
this.Key = 0; this.Key = 0;
this.Name = null; this.Name = null;
this.PrefabName = null; this.PrefabName = null;
this.StrategyObjectType_ = SCHALE.Common.FlatData.StrategyObjectType.None; this.StrategyObjectType = SCHALE.Common.FlatData.StrategyObjectType.None;
this.StrategyRewardParcelType = SCHALE.Common.FlatData.ParcelType.None; this.StrategyRewardParcelType = SCHALE.Common.FlatData.ParcelType.None;
this.StrategyRewardID = 0; this.StrategyRewardID = 0;
this.StrategyRewardName = null; this.StrategyRewardName = null;
@ -204,7 +204,7 @@ static public class CampaignStrategyObjectExcelVerify
&& verifier.VerifyField(tablePos, 6 /*Key*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 6 /*Key*/, 4 /*uint*/, 4, false)
&& verifier.VerifyString(tablePos, 8 /*Name*/, false) && verifier.VerifyString(tablePos, 8 /*Name*/, false)
&& verifier.VerifyString(tablePos, 10 /*PrefabName*/, false) && verifier.VerifyString(tablePos, 10 /*PrefabName*/, false)
&& verifier.VerifyField(tablePos, 12 /*StrategyObjectType_*/, 4 /*SCHALE.Common.FlatData.StrategyObjectType*/, 4, false) && verifier.VerifyField(tablePos, 12 /*StrategyObjectType*/, 4 /*SCHALE.Common.FlatData.StrategyObjectType*/, 4, false)
&& verifier.VerifyField(tablePos, 14 /*StrategyRewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 14 /*StrategyRewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false)
&& verifier.VerifyField(tablePos, 16 /*StrategyRewardID*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 16 /*StrategyRewardID*/, 8 /*long*/, 8, false)
&& verifier.VerifyString(tablePos, 18 /*StrategyRewardName*/, false) && verifier.VerifyString(tablePos, 18 /*StrategyRewardName*/, false)

View File

@ -21,7 +21,7 @@ public struct CharacterAIExcel : IFlatbufferObject
public CharacterAIExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public CharacterAIExcel __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 Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.EngageType EngageType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EngageType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EngageType.SearchAndMove; } } public SCHALE.Common.FlatData.EngageType EngageType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EngageType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EngageType.SearchAndMove; } }
public SCHALE.Common.FlatData.PositioningType Positioning { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.PositioningType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.PositioningType.CloseToObstacle; } } public SCHALE.Common.FlatData.PositioningType Positioning { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.PositioningType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.PositioningType.CloseToObstacle; } }
public bool CheckCanUseAutoSkill { get { int o = __p.__offset(10); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool CheckCanUseAutoSkill { get { int o = __p.__offset(10); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public long DistanceReduceRatioObstaclePath { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long DistanceReduceRatioObstaclePath { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -35,7 +35,7 @@ public struct CharacterAIExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.CharacterAIExcel> CreateCharacterAIExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.CharacterAIExcel> CreateCharacterAIExcel(FlatBufferBuilder builder,
long Id = 0, long Id = 0,
SCHALE.Common.FlatData.EngageType EngageType_ = SCHALE.Common.FlatData.EngageType.SearchAndMove, SCHALE.Common.FlatData.EngageType EngageType = SCHALE.Common.FlatData.EngageType.SearchAndMove,
SCHALE.Common.FlatData.PositioningType Positioning = SCHALE.Common.FlatData.PositioningType.CloseToObstacle, SCHALE.Common.FlatData.PositioningType Positioning = SCHALE.Common.FlatData.PositioningType.CloseToObstacle,
bool CheckCanUseAutoSkill = false, bool CheckCanUseAutoSkill = false,
long DistanceReduceRatioObstaclePath = 0, long DistanceReduceRatioObstaclePath = 0,
@ -54,7 +54,7 @@ public struct CharacterAIExcel : IFlatbufferObject
CharacterAIExcel.AddDistanceReduceRatioObstaclePath(builder, DistanceReduceRatioObstaclePath); CharacterAIExcel.AddDistanceReduceRatioObstaclePath(builder, DistanceReduceRatioObstaclePath);
CharacterAIExcel.AddId(builder, Id); CharacterAIExcel.AddId(builder, Id);
CharacterAIExcel.AddPositioning(builder, Positioning); CharacterAIExcel.AddPositioning(builder, Positioning);
CharacterAIExcel.AddEngageType_(builder, EngageType_); CharacterAIExcel.AddEngageType(builder, EngageType);
CharacterAIExcel.AddHasTargetSwitchingMotion(builder, HasTargetSwitchingMotion); CharacterAIExcel.AddHasTargetSwitchingMotion(builder, HasTargetSwitchingMotion);
CharacterAIExcel.AddCanUseObstacleOfStandMotion(builder, CanUseObstacleOfStandMotion); CharacterAIExcel.AddCanUseObstacleOfStandMotion(builder, CanUseObstacleOfStandMotion);
CharacterAIExcel.AddCanUseObstacleOfKneelMotion(builder, CanUseObstacleOfKneelMotion); CharacterAIExcel.AddCanUseObstacleOfKneelMotion(builder, CanUseObstacleOfKneelMotion);
@ -64,7 +64,7 @@ public struct CharacterAIExcel : IFlatbufferObject
public static void StartCharacterAIExcel(FlatBufferBuilder builder) { builder.StartTable(12); } public static void StartCharacterAIExcel(FlatBufferBuilder builder) { builder.StartTable(12); }
public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); }
public static void AddEngageType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EngageType engageType_) { builder.AddInt(1, (int)engageType_, 0); } public static void AddEngageType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EngageType engageType) { builder.AddInt(1, (int)engageType, 0); }
public static void AddPositioning(FlatBufferBuilder builder, SCHALE.Common.FlatData.PositioningType positioning) { builder.AddInt(2, (int)positioning, 0); } public static void AddPositioning(FlatBufferBuilder builder, SCHALE.Common.FlatData.PositioningType positioning) { builder.AddInt(2, (int)positioning, 0); }
public static void AddCheckCanUseAutoSkill(FlatBufferBuilder builder, bool checkCanUseAutoSkill) { builder.AddBool(3, checkCanUseAutoSkill, false); } public static void AddCheckCanUseAutoSkill(FlatBufferBuilder builder, bool checkCanUseAutoSkill) { builder.AddBool(3, checkCanUseAutoSkill, false); }
public static void AddDistanceReduceRatioObstaclePath(FlatBufferBuilder builder, long distanceReduceRatioObstaclePath) { builder.AddLong(4, distanceReduceRatioObstaclePath, 0); } public static void AddDistanceReduceRatioObstaclePath(FlatBufferBuilder builder, long distanceReduceRatioObstaclePath) { builder.AddLong(4, distanceReduceRatioObstaclePath, 0); }
@ -87,7 +87,7 @@ public struct CharacterAIExcel : IFlatbufferObject
public void UnPackTo(CharacterAIExcelT _o) { public void UnPackTo(CharacterAIExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("CharacterAI"); byte[] key = TableEncryptionService.CreateKey("CharacterAI");
_o.Id = TableEncryptionService.Convert(this.Id, key); _o.Id = TableEncryptionService.Convert(this.Id, key);
_o.EngageType_ = TableEncryptionService.Convert(this.EngageType_, key); _o.EngageType = TableEncryptionService.Convert(this.EngageType, key);
_o.Positioning = TableEncryptionService.Convert(this.Positioning, key); _o.Positioning = TableEncryptionService.Convert(this.Positioning, key);
_o.CheckCanUseAutoSkill = TableEncryptionService.Convert(this.CheckCanUseAutoSkill, key); _o.CheckCanUseAutoSkill = TableEncryptionService.Convert(this.CheckCanUseAutoSkill, key);
_o.DistanceReduceRatioObstaclePath = TableEncryptionService.Convert(this.DistanceReduceRatioObstaclePath, key); _o.DistanceReduceRatioObstaclePath = TableEncryptionService.Convert(this.DistanceReduceRatioObstaclePath, key);
@ -104,7 +104,7 @@ public struct CharacterAIExcel : IFlatbufferObject
return CreateCharacterAIExcel( return CreateCharacterAIExcel(
builder, builder,
_o.Id, _o.Id,
_o.EngageType_, _o.EngageType,
_o.Positioning, _o.Positioning,
_o.CheckCanUseAutoSkill, _o.CheckCanUseAutoSkill,
_o.DistanceReduceRatioObstaclePath, _o.DistanceReduceRatioObstaclePath,
@ -121,7 +121,7 @@ public struct CharacterAIExcel : IFlatbufferObject
public class CharacterAIExcelT public class CharacterAIExcelT
{ {
public long Id { get; set; } public long Id { get; set; }
public SCHALE.Common.FlatData.EngageType EngageType_ { get; set; } public SCHALE.Common.FlatData.EngageType EngageType { get; set; }
public SCHALE.Common.FlatData.PositioningType Positioning { get; set; } public SCHALE.Common.FlatData.PositioningType Positioning { get; set; }
public bool CheckCanUseAutoSkill { get; set; } public bool CheckCanUseAutoSkill { get; set; }
public long DistanceReduceRatioObstaclePath { get; set; } public long DistanceReduceRatioObstaclePath { get; set; }
@ -135,7 +135,7 @@ public class CharacterAIExcelT
public CharacterAIExcelT() { public CharacterAIExcelT() {
this.Id = 0; this.Id = 0;
this.EngageType_ = SCHALE.Common.FlatData.EngageType.SearchAndMove; this.EngageType = SCHALE.Common.FlatData.EngageType.SearchAndMove;
this.Positioning = SCHALE.Common.FlatData.PositioningType.CloseToObstacle; this.Positioning = SCHALE.Common.FlatData.PositioningType.CloseToObstacle;
this.CheckCanUseAutoSkill = false; this.CheckCanUseAutoSkill = false;
this.DistanceReduceRatioObstaclePath = 0; this.DistanceReduceRatioObstaclePath = 0;
@ -156,7 +156,7 @@ static public class CharacterAIExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*EngageType_*/, 4 /*SCHALE.Common.FlatData.EngageType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*EngageType*/, 4 /*SCHALE.Common.FlatData.EngageType*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*Positioning*/, 4 /*SCHALE.Common.FlatData.PositioningType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*Positioning*/, 4 /*SCHALE.Common.FlatData.PositioningType*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*CheckCanUseAutoSkill*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 10 /*CheckCanUseAutoSkill*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 12 /*DistanceReduceRatioObstaclePath*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*DistanceReduceRatioObstaclePath*/, 8 /*long*/, 8, false)

View File

@ -21,32 +21,64 @@ public struct CharacterCalculationLimitExcel : IFlatbufferObject
public CharacterCalculationLimitExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public CharacterCalculationLimitExcel __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 Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.TacticEntityType TacticEntityType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.TacticEntityType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEntityType.None; } } public SCHALE.Common.FlatData.TacticEntityType TacticEntityType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.TacticEntityType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEntityType.None; } }
public SCHALE.Common.FlatData.BattleCalculationStat CalculationValue { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.BattleCalculationStat)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.BattleCalculationStat.FinalDamage; } } public SCHALE.Common.FlatData.BattleCalculationStat CalculationValue { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.BattleCalculationStat)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.BattleCalculationStat.FinalDamage; } }
public long MinValue { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long MinValue { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long MaxValue { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long MaxValue { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long LimitStartValue(int j) { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; }
public int LimitStartValueLength { get { int o = __p.__offset(14); return o != 0 ? __p.__vector_len(o) : 0; } }
#if ENABLE_SPAN_T
public Span<long> GetLimitStartValueBytes() { return __p.__vector_as_span<long>(14, 8); }
#else
public ArraySegment<byte>? GetLimitStartValueBytes() { return __p.__vector_as_arraysegment(14); }
#endif
public long[] GetLimitStartValueArray() { return __p.__vector_as_array<long>(14); }
public long DecreaseRate(int j) { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; }
public int DecreaseRateLength { get { int o = __p.__offset(16); return o != 0 ? __p.__vector_len(o) : 0; } }
#if ENABLE_SPAN_T
public Span<long> GetDecreaseRateBytes() { return __p.__vector_as_span<long>(16, 8); }
#else
public ArraySegment<byte>? GetDecreaseRateBytes() { return __p.__vector_as_arraysegment(16); }
#endif
public long[] GetDecreaseRateArray() { return __p.__vector_as_array<long>(16); }
public static Offset<SCHALE.Common.FlatData.CharacterCalculationLimitExcel> CreateCharacterCalculationLimitExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.CharacterCalculationLimitExcel> CreateCharacterCalculationLimitExcel(FlatBufferBuilder builder,
long Id = 0, long Id = 0,
SCHALE.Common.FlatData.TacticEntityType TacticEntityType_ = SCHALE.Common.FlatData.TacticEntityType.None, SCHALE.Common.FlatData.TacticEntityType TacticEntityType = SCHALE.Common.FlatData.TacticEntityType.None,
SCHALE.Common.FlatData.BattleCalculationStat CalculationValue = SCHALE.Common.FlatData.BattleCalculationStat.FinalDamage, SCHALE.Common.FlatData.BattleCalculationStat CalculationValue = SCHALE.Common.FlatData.BattleCalculationStat.FinalDamage,
long MinValue = 0, long MinValue = 0,
long MaxValue = 0) { long MaxValue = 0,
builder.StartTable(5); VectorOffset LimitStartValueOffset = default(VectorOffset),
VectorOffset DecreaseRateOffset = default(VectorOffset)) {
builder.StartTable(7);
CharacterCalculationLimitExcel.AddMaxValue(builder, MaxValue); CharacterCalculationLimitExcel.AddMaxValue(builder, MaxValue);
CharacterCalculationLimitExcel.AddMinValue(builder, MinValue); CharacterCalculationLimitExcel.AddMinValue(builder, MinValue);
CharacterCalculationLimitExcel.AddId(builder, Id); CharacterCalculationLimitExcel.AddId(builder, Id);
CharacterCalculationLimitExcel.AddDecreaseRate(builder, DecreaseRateOffset);
CharacterCalculationLimitExcel.AddLimitStartValue(builder, LimitStartValueOffset);
CharacterCalculationLimitExcel.AddCalculationValue(builder, CalculationValue); CharacterCalculationLimitExcel.AddCalculationValue(builder, CalculationValue);
CharacterCalculationLimitExcel.AddTacticEntityType_(builder, TacticEntityType_); CharacterCalculationLimitExcel.AddTacticEntityType(builder, TacticEntityType);
return CharacterCalculationLimitExcel.EndCharacterCalculationLimitExcel(builder); return CharacterCalculationLimitExcel.EndCharacterCalculationLimitExcel(builder);
} }
public static void StartCharacterCalculationLimitExcel(FlatBufferBuilder builder) { builder.StartTable(5); } public static void StartCharacterCalculationLimitExcel(FlatBufferBuilder builder) { builder.StartTable(7); }
public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); }
public static void AddTacticEntityType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEntityType tacticEntityType_) { builder.AddInt(1, (int)tacticEntityType_, 0); } public static void AddTacticEntityType(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEntityType tacticEntityType) { builder.AddInt(1, (int)tacticEntityType, 0); }
public static void AddCalculationValue(FlatBufferBuilder builder, SCHALE.Common.FlatData.BattleCalculationStat calculationValue) { builder.AddInt(2, (int)calculationValue, 0); } public static void AddCalculationValue(FlatBufferBuilder builder, SCHALE.Common.FlatData.BattleCalculationStat calculationValue) { builder.AddInt(2, (int)calculationValue, 0); }
public static void AddMinValue(FlatBufferBuilder builder, long minValue) { builder.AddLong(3, minValue, 0); } public static void AddMinValue(FlatBufferBuilder builder, long minValue) { builder.AddLong(3, minValue, 0); }
public static void AddMaxValue(FlatBufferBuilder builder, long maxValue) { builder.AddLong(4, maxValue, 0); } public static void AddMaxValue(FlatBufferBuilder builder, long maxValue) { builder.AddLong(4, maxValue, 0); }
public static void AddLimitStartValue(FlatBufferBuilder builder, VectorOffset limitStartValueOffset) { builder.AddOffset(5, limitStartValueOffset.Value, 0); }
public static VectorOffset CreateLimitStartValueVector(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); for (int i = data.Length - 1; i >= 0; i--) builder.AddLong(data[i]); return builder.EndVector(); }
public static VectorOffset CreateLimitStartValueVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateLimitStartValueVectorBlock(FlatBufferBuilder builder, ArraySegment<long> data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateLimitStartValueVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<long>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartLimitStartValueVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); }
public static void AddDecreaseRate(FlatBufferBuilder builder, VectorOffset decreaseRateOffset) { builder.AddOffset(6, decreaseRateOffset.Value, 0); }
public static VectorOffset CreateDecreaseRateVector(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); for (int i = data.Length - 1; i >= 0; i--) builder.AddLong(data[i]); return builder.EndVector(); }
public static VectorOffset CreateDecreaseRateVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDecreaseRateVectorBlock(FlatBufferBuilder builder, ArraySegment<long> data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDecreaseRateVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<long>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDecreaseRateVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); }
public static Offset<SCHALE.Common.FlatData.CharacterCalculationLimitExcel> EndCharacterCalculationLimitExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.CharacterCalculationLimitExcel> EndCharacterCalculationLimitExcel(FlatBufferBuilder builder) {
int o = builder.EndTable(); int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.CharacterCalculationLimitExcel>(o); return new Offset<SCHALE.Common.FlatData.CharacterCalculationLimitExcel>(o);
@ -59,37 +91,57 @@ public struct CharacterCalculationLimitExcel : IFlatbufferObject
public void UnPackTo(CharacterCalculationLimitExcelT _o) { public void UnPackTo(CharacterCalculationLimitExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("CharacterCalculationLimit"); byte[] key = TableEncryptionService.CreateKey("CharacterCalculationLimit");
_o.Id = TableEncryptionService.Convert(this.Id, key); _o.Id = TableEncryptionService.Convert(this.Id, key);
_o.TacticEntityType_ = TableEncryptionService.Convert(this.TacticEntityType_, key); _o.TacticEntityType = TableEncryptionService.Convert(this.TacticEntityType, key);
_o.CalculationValue = TableEncryptionService.Convert(this.CalculationValue, key); _o.CalculationValue = TableEncryptionService.Convert(this.CalculationValue, key);
_o.MinValue = TableEncryptionService.Convert(this.MinValue, key); _o.MinValue = TableEncryptionService.Convert(this.MinValue, key);
_o.MaxValue = TableEncryptionService.Convert(this.MaxValue, key); _o.MaxValue = TableEncryptionService.Convert(this.MaxValue, key);
_o.LimitStartValue = new List<long>();
for (var _j = 0; _j < this.LimitStartValueLength; ++_j) {_o.LimitStartValue.Add(TableEncryptionService.Convert(this.LimitStartValue(_j), key));}
_o.DecreaseRate = new List<long>();
for (var _j = 0; _j < this.DecreaseRateLength; ++_j) {_o.DecreaseRate.Add(TableEncryptionService.Convert(this.DecreaseRate(_j), key));}
} }
public static Offset<SCHALE.Common.FlatData.CharacterCalculationLimitExcel> Pack(FlatBufferBuilder builder, CharacterCalculationLimitExcelT _o) { public static Offset<SCHALE.Common.FlatData.CharacterCalculationLimitExcel> Pack(FlatBufferBuilder builder, CharacterCalculationLimitExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.CharacterCalculationLimitExcel>); if (_o == null) return default(Offset<SCHALE.Common.FlatData.CharacterCalculationLimitExcel>);
var _LimitStartValue = default(VectorOffset);
if (_o.LimitStartValue != null) {
var __LimitStartValue = _o.LimitStartValue.ToArray();
_LimitStartValue = CreateLimitStartValueVector(builder, __LimitStartValue);
}
var _DecreaseRate = default(VectorOffset);
if (_o.DecreaseRate != null) {
var __DecreaseRate = _o.DecreaseRate.ToArray();
_DecreaseRate = CreateDecreaseRateVector(builder, __DecreaseRate);
}
return CreateCharacterCalculationLimitExcel( return CreateCharacterCalculationLimitExcel(
builder, builder,
_o.Id, _o.Id,
_o.TacticEntityType_, _o.TacticEntityType,
_o.CalculationValue, _o.CalculationValue,
_o.MinValue, _o.MinValue,
_o.MaxValue); _o.MaxValue,
_LimitStartValue,
_DecreaseRate);
} }
} }
public class CharacterCalculationLimitExcelT public class CharacterCalculationLimitExcelT
{ {
public long Id { get; set; } public long Id { get; set; }
public SCHALE.Common.FlatData.TacticEntityType TacticEntityType_ { get; set; } public SCHALE.Common.FlatData.TacticEntityType TacticEntityType { get; set; }
public SCHALE.Common.FlatData.BattleCalculationStat CalculationValue { get; set; } public SCHALE.Common.FlatData.BattleCalculationStat CalculationValue { get; set; }
public long MinValue { get; set; } public long MinValue { get; set; }
public long MaxValue { get; set; } public long MaxValue { get; set; }
public List<long> LimitStartValue { get; set; }
public List<long> DecreaseRate { get; set; }
public CharacterCalculationLimitExcelT() { public CharacterCalculationLimitExcelT() {
this.Id = 0; this.Id = 0;
this.TacticEntityType_ = SCHALE.Common.FlatData.TacticEntityType.None; this.TacticEntityType = SCHALE.Common.FlatData.TacticEntityType.None;
this.CalculationValue = SCHALE.Common.FlatData.BattleCalculationStat.FinalDamage; this.CalculationValue = SCHALE.Common.FlatData.BattleCalculationStat.FinalDamage;
this.MinValue = 0; this.MinValue = 0;
this.MaxValue = 0; this.MaxValue = 0;
this.LimitStartValue = null;
this.DecreaseRate = null;
} }
} }
@ -100,10 +152,12 @@ static public class CharacterCalculationLimitExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*TacticEntityType_*/, 4 /*SCHALE.Common.FlatData.TacticEntityType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*TacticEntityType*/, 4 /*SCHALE.Common.FlatData.TacticEntityType*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*CalculationValue*/, 4 /*SCHALE.Common.FlatData.BattleCalculationStat*/, 4, false) && verifier.VerifyField(tablePos, 8 /*CalculationValue*/, 4 /*SCHALE.Common.FlatData.BattleCalculationStat*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*MinValue*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*MinValue*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 12 /*MaxValue*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*MaxValue*/, 8 /*long*/, 8, false)
&& verifier.VerifyVectorOfData(tablePos, 14 /*LimitStartValue*/, 8 /*long*/, false)
&& verifier.VerifyVectorOfData(tablePos, 16 /*DecreaseRate*/, 8 /*long*/, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);
} }
} }

View File

@ -24,13 +24,13 @@ public struct CharacterDialogEventExcel : IFlatbufferObject
public long OriginalCharacterId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long OriginalCharacterId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long DisplayOrder { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long DisplayOrder { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long EventID { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventID { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.ProductionStep ProductionStep_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } } public SCHALE.Common.FlatData.ProductionStep ProductionStep { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } }
public SCHALE.Common.FlatData.DialogCategory DialogCategory_ { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.DialogCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogCategory.Cafe; } } public SCHALE.Common.FlatData.DialogCategory DialogCategory { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.DialogCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogCategory.Cafe; } }
public SCHALE.Common.FlatData.DialogCondition DialogCondition_ { get { int o = __p.__offset(16); return o != 0 ? (SCHALE.Common.FlatData.DialogCondition)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogCondition.Idle; } } public SCHALE.Common.FlatData.DialogCondition DialogCondition { get { int o = __p.__offset(16); return o != 0 ? (SCHALE.Common.FlatData.DialogCondition)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogCondition.Idle; } }
public SCHALE.Common.FlatData.DialogConditionDetail DialogConditionDetail_ { get { int o = __p.__offset(18); return o != 0 ? (SCHALE.Common.FlatData.DialogConditionDetail)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogConditionDetail.None; } } public SCHALE.Common.FlatData.DialogConditionDetail DialogConditionDetail { get { int o = __p.__offset(18); return o != 0 ? (SCHALE.Common.FlatData.DialogConditionDetail)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogConditionDetail.None; } }
public long DialogConditionDetailValue { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long DialogConditionDetailValue { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long GroupId { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long GroupId { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.DialogType DialogType_ { get { int o = __p.__offset(24); return o != 0 ? (SCHALE.Common.FlatData.DialogType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogType.Talk; } } public SCHALE.Common.FlatData.DialogType DialogType { get { int o = __p.__offset(24); return o != 0 ? (SCHALE.Common.FlatData.DialogType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogType.Talk; } }
public string ActionName { get { int o = __p.__offset(26); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string ActionName { get { int o = __p.__offset(26); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
public Span<byte> GetActionNameBytes() { return __p.__vector_as_span<byte>(26, 1); } public Span<byte> GetActionNameBytes() { return __p.__vector_as_span<byte>(26, 1); }
@ -69,7 +69,7 @@ public struct CharacterDialogEventExcel : IFlatbufferObject
#endif #endif
public uint[] GetVoiceIdArray() { return __p.__vector_as_array<uint>(36); } public uint[] GetVoiceIdArray() { return __p.__vector_as_array<uint>(36); }
public bool CollectionVisible { get { int o = __p.__offset(38); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool CollectionVisible { get { int o = __p.__offset(38); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public SCHALE.Common.FlatData.CVCollectionType CVCollectionType_ { get { int o = __p.__offset(40); return o != 0 ? (SCHALE.Common.FlatData.CVCollectionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CVCollectionType.CVNormal; } } public SCHALE.Common.FlatData.CVCollectionType CVCollectionType { get { int o = __p.__offset(40); return o != 0 ? (SCHALE.Common.FlatData.CVCollectionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CVCollectionType.CVNormal; } }
public long UnlockEventSeason { get { int o = __p.__offset(42); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long UnlockEventSeason { get { int o = __p.__offset(42); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long ScenarioGroupId { get { int o = __p.__offset(44); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ScenarioGroupId { get { int o = __p.__offset(44); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public string LocalizeCVGroup { get { int o = __p.__offset(46); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string LocalizeCVGroup { get { int o = __p.__offset(46); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
@ -85,13 +85,13 @@ public struct CharacterDialogEventExcel : IFlatbufferObject
long OriginalCharacterId = 0, long OriginalCharacterId = 0,
long DisplayOrder = 0, long DisplayOrder = 0,
long EventID = 0, long EventID = 0,
SCHALE.Common.FlatData.ProductionStep ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo, SCHALE.Common.FlatData.ProductionStep ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo,
SCHALE.Common.FlatData.DialogCategory DialogCategory_ = SCHALE.Common.FlatData.DialogCategory.Cafe, SCHALE.Common.FlatData.DialogCategory DialogCategory = SCHALE.Common.FlatData.DialogCategory.Cafe,
SCHALE.Common.FlatData.DialogCondition DialogCondition_ = SCHALE.Common.FlatData.DialogCondition.Idle, SCHALE.Common.FlatData.DialogCondition DialogCondition = SCHALE.Common.FlatData.DialogCondition.Idle,
SCHALE.Common.FlatData.DialogConditionDetail DialogConditionDetail_ = SCHALE.Common.FlatData.DialogConditionDetail.None, SCHALE.Common.FlatData.DialogConditionDetail DialogConditionDetail = SCHALE.Common.FlatData.DialogConditionDetail.None,
long DialogConditionDetailValue = 0, long DialogConditionDetailValue = 0,
long GroupId = 0, long GroupId = 0,
SCHALE.Common.FlatData.DialogType DialogType_ = SCHALE.Common.FlatData.DialogType.Talk, SCHALE.Common.FlatData.DialogType DialogType = SCHALE.Common.FlatData.DialogType.Talk,
StringOffset ActionNameOffset = default(StringOffset), StringOffset ActionNameOffset = default(StringOffset),
long Duration = 0, long Duration = 0,
StringOffset AnimationNameOffset = default(StringOffset), StringOffset AnimationNameOffset = default(StringOffset),
@ -99,7 +99,7 @@ public struct CharacterDialogEventExcel : IFlatbufferObject
StringOffset LocalizeJPOffset = default(StringOffset), StringOffset LocalizeJPOffset = default(StringOffset),
VectorOffset VoiceIdOffset = default(VectorOffset), VectorOffset VoiceIdOffset = default(VectorOffset),
bool CollectionVisible = false, bool CollectionVisible = false,
SCHALE.Common.FlatData.CVCollectionType CVCollectionType_ = SCHALE.Common.FlatData.CVCollectionType.CVNormal, SCHALE.Common.FlatData.CVCollectionType CVCollectionType = SCHALE.Common.FlatData.CVCollectionType.CVNormal,
long UnlockEventSeason = 0, long UnlockEventSeason = 0,
long ScenarioGroupId = 0, long ScenarioGroupId = 0,
StringOffset LocalizeCVGroupOffset = default(StringOffset)) { StringOffset LocalizeCVGroupOffset = default(StringOffset)) {
@ -114,17 +114,17 @@ public struct CharacterDialogEventExcel : IFlatbufferObject
CharacterDialogEventExcel.AddOriginalCharacterId(builder, OriginalCharacterId); CharacterDialogEventExcel.AddOriginalCharacterId(builder, OriginalCharacterId);
CharacterDialogEventExcel.AddCostumeUniqueId(builder, CostumeUniqueId); CharacterDialogEventExcel.AddCostumeUniqueId(builder, CostumeUniqueId);
CharacterDialogEventExcel.AddLocalizeCVGroup(builder, LocalizeCVGroupOffset); CharacterDialogEventExcel.AddLocalizeCVGroup(builder, LocalizeCVGroupOffset);
CharacterDialogEventExcel.AddCVCollectionType_(builder, CVCollectionType_); CharacterDialogEventExcel.AddCVCollectionType(builder, CVCollectionType);
CharacterDialogEventExcel.AddVoiceId(builder, VoiceIdOffset); CharacterDialogEventExcel.AddVoiceId(builder, VoiceIdOffset);
CharacterDialogEventExcel.AddLocalizeJP(builder, LocalizeJPOffset); CharacterDialogEventExcel.AddLocalizeJP(builder, LocalizeJPOffset);
CharacterDialogEventExcel.AddLocalizeKR(builder, LocalizeKROffset); CharacterDialogEventExcel.AddLocalizeKR(builder, LocalizeKROffset);
CharacterDialogEventExcel.AddAnimationName(builder, AnimationNameOffset); CharacterDialogEventExcel.AddAnimationName(builder, AnimationNameOffset);
CharacterDialogEventExcel.AddActionName(builder, ActionNameOffset); CharacterDialogEventExcel.AddActionName(builder, ActionNameOffset);
CharacterDialogEventExcel.AddDialogType_(builder, DialogType_); CharacterDialogEventExcel.AddDialogType(builder, DialogType);
CharacterDialogEventExcel.AddDialogConditionDetail_(builder, DialogConditionDetail_); CharacterDialogEventExcel.AddDialogConditionDetail(builder, DialogConditionDetail);
CharacterDialogEventExcel.AddDialogCondition_(builder, DialogCondition_); CharacterDialogEventExcel.AddDialogCondition(builder, DialogCondition);
CharacterDialogEventExcel.AddDialogCategory_(builder, DialogCategory_); CharacterDialogEventExcel.AddDialogCategory(builder, DialogCategory);
CharacterDialogEventExcel.AddProductionStep_(builder, ProductionStep_); CharacterDialogEventExcel.AddProductionStep(builder, ProductionStep);
CharacterDialogEventExcel.AddCollectionVisible(builder, CollectionVisible); CharacterDialogEventExcel.AddCollectionVisible(builder, CollectionVisible);
return CharacterDialogEventExcel.EndCharacterDialogEventExcel(builder); return CharacterDialogEventExcel.EndCharacterDialogEventExcel(builder);
} }
@ -134,13 +134,13 @@ public struct CharacterDialogEventExcel : IFlatbufferObject
public static void AddOriginalCharacterId(FlatBufferBuilder builder, long originalCharacterId) { builder.AddLong(1, originalCharacterId, 0); } public static void AddOriginalCharacterId(FlatBufferBuilder builder, long originalCharacterId) { builder.AddLong(1, originalCharacterId, 0); }
public static void AddDisplayOrder(FlatBufferBuilder builder, long displayOrder) { builder.AddLong(2, displayOrder, 0); } public static void AddDisplayOrder(FlatBufferBuilder builder, long displayOrder) { builder.AddLong(2, displayOrder, 0); }
public static void AddEventID(FlatBufferBuilder builder, long eventID) { builder.AddLong(3, eventID, 0); } public static void AddEventID(FlatBufferBuilder builder, long eventID) { builder.AddLong(3, eventID, 0); }
public static void AddProductionStep_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep_) { builder.AddInt(4, (int)productionStep_, 0); } public static void AddProductionStep(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep) { builder.AddInt(4, (int)productionStep, 0); }
public static void AddDialogCategory_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogCategory dialogCategory_) { builder.AddInt(5, (int)dialogCategory_, 0); } public static void AddDialogCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogCategory dialogCategory) { builder.AddInt(5, (int)dialogCategory, 0); }
public static void AddDialogCondition_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogCondition dialogCondition_) { builder.AddInt(6, (int)dialogCondition_, 0); } public static void AddDialogCondition(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogCondition dialogCondition) { builder.AddInt(6, (int)dialogCondition, 0); }
public static void AddDialogConditionDetail_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogConditionDetail dialogConditionDetail_) { builder.AddInt(7, (int)dialogConditionDetail_, 0); } public static void AddDialogConditionDetail(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogConditionDetail dialogConditionDetail) { builder.AddInt(7, (int)dialogConditionDetail, 0); }
public static void AddDialogConditionDetailValue(FlatBufferBuilder builder, long dialogConditionDetailValue) { builder.AddLong(8, dialogConditionDetailValue, 0); } public static void AddDialogConditionDetailValue(FlatBufferBuilder builder, long dialogConditionDetailValue) { builder.AddLong(8, dialogConditionDetailValue, 0); }
public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(9, groupId, 0); } public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(9, groupId, 0); }
public static void AddDialogType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogType dialogType_) { builder.AddInt(10, (int)dialogType_, 0); } public static void AddDialogType(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogType dialogType) { builder.AddInt(10, (int)dialogType, 0); }
public static void AddActionName(FlatBufferBuilder builder, StringOffset actionNameOffset) { builder.AddOffset(11, actionNameOffset.Value, 0); } public static void AddActionName(FlatBufferBuilder builder, StringOffset actionNameOffset) { builder.AddOffset(11, actionNameOffset.Value, 0); }
public static void AddDuration(FlatBufferBuilder builder, long duration) { builder.AddLong(12, duration, 0); } public static void AddDuration(FlatBufferBuilder builder, long duration) { builder.AddLong(12, duration, 0); }
public static void AddAnimationName(FlatBufferBuilder builder, StringOffset animationNameOffset) { builder.AddOffset(13, animationNameOffset.Value, 0); } public static void AddAnimationName(FlatBufferBuilder builder, StringOffset animationNameOffset) { builder.AddOffset(13, animationNameOffset.Value, 0); }
@ -153,7 +153,7 @@ public struct CharacterDialogEventExcel : IFlatbufferObject
public static VectorOffset CreateVoiceIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<uint>(dataPtr, sizeInBytes); return builder.EndVector(); } public static VectorOffset CreateVoiceIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<uint>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartVoiceIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } public static void StartVoiceIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static void AddCollectionVisible(FlatBufferBuilder builder, bool collectionVisible) { builder.AddBool(17, collectionVisible, false); } public static void AddCollectionVisible(FlatBufferBuilder builder, bool collectionVisible) { builder.AddBool(17, collectionVisible, false); }
public static void AddCVCollectionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.CVCollectionType cVCollectionType_) { builder.AddInt(18, (int)cVCollectionType_, 0); } public static void AddCVCollectionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.CVCollectionType cVCollectionType) { builder.AddInt(18, (int)cVCollectionType, 0); }
public static void AddUnlockEventSeason(FlatBufferBuilder builder, long unlockEventSeason) { builder.AddLong(19, unlockEventSeason, 0); } public static void AddUnlockEventSeason(FlatBufferBuilder builder, long unlockEventSeason) { builder.AddLong(19, unlockEventSeason, 0); }
public static void AddScenarioGroupId(FlatBufferBuilder builder, long scenarioGroupId) { builder.AddLong(20, scenarioGroupId, 0); } public static void AddScenarioGroupId(FlatBufferBuilder builder, long scenarioGroupId) { builder.AddLong(20, scenarioGroupId, 0); }
public static void AddLocalizeCVGroup(FlatBufferBuilder builder, StringOffset localizeCVGroupOffset) { builder.AddOffset(21, localizeCVGroupOffset.Value, 0); } public static void AddLocalizeCVGroup(FlatBufferBuilder builder, StringOffset localizeCVGroupOffset) { builder.AddOffset(21, localizeCVGroupOffset.Value, 0); }
@ -172,13 +172,13 @@ public struct CharacterDialogEventExcel : IFlatbufferObject
_o.OriginalCharacterId = TableEncryptionService.Convert(this.OriginalCharacterId, key); _o.OriginalCharacterId = TableEncryptionService.Convert(this.OriginalCharacterId, key);
_o.DisplayOrder = TableEncryptionService.Convert(this.DisplayOrder, key); _o.DisplayOrder = TableEncryptionService.Convert(this.DisplayOrder, key);
_o.EventID = TableEncryptionService.Convert(this.EventID, key); _o.EventID = TableEncryptionService.Convert(this.EventID, key);
_o.ProductionStep_ = TableEncryptionService.Convert(this.ProductionStep_, key); _o.ProductionStep = TableEncryptionService.Convert(this.ProductionStep, key);
_o.DialogCategory_ = TableEncryptionService.Convert(this.DialogCategory_, key); _o.DialogCategory = TableEncryptionService.Convert(this.DialogCategory, key);
_o.DialogCondition_ = TableEncryptionService.Convert(this.DialogCondition_, key); _o.DialogCondition = TableEncryptionService.Convert(this.DialogCondition, key);
_o.DialogConditionDetail_ = TableEncryptionService.Convert(this.DialogConditionDetail_, key); _o.DialogConditionDetail = TableEncryptionService.Convert(this.DialogConditionDetail, key);
_o.DialogConditionDetailValue = TableEncryptionService.Convert(this.DialogConditionDetailValue, key); _o.DialogConditionDetailValue = TableEncryptionService.Convert(this.DialogConditionDetailValue, key);
_o.GroupId = TableEncryptionService.Convert(this.GroupId, key); _o.GroupId = TableEncryptionService.Convert(this.GroupId, key);
_o.DialogType_ = TableEncryptionService.Convert(this.DialogType_, key); _o.DialogType = TableEncryptionService.Convert(this.DialogType, key);
_o.ActionName = TableEncryptionService.Convert(this.ActionName, key); _o.ActionName = TableEncryptionService.Convert(this.ActionName, key);
_o.Duration = TableEncryptionService.Convert(this.Duration, key); _o.Duration = TableEncryptionService.Convert(this.Duration, key);
_o.AnimationName = TableEncryptionService.Convert(this.AnimationName, key); _o.AnimationName = TableEncryptionService.Convert(this.AnimationName, key);
@ -187,7 +187,7 @@ public struct CharacterDialogEventExcel : IFlatbufferObject
_o.VoiceId = new List<uint>(); _o.VoiceId = new List<uint>();
for (var _j = 0; _j < this.VoiceIdLength; ++_j) {_o.VoiceId.Add(TableEncryptionService.Convert(this.VoiceId(_j), key));} for (var _j = 0; _j < this.VoiceIdLength; ++_j) {_o.VoiceId.Add(TableEncryptionService.Convert(this.VoiceId(_j), key));}
_o.CollectionVisible = TableEncryptionService.Convert(this.CollectionVisible, key); _o.CollectionVisible = TableEncryptionService.Convert(this.CollectionVisible, key);
_o.CVCollectionType_ = TableEncryptionService.Convert(this.CVCollectionType_, key); _o.CVCollectionType = TableEncryptionService.Convert(this.CVCollectionType, key);
_o.UnlockEventSeason = TableEncryptionService.Convert(this.UnlockEventSeason, key); _o.UnlockEventSeason = TableEncryptionService.Convert(this.UnlockEventSeason, key);
_o.ScenarioGroupId = TableEncryptionService.Convert(this.ScenarioGroupId, key); _o.ScenarioGroupId = TableEncryptionService.Convert(this.ScenarioGroupId, key);
_o.LocalizeCVGroup = TableEncryptionService.Convert(this.LocalizeCVGroup, key); _o.LocalizeCVGroup = TableEncryptionService.Convert(this.LocalizeCVGroup, key);
@ -210,13 +210,13 @@ public struct CharacterDialogEventExcel : IFlatbufferObject
_o.OriginalCharacterId, _o.OriginalCharacterId,
_o.DisplayOrder, _o.DisplayOrder,
_o.EventID, _o.EventID,
_o.ProductionStep_, _o.ProductionStep,
_o.DialogCategory_, _o.DialogCategory,
_o.DialogCondition_, _o.DialogCondition,
_o.DialogConditionDetail_, _o.DialogConditionDetail,
_o.DialogConditionDetailValue, _o.DialogConditionDetailValue,
_o.GroupId, _o.GroupId,
_o.DialogType_, _o.DialogType,
_ActionName, _ActionName,
_o.Duration, _o.Duration,
_AnimationName, _AnimationName,
@ -224,7 +224,7 @@ public struct CharacterDialogEventExcel : IFlatbufferObject
_LocalizeJP, _LocalizeJP,
_VoiceId, _VoiceId,
_o.CollectionVisible, _o.CollectionVisible,
_o.CVCollectionType_, _o.CVCollectionType,
_o.UnlockEventSeason, _o.UnlockEventSeason,
_o.ScenarioGroupId, _o.ScenarioGroupId,
_LocalizeCVGroup); _LocalizeCVGroup);
@ -237,13 +237,13 @@ public class CharacterDialogEventExcelT
public long OriginalCharacterId { get; set; } public long OriginalCharacterId { get; set; }
public long DisplayOrder { get; set; } public long DisplayOrder { get; set; }
public long EventID { get; set; } public long EventID { get; set; }
public SCHALE.Common.FlatData.ProductionStep ProductionStep_ { get; set; } public SCHALE.Common.FlatData.ProductionStep ProductionStep { get; set; }
public SCHALE.Common.FlatData.DialogCategory DialogCategory_ { get; set; } public SCHALE.Common.FlatData.DialogCategory DialogCategory { get; set; }
public SCHALE.Common.FlatData.DialogCondition DialogCondition_ { get; set; } public SCHALE.Common.FlatData.DialogCondition DialogCondition { get; set; }
public SCHALE.Common.FlatData.DialogConditionDetail DialogConditionDetail_ { get; set; } public SCHALE.Common.FlatData.DialogConditionDetail DialogConditionDetail { get; set; }
public long DialogConditionDetailValue { get; set; } public long DialogConditionDetailValue { get; set; }
public long GroupId { get; set; } public long GroupId { get; set; }
public SCHALE.Common.FlatData.DialogType DialogType_ { get; set; } public SCHALE.Common.FlatData.DialogType DialogType { get; set; }
public string ActionName { get; set; } public string ActionName { get; set; }
public long Duration { get; set; } public long Duration { get; set; }
public string AnimationName { get; set; } public string AnimationName { get; set; }
@ -251,7 +251,7 @@ public class CharacterDialogEventExcelT
public string LocalizeJP { get; set; } public string LocalizeJP { get; set; }
public List<uint> VoiceId { get; set; } public List<uint> VoiceId { get; set; }
public bool CollectionVisible { get; set; } public bool CollectionVisible { get; set; }
public SCHALE.Common.FlatData.CVCollectionType CVCollectionType_ { get; set; } public SCHALE.Common.FlatData.CVCollectionType CVCollectionType { get; set; }
public long UnlockEventSeason { get; set; } public long UnlockEventSeason { get; set; }
public long ScenarioGroupId { get; set; } public long ScenarioGroupId { get; set; }
public string LocalizeCVGroup { get; set; } public string LocalizeCVGroup { get; set; }
@ -261,13 +261,13 @@ public class CharacterDialogEventExcelT
this.OriginalCharacterId = 0; this.OriginalCharacterId = 0;
this.DisplayOrder = 0; this.DisplayOrder = 0;
this.EventID = 0; this.EventID = 0;
this.ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo; this.ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo;
this.DialogCategory_ = SCHALE.Common.FlatData.DialogCategory.Cafe; this.DialogCategory = SCHALE.Common.FlatData.DialogCategory.Cafe;
this.DialogCondition_ = SCHALE.Common.FlatData.DialogCondition.Idle; this.DialogCondition = SCHALE.Common.FlatData.DialogCondition.Idle;
this.DialogConditionDetail_ = SCHALE.Common.FlatData.DialogConditionDetail.None; this.DialogConditionDetail = SCHALE.Common.FlatData.DialogConditionDetail.None;
this.DialogConditionDetailValue = 0; this.DialogConditionDetailValue = 0;
this.GroupId = 0; this.GroupId = 0;
this.DialogType_ = SCHALE.Common.FlatData.DialogType.Talk; this.DialogType = SCHALE.Common.FlatData.DialogType.Talk;
this.ActionName = null; this.ActionName = null;
this.Duration = 0; this.Duration = 0;
this.AnimationName = null; this.AnimationName = null;
@ -275,7 +275,7 @@ public class CharacterDialogEventExcelT
this.LocalizeJP = null; this.LocalizeJP = null;
this.VoiceId = null; this.VoiceId = null;
this.CollectionVisible = false; this.CollectionVisible = false;
this.CVCollectionType_ = SCHALE.Common.FlatData.CVCollectionType.CVNormal; this.CVCollectionType = SCHALE.Common.FlatData.CVCollectionType.CVNormal;
this.UnlockEventSeason = 0; this.UnlockEventSeason = 0;
this.ScenarioGroupId = 0; this.ScenarioGroupId = 0;
this.LocalizeCVGroup = null; this.LocalizeCVGroup = null;
@ -292,13 +292,13 @@ static public class CharacterDialogEventExcelVerify
&& verifier.VerifyField(tablePos, 6 /*OriginalCharacterId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*OriginalCharacterId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 8 /*DisplayOrder*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*DisplayOrder*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 10 /*EventID*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*EventID*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 12 /*ProductionStep_*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false) && verifier.VerifyField(tablePos, 12 /*ProductionStep*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false)
&& verifier.VerifyField(tablePos, 14 /*DialogCategory_*/, 4 /*SCHALE.Common.FlatData.DialogCategory*/, 4, false) && verifier.VerifyField(tablePos, 14 /*DialogCategory*/, 4 /*SCHALE.Common.FlatData.DialogCategory*/, 4, false)
&& verifier.VerifyField(tablePos, 16 /*DialogCondition_*/, 4 /*SCHALE.Common.FlatData.DialogCondition*/, 4, false) && verifier.VerifyField(tablePos, 16 /*DialogCondition*/, 4 /*SCHALE.Common.FlatData.DialogCondition*/, 4, false)
&& verifier.VerifyField(tablePos, 18 /*DialogConditionDetail_*/, 4 /*SCHALE.Common.FlatData.DialogConditionDetail*/, 4, false) && verifier.VerifyField(tablePos, 18 /*DialogConditionDetail*/, 4 /*SCHALE.Common.FlatData.DialogConditionDetail*/, 4, false)
&& verifier.VerifyField(tablePos, 20 /*DialogConditionDetailValue*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 20 /*DialogConditionDetailValue*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 22 /*GroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 22 /*GroupId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 24 /*DialogType_*/, 4 /*SCHALE.Common.FlatData.DialogType*/, 4, false) && verifier.VerifyField(tablePos, 24 /*DialogType*/, 4 /*SCHALE.Common.FlatData.DialogType*/, 4, false)
&& verifier.VerifyString(tablePos, 26 /*ActionName*/, false) && verifier.VerifyString(tablePos, 26 /*ActionName*/, false)
&& verifier.VerifyField(tablePos, 28 /*Duration*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 28 /*Duration*/, 8 /*long*/, 8, false)
&& verifier.VerifyString(tablePos, 30 /*AnimationName*/, false) && verifier.VerifyString(tablePos, 30 /*AnimationName*/, false)
@ -306,7 +306,7 @@ static public class CharacterDialogEventExcelVerify
&& verifier.VerifyString(tablePos, 34 /*LocalizeJP*/, false) && verifier.VerifyString(tablePos, 34 /*LocalizeJP*/, false)
&& verifier.VerifyVectorOfData(tablePos, 36 /*VoiceId*/, 4 /*uint*/, false) && verifier.VerifyVectorOfData(tablePos, 36 /*VoiceId*/, 4 /*uint*/, false)
&& verifier.VerifyField(tablePos, 38 /*CollectionVisible*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 38 /*CollectionVisible*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 40 /*CVCollectionType_*/, 4 /*SCHALE.Common.FlatData.CVCollectionType*/, 4, false) && verifier.VerifyField(tablePos, 40 /*CVCollectionType*/, 4 /*SCHALE.Common.FlatData.CVCollectionType*/, 4, false)
&& verifier.VerifyField(tablePos, 42 /*UnlockEventSeason*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 42 /*UnlockEventSeason*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 44 /*ScenarioGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 44 /*ScenarioGroupId*/, 8 /*long*/, 8, false)
&& verifier.VerifyString(tablePos, 46 /*LocalizeCVGroup*/, false) && verifier.VerifyString(tablePos, 46 /*LocalizeCVGroup*/, false)

View File

@ -58,20 +58,20 @@ public struct CharacterDialogExcel : IFlatbufferObject
public ArraySegment<byte>? GetAnimationNameBytes() { return __p.__vector_as_arraysegment(30); } public ArraySegment<byte>? GetAnimationNameBytes() { return __p.__vector_as_arraysegment(30); }
#endif #endif
public byte[] GetAnimationNameArray() { return __p.__vector_as_array<byte>(30); } public byte[] GetAnimationNameArray() { return __p.__vector_as_array<byte>(30); }
public string LocalizeKr { get { int o = __p.__offset(32); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string LocalizeKR { get { int o = __p.__offset(32); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
public Span<byte> GetLocalizeKrBytes() { return __p.__vector_as_span<byte>(32, 1); } public Span<byte> GetLocalizeKRBytes() { return __p.__vector_as_span<byte>(32, 1); }
#else #else
public ArraySegment<byte>? GetLocalizeKrBytes() { return __p.__vector_as_arraysegment(32); } public ArraySegment<byte>? GetLocalizeKRBytes() { return __p.__vector_as_arraysegment(32); }
#endif #endif
public byte[] GetLocalizeKrArray() { return __p.__vector_as_array<byte>(32); } public byte[] GetLocalizeKRArray() { return __p.__vector_as_array<byte>(32); }
public string LocalizeJp { get { int o = __p.__offset(34); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string LocalizeJP { get { int o = __p.__offset(34); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
public Span<byte> GetLocalizeJpBytes() { return __p.__vector_as_span<byte>(34, 1); } public Span<byte> GetLocalizeJPBytes() { return __p.__vector_as_span<byte>(34, 1); }
#else #else
public ArraySegment<byte>? GetLocalizeJpBytes() { return __p.__vector_as_arraysegment(34); } public ArraySegment<byte>? GetLocalizeJPBytes() { return __p.__vector_as_arraysegment(34); }
#endif #endif
public byte[] GetLocalizeJpArray() { return __p.__vector_as_array<byte>(34); } public byte[] GetLocalizeJPArray() { return __p.__vector_as_array<byte>(34); }
public uint VoiceId(int j) { int o = __p.__offset(36); return o != 0 ? __p.bb.GetUint(__p.__vector(o) + j * 4) : (uint)0; } public uint VoiceId(int j) { int o = __p.__offset(36); return o != 0 ? __p.bb.GetUint(__p.__vector(o) + j * 4) : (uint)0; }
public int VoiceIdLength { get { int o = __p.__offset(36); return o != 0 ? __p.__vector_len(o) : 0; } } public int VoiceIdLength { get { int o = __p.__offset(36); return o != 0 ? __p.__vector_len(o) : 0; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
@ -84,69 +84,69 @@ public struct CharacterDialogExcel : IFlatbufferObject
public float PosX { get { int o = __p.__offset(40); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } public float PosX { get { int o = __p.__offset(40); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } }
public float PosY { get { int o = __p.__offset(42); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } public float PosY { get { int o = __p.__offset(42); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } }
public bool CollectionVisible { get { int o = __p.__offset(44); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool CollectionVisible { get { int o = __p.__offset(44); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public SCHALE.Common.FlatData.CVCollectionType CvCollectionType { get { int o = __p.__offset(46); return o != 0 ? (SCHALE.Common.FlatData.CVCollectionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CVCollectionType.CVNormal; } } public SCHALE.Common.FlatData.CVCollectionType CVCollectionType { get { int o = __p.__offset(46); return o != 0 ? (SCHALE.Common.FlatData.CVCollectionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CVCollectionType.CVNormal; } }
public long UnlockFavorRank { get { int o = __p.__offset(48); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long UnlockFavorRank { get { int o = __p.__offset(48); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public bool UnlockEquipWeapon { get { int o = __p.__offset(50); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool UnlockEquipWeapon { get { int o = __p.__offset(50); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public string LocalizeCvGroup { get { int o = __p.__offset(52); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string LocalizeCVGroup { get { int o = __p.__offset(52); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
public Span<byte> GetLocalizeCvGroupBytes() { return __p.__vector_as_span<byte>(52, 1); } public Span<byte> GetLocalizeCVGroupBytes() { return __p.__vector_as_span<byte>(52, 1); }
#else #else
public ArraySegment<byte>? GetLocalizeCvGroupBytes() { return __p.__vector_as_arraysegment(52); } public ArraySegment<byte>? GetLocalizeCVGroupBytes() { return __p.__vector_as_arraysegment(52); }
#endif #endif
public byte[] GetLocalizeCvGroupArray() { return __p.__vector_as_array<byte>(52); } public byte[] GetLocalizeCVGroupArray() { return __p.__vector_as_array<byte>(52); }
public static Offset<SCHALE.Common.FlatData.CharacterDialogExcel> CreateCharacterDialogExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.CharacterDialogExcel> CreateCharacterDialogExcel(FlatBufferBuilder builder,
long character_id = 0, long CharacterId = 0,
long costume_unique_id = 0, long CostumeUniqueId = 0,
long display_order = 0, long DisplayOrder = 0,
SCHALE.Common.FlatData.ProductionStep production_step = SCHALE.Common.FlatData.ProductionStep.ToDo, SCHALE.Common.FlatData.ProductionStep ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo,
SCHALE.Common.FlatData.DialogCategory dialog_category = SCHALE.Common.FlatData.DialogCategory.Cafe, SCHALE.Common.FlatData.DialogCategory DialogCategory = SCHALE.Common.FlatData.DialogCategory.Cafe,
SCHALE.Common.FlatData.DialogCondition dialog_condition = SCHALE.Common.FlatData.DialogCondition.Idle, SCHALE.Common.FlatData.DialogCondition DialogCondition = SCHALE.Common.FlatData.DialogCondition.Idle,
SCHALE.Common.FlatData.Anniversary anniversary = SCHALE.Common.FlatData.Anniversary.None, SCHALE.Common.FlatData.Anniversary Anniversary = SCHALE.Common.FlatData.Anniversary.None,
StringOffset start_dateOffset = default(StringOffset), StringOffset StartDateOffset = default(StringOffset),
StringOffset end_dateOffset = default(StringOffset), StringOffset EndDateOffset = default(StringOffset),
long group_id = 0, long GroupId = 0,
SCHALE.Common.FlatData.DialogType dialog_type = SCHALE.Common.FlatData.DialogType.Talk, SCHALE.Common.FlatData.DialogType DialogType = SCHALE.Common.FlatData.DialogType.Talk,
StringOffset action_nameOffset = default(StringOffset), StringOffset ActionNameOffset = default(StringOffset),
long duration = 0, long Duration = 0,
StringOffset animation_nameOffset = default(StringOffset), StringOffset AnimationNameOffset = default(StringOffset),
StringOffset localize_krOffset = default(StringOffset), StringOffset LocalizeKROffset = default(StringOffset),
StringOffset localize_jpOffset = default(StringOffset), StringOffset LocalizeJPOffset = default(StringOffset),
VectorOffset voice_idOffset = default(VectorOffset), VectorOffset VoiceIdOffset = default(VectorOffset),
bool apply_position = false, bool ApplyPosition = false,
float pos_x = 0.0f, float PosX = 0.0f,
float pos_y = 0.0f, float PosY = 0.0f,
bool collection_visible = false, bool CollectionVisible = false,
SCHALE.Common.FlatData.CVCollectionType cv_collection_type = SCHALE.Common.FlatData.CVCollectionType.CVNormal, SCHALE.Common.FlatData.CVCollectionType CVCollectionType = SCHALE.Common.FlatData.CVCollectionType.CVNormal,
long unlock_favor_rank = 0, long UnlockFavorRank = 0,
bool unlock_equip_weapon = false, bool UnlockEquipWeapon = false,
StringOffset localize_cv_groupOffset = default(StringOffset)) { StringOffset LocalizeCVGroupOffset = default(StringOffset)) {
builder.StartTable(25); builder.StartTable(25);
CharacterDialogExcel.AddUnlockFavorRank(builder, unlock_favor_rank); CharacterDialogExcel.AddUnlockFavorRank(builder, UnlockFavorRank);
CharacterDialogExcel.AddDuration(builder, duration); CharacterDialogExcel.AddDuration(builder, Duration);
CharacterDialogExcel.AddGroupId(builder, group_id); CharacterDialogExcel.AddGroupId(builder, GroupId);
CharacterDialogExcel.AddDisplayOrder(builder, display_order); CharacterDialogExcel.AddDisplayOrder(builder, DisplayOrder);
CharacterDialogExcel.AddCostumeUniqueId(builder, costume_unique_id); CharacterDialogExcel.AddCostumeUniqueId(builder, CostumeUniqueId);
CharacterDialogExcel.AddCharacterId(builder, character_id); CharacterDialogExcel.AddCharacterId(builder, CharacterId);
CharacterDialogExcel.AddLocalizeCvGroup(builder, localize_cv_groupOffset); CharacterDialogExcel.AddLocalizeCVGroup(builder, LocalizeCVGroupOffset);
CharacterDialogExcel.AddCvCollectionType(builder, cv_collection_type); CharacterDialogExcel.AddCVCollectionType(builder, CVCollectionType);
CharacterDialogExcel.AddPosY(builder, pos_y); CharacterDialogExcel.AddPosY(builder, PosY);
CharacterDialogExcel.AddPosX(builder, pos_x); CharacterDialogExcel.AddPosX(builder, PosX);
CharacterDialogExcel.AddVoiceId(builder, voice_idOffset); CharacterDialogExcel.AddVoiceId(builder, VoiceIdOffset);
CharacterDialogExcel.AddLocalizeJp(builder, localize_jpOffset); CharacterDialogExcel.AddLocalizeJP(builder, LocalizeJPOffset);
CharacterDialogExcel.AddLocalizeKr(builder, localize_krOffset); CharacterDialogExcel.AddLocalizeKR(builder, LocalizeKROffset);
CharacterDialogExcel.AddAnimationName(builder, animation_nameOffset); CharacterDialogExcel.AddAnimationName(builder, AnimationNameOffset);
CharacterDialogExcel.AddActionName(builder, action_nameOffset); CharacterDialogExcel.AddActionName(builder, ActionNameOffset);
CharacterDialogExcel.AddDialogType(builder, dialog_type); CharacterDialogExcel.AddDialogType(builder, DialogType);
CharacterDialogExcel.AddEndDate(builder, end_dateOffset); CharacterDialogExcel.AddEndDate(builder, EndDateOffset);
CharacterDialogExcel.AddStartDate(builder, start_dateOffset); CharacterDialogExcel.AddStartDate(builder, StartDateOffset);
CharacterDialogExcel.AddAnniversary(builder, anniversary); CharacterDialogExcel.AddAnniversary(builder, Anniversary);
CharacterDialogExcel.AddDialogCondition(builder, dialog_condition); CharacterDialogExcel.AddDialogCondition(builder, DialogCondition);
CharacterDialogExcel.AddDialogCategory(builder, dialog_category); CharacterDialogExcel.AddDialogCategory(builder, DialogCategory);
CharacterDialogExcel.AddProductionStep(builder, production_step); CharacterDialogExcel.AddProductionStep(builder, ProductionStep);
CharacterDialogExcel.AddUnlockEquipWeapon(builder, unlock_equip_weapon); CharacterDialogExcel.AddUnlockEquipWeapon(builder, UnlockEquipWeapon);
CharacterDialogExcel.AddCollectionVisible(builder, collection_visible); CharacterDialogExcel.AddCollectionVisible(builder, CollectionVisible);
CharacterDialogExcel.AddApplyPosition(builder, apply_position); CharacterDialogExcel.AddApplyPosition(builder, ApplyPosition);
return CharacterDialogExcel.EndCharacterDialogExcel(builder); return CharacterDialogExcel.EndCharacterDialogExcel(builder);
} }
@ -165,8 +165,8 @@ public struct CharacterDialogExcel : IFlatbufferObject
public static void AddActionName(FlatBufferBuilder builder, StringOffset actionNameOffset) { builder.AddOffset(11, actionNameOffset.Value, 0); } public static void AddActionName(FlatBufferBuilder builder, StringOffset actionNameOffset) { builder.AddOffset(11, actionNameOffset.Value, 0); }
public static void AddDuration(FlatBufferBuilder builder, long duration) { builder.AddLong(12, duration, 0); } public static void AddDuration(FlatBufferBuilder builder, long duration) { builder.AddLong(12, duration, 0); }
public static void AddAnimationName(FlatBufferBuilder builder, StringOffset animationNameOffset) { builder.AddOffset(13, animationNameOffset.Value, 0); } public static void AddAnimationName(FlatBufferBuilder builder, StringOffset animationNameOffset) { builder.AddOffset(13, animationNameOffset.Value, 0); }
public static void AddLocalizeKr(FlatBufferBuilder builder, StringOffset localizeKrOffset) { builder.AddOffset(14, localizeKrOffset.Value, 0); } public static void AddLocalizeKR(FlatBufferBuilder builder, StringOffset localizeKROffset) { builder.AddOffset(14, localizeKROffset.Value, 0); }
public static void AddLocalizeJp(FlatBufferBuilder builder, StringOffset localizeJpOffset) { builder.AddOffset(15, localizeJpOffset.Value, 0); } public static void AddLocalizeJP(FlatBufferBuilder builder, StringOffset localizeJPOffset) { builder.AddOffset(15, localizeJPOffset.Value, 0); }
public static void AddVoiceId(FlatBufferBuilder builder, VectorOffset voiceIdOffset) { builder.AddOffset(16, voiceIdOffset.Value, 0); } public static void AddVoiceId(FlatBufferBuilder builder, VectorOffset voiceIdOffset) { builder.AddOffset(16, voiceIdOffset.Value, 0); }
public static VectorOffset CreateVoiceIdVector(FlatBufferBuilder builder, uint[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddUint(data[i]); return builder.EndVector(); } public static VectorOffset CreateVoiceIdVector(FlatBufferBuilder builder, uint[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddUint(data[i]); return builder.EndVector(); }
public static VectorOffset CreateVoiceIdVectorBlock(FlatBufferBuilder builder, uint[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateVoiceIdVectorBlock(FlatBufferBuilder builder, uint[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
@ -177,10 +177,10 @@ public struct CharacterDialogExcel : IFlatbufferObject
public static void AddPosX(FlatBufferBuilder builder, float posX) { builder.AddFloat(18, posX, 0.0f); } public static void AddPosX(FlatBufferBuilder builder, float posX) { builder.AddFloat(18, posX, 0.0f); }
public static void AddPosY(FlatBufferBuilder builder, float posY) { builder.AddFloat(19, posY, 0.0f); } public static void AddPosY(FlatBufferBuilder builder, float posY) { builder.AddFloat(19, posY, 0.0f); }
public static void AddCollectionVisible(FlatBufferBuilder builder, bool collectionVisible) { builder.AddBool(20, collectionVisible, false); } public static void AddCollectionVisible(FlatBufferBuilder builder, bool collectionVisible) { builder.AddBool(20, collectionVisible, false); }
public static void AddCvCollectionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.CVCollectionType cvCollectionType) { builder.AddInt(21, (int)cvCollectionType, 0); } public static void AddCVCollectionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.CVCollectionType cVCollectionType) { builder.AddInt(21, (int)cVCollectionType, 0); }
public static void AddUnlockFavorRank(FlatBufferBuilder builder, long unlockFavorRank) { builder.AddLong(22, unlockFavorRank, 0); } public static void AddUnlockFavorRank(FlatBufferBuilder builder, long unlockFavorRank) { builder.AddLong(22, unlockFavorRank, 0); }
public static void AddUnlockEquipWeapon(FlatBufferBuilder builder, bool unlockEquipWeapon) { builder.AddBool(23, unlockEquipWeapon, false); } public static void AddUnlockEquipWeapon(FlatBufferBuilder builder, bool unlockEquipWeapon) { builder.AddBool(23, unlockEquipWeapon, false); }
public static void AddLocalizeCvGroup(FlatBufferBuilder builder, StringOffset localizeCvGroupOffset) { builder.AddOffset(24, localizeCvGroupOffset.Value, 0); } public static void AddLocalizeCVGroup(FlatBufferBuilder builder, StringOffset localizeCVGroupOffset) { builder.AddOffset(24, localizeCVGroupOffset.Value, 0); }
public static Offset<SCHALE.Common.FlatData.CharacterDialogExcel> EndCharacterDialogExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.CharacterDialogExcel> EndCharacterDialogExcel(FlatBufferBuilder builder) {
int o = builder.EndTable(); int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.CharacterDialogExcel>(o); return new Offset<SCHALE.Common.FlatData.CharacterDialogExcel>(o);
@ -206,33 +206,33 @@ public struct CharacterDialogExcel : IFlatbufferObject
_o.ActionName = TableEncryptionService.Convert(this.ActionName, key); _o.ActionName = TableEncryptionService.Convert(this.ActionName, key);
_o.Duration = TableEncryptionService.Convert(this.Duration, key); _o.Duration = TableEncryptionService.Convert(this.Duration, key);
_o.AnimationName = TableEncryptionService.Convert(this.AnimationName, key); _o.AnimationName = TableEncryptionService.Convert(this.AnimationName, key);
_o.LocalizeKr = TableEncryptionService.Convert(this.LocalizeKr, key); _o.LocalizeKR = TableEncryptionService.Convert(this.LocalizeKR, key);
_o.LocalizeJp = TableEncryptionService.Convert(this.LocalizeJp, key); _o.LocalizeJP = TableEncryptionService.Convert(this.LocalizeJP, key);
_o.VoiceId = new List<uint>(); _o.VoiceId = new List<uint>();
for (var _j = 0; _j < this.VoiceIdLength; ++_j) {_o.VoiceId.Add(TableEncryptionService.Convert(this.VoiceId(_j), key));} for (var _j = 0; _j < this.VoiceIdLength; ++_j) {_o.VoiceId.Add(TableEncryptionService.Convert(this.VoiceId(_j), key));}
_o.ApplyPosition = TableEncryptionService.Convert(this.ApplyPosition, key); _o.ApplyPosition = TableEncryptionService.Convert(this.ApplyPosition, key);
_o.PosX = TableEncryptionService.Convert(this.PosX, key); _o.PosX = TableEncryptionService.Convert(this.PosX, key);
_o.PosY = TableEncryptionService.Convert(this.PosY, key); _o.PosY = TableEncryptionService.Convert(this.PosY, key);
_o.CollectionVisible = TableEncryptionService.Convert(this.CollectionVisible, key); _o.CollectionVisible = TableEncryptionService.Convert(this.CollectionVisible, key);
_o.CvCollectionType = TableEncryptionService.Convert(this.CvCollectionType, key); _o.CVCollectionType = TableEncryptionService.Convert(this.CVCollectionType, key);
_o.UnlockFavorRank = TableEncryptionService.Convert(this.UnlockFavorRank, key); _o.UnlockFavorRank = TableEncryptionService.Convert(this.UnlockFavorRank, key);
_o.UnlockEquipWeapon = TableEncryptionService.Convert(this.UnlockEquipWeapon, key); _o.UnlockEquipWeapon = TableEncryptionService.Convert(this.UnlockEquipWeapon, key);
_o.LocalizeCvGroup = TableEncryptionService.Convert(this.LocalizeCvGroup, key); _o.LocalizeCVGroup = TableEncryptionService.Convert(this.LocalizeCVGroup, key);
} }
public static Offset<SCHALE.Common.FlatData.CharacterDialogExcel> Pack(FlatBufferBuilder builder, CharacterDialogExcelT _o) { public static Offset<SCHALE.Common.FlatData.CharacterDialogExcel> Pack(FlatBufferBuilder builder, CharacterDialogExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.CharacterDialogExcel>); if (_o == null) return default(Offset<SCHALE.Common.FlatData.CharacterDialogExcel>);
var _start_date = _o.StartDate == null ? default(StringOffset) : builder.CreateString(_o.StartDate); var _StartDate = _o.StartDate == null ? default(StringOffset) : builder.CreateString(_o.StartDate);
var _end_date = _o.EndDate == null ? default(StringOffset) : builder.CreateString(_o.EndDate); var _EndDate = _o.EndDate == null ? default(StringOffset) : builder.CreateString(_o.EndDate);
var _action_name = _o.ActionName == null ? default(StringOffset) : builder.CreateString(_o.ActionName); var _ActionName = _o.ActionName == null ? default(StringOffset) : builder.CreateString(_o.ActionName);
var _animation_name = _o.AnimationName == null ? default(StringOffset) : builder.CreateString(_o.AnimationName); var _AnimationName = _o.AnimationName == null ? default(StringOffset) : builder.CreateString(_o.AnimationName);
var _localize_kr = _o.LocalizeKr == null ? default(StringOffset) : builder.CreateString(_o.LocalizeKr); var _LocalizeKR = _o.LocalizeKR == null ? default(StringOffset) : builder.CreateString(_o.LocalizeKR);
var _localize_jp = _o.LocalizeJp == null ? default(StringOffset) : builder.CreateString(_o.LocalizeJp); var _LocalizeJP = _o.LocalizeJP == null ? default(StringOffset) : builder.CreateString(_o.LocalizeJP);
var _voice_id = default(VectorOffset); var _VoiceId = default(VectorOffset);
if (_o.VoiceId != null) { if (_o.VoiceId != null) {
var __voice_id = _o.VoiceId.ToArray(); var __VoiceId = _o.VoiceId.ToArray();
_voice_id = CreateVoiceIdVector(builder, __voice_id); _VoiceId = CreateVoiceIdVector(builder, __VoiceId);
} }
var _localize_cv_group = _o.LocalizeCvGroup == null ? default(StringOffset) : builder.CreateString(_o.LocalizeCvGroup); var _LocalizeCVGroup = _o.LocalizeCVGroup == null ? default(StringOffset) : builder.CreateString(_o.LocalizeCVGroup);
return CreateCharacterDialogExcel( return CreateCharacterDialogExcel(
builder, builder,
_o.CharacterId, _o.CharacterId,
@ -242,24 +242,24 @@ public struct CharacterDialogExcel : IFlatbufferObject
_o.DialogCategory, _o.DialogCategory,
_o.DialogCondition, _o.DialogCondition,
_o.Anniversary, _o.Anniversary,
_start_date, _StartDate,
_end_date, _EndDate,
_o.GroupId, _o.GroupId,
_o.DialogType, _o.DialogType,
_action_name, _ActionName,
_o.Duration, _o.Duration,
_animation_name, _AnimationName,
_localize_kr, _LocalizeKR,
_localize_jp, _LocalizeJP,
_voice_id, _VoiceId,
_o.ApplyPosition, _o.ApplyPosition,
_o.PosX, _o.PosX,
_o.PosY, _o.PosY,
_o.CollectionVisible, _o.CollectionVisible,
_o.CvCollectionType, _o.CVCollectionType,
_o.UnlockFavorRank, _o.UnlockFavorRank,
_o.UnlockEquipWeapon, _o.UnlockEquipWeapon,
_localize_cv_group); _LocalizeCVGroup);
} }
} }
@ -279,17 +279,17 @@ public class CharacterDialogExcelT
public string ActionName { get; set; } public string ActionName { get; set; }
public long Duration { get; set; } public long Duration { get; set; }
public string AnimationName { get; set; } public string AnimationName { get; set; }
public string LocalizeKr { get; set; } public string LocalizeKR { get; set; }
public string LocalizeJp { get; set; } public string LocalizeJP { get; set; }
public List<uint> VoiceId { get; set; } public List<uint> VoiceId { get; set; }
public bool ApplyPosition { get; set; } public bool ApplyPosition { get; set; }
public float PosX { get; set; } public float PosX { get; set; }
public float PosY { get; set; } public float PosY { get; set; }
public bool CollectionVisible { get; set; } public bool CollectionVisible { get; set; }
public SCHALE.Common.FlatData.CVCollectionType CvCollectionType { get; set; } public SCHALE.Common.FlatData.CVCollectionType CVCollectionType { get; set; }
public long UnlockFavorRank { get; set; } public long UnlockFavorRank { get; set; }
public bool UnlockEquipWeapon { get; set; } public bool UnlockEquipWeapon { get; set; }
public string LocalizeCvGroup { get; set; } public string LocalizeCVGroup { get; set; }
public CharacterDialogExcelT() { public CharacterDialogExcelT() {
this.CharacterId = 0; this.CharacterId = 0;
@ -306,17 +306,17 @@ public class CharacterDialogExcelT
this.ActionName = null; this.ActionName = null;
this.Duration = 0; this.Duration = 0;
this.AnimationName = null; this.AnimationName = null;
this.LocalizeKr = null; this.LocalizeKR = null;
this.LocalizeJp = null; this.LocalizeJP = null;
this.VoiceId = null; this.VoiceId = null;
this.ApplyPosition = false; this.ApplyPosition = false;
this.PosX = 0.0f; this.PosX = 0.0f;
this.PosY = 0.0f; this.PosY = 0.0f;
this.CollectionVisible = false; this.CollectionVisible = false;
this.CvCollectionType = SCHALE.Common.FlatData.CVCollectionType.CVNormal; this.CVCollectionType = SCHALE.Common.FlatData.CVCollectionType.CVNormal;
this.UnlockFavorRank = 0; this.UnlockFavorRank = 0;
this.UnlockEquipWeapon = false; this.UnlockEquipWeapon = false;
this.LocalizeCvGroup = null; this.LocalizeCVGroup = null;
} }
} }
@ -340,17 +340,17 @@ static public class CharacterDialogExcelVerify
&& verifier.VerifyString(tablePos, 26 /*ActionName*/, false) && verifier.VerifyString(tablePos, 26 /*ActionName*/, false)
&& verifier.VerifyField(tablePos, 28 /*Duration*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 28 /*Duration*/, 8 /*long*/, 8, false)
&& verifier.VerifyString(tablePos, 30 /*AnimationName*/, false) && verifier.VerifyString(tablePos, 30 /*AnimationName*/, false)
&& verifier.VerifyString(tablePos, 32 /*LocalizeKr*/, false) && verifier.VerifyString(tablePos, 32 /*LocalizeKR*/, false)
&& verifier.VerifyString(tablePos, 34 /*LocalizeJp*/, false) && verifier.VerifyString(tablePos, 34 /*LocalizeJP*/, false)
&& verifier.VerifyVectorOfData(tablePos, 36 /*VoiceId*/, 4 /*uint*/, false) && verifier.VerifyVectorOfData(tablePos, 36 /*VoiceId*/, 4 /*uint*/, false)
&& verifier.VerifyField(tablePos, 38 /*ApplyPosition*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 38 /*ApplyPosition*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 40 /*PosX*/, 4 /*float*/, 4, false) && verifier.VerifyField(tablePos, 40 /*PosX*/, 4 /*float*/, 4, false)
&& verifier.VerifyField(tablePos, 42 /*PosY*/, 4 /*float*/, 4, false) && verifier.VerifyField(tablePos, 42 /*PosY*/, 4 /*float*/, 4, false)
&& verifier.VerifyField(tablePos, 44 /*CollectionVisible*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 44 /*CollectionVisible*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 46 /*CvCollectionType*/, 4 /*SCHALE.Common.FlatData.CVCollectionType*/, 4, false) && verifier.VerifyField(tablePos, 46 /*CVCollectionType*/, 4 /*SCHALE.Common.FlatData.CVCollectionType*/, 4, false)
&& verifier.VerifyField(tablePos, 48 /*UnlockFavorRank*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 48 /*UnlockFavorRank*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 50 /*UnlockEquipWeapon*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 50 /*UnlockEquipWeapon*/, 1 /*bool*/, 1, false)
&& verifier.VerifyString(tablePos, 52 /*LocalizeCvGroup*/, false) && verifier.VerifyString(tablePos, 52 /*LocalizeCVGroup*/, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -24,9 +24,9 @@ public struct CharacterExcelTable : IFlatbufferObject
public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } }
public static Offset<SCHALE.Common.FlatData.CharacterExcelTable> CreateCharacterExcelTable(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.CharacterExcelTable> CreateCharacterExcelTable(FlatBufferBuilder builder,
VectorOffset data_listOffset = default(VectorOffset)) { VectorOffset DataListOffset = default(VectorOffset)) {
builder.StartTable(1); builder.StartTable(1);
CharacterExcelTable.AddDataList(builder, data_listOffset); CharacterExcelTable.AddDataList(builder, DataListOffset);
return CharacterExcelTable.EndCharacterExcelTable(builder); return CharacterExcelTable.EndCharacterExcelTable(builder);
} }
@ -53,15 +53,15 @@ public struct CharacterExcelTable : IFlatbufferObject
} }
public static Offset<SCHALE.Common.FlatData.CharacterExcelTable> Pack(FlatBufferBuilder builder, CharacterExcelTableT _o) { public static Offset<SCHALE.Common.FlatData.CharacterExcelTable> Pack(FlatBufferBuilder builder, CharacterExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.CharacterExcelTable>); if (_o == null) return default(Offset<SCHALE.Common.FlatData.CharacterExcelTable>);
var _data_list = default(VectorOffset); var _DataList = default(VectorOffset);
if (_o.DataList != null) { if (_o.DataList != null) {
var __data_list = new Offset<SCHALE.Common.FlatData.CharacterExcel>[_o.DataList.Count]; var __DataList = new Offset<SCHALE.Common.FlatData.CharacterExcel>[_o.DataList.Count];
for (var _j = 0; _j < __data_list.Length; ++_j) { __data_list[_j] = SCHALE.Common.FlatData.CharacterExcel.Pack(builder, _o.DataList[_j]); } for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.CharacterExcel.Pack(builder, _o.DataList[_j]); }
_data_list = CreateDataListVector(builder, __data_list); _DataList = CreateDataListVector(builder, __DataList);
} }
return CreateCharacterExcelTable( return CreateCharacterExcelTable(
builder, builder,
_data_list); _DataList);
} }
} }

View File

@ -22,7 +22,7 @@ public struct CharacterGearExcel : IFlatbufferObject
public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long CharacterId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long CharacterId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.StatLevelUpType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatLevelUpType.Standard; } } public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.StatLevelUpType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatLevelUpType.Standard; } }
public long Tier { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long Tier { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long NextTierEquipment { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long NextTierEquipment { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long RecipeId { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long RecipeId { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -79,7 +79,7 @@ public struct CharacterGearExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.CharacterGearExcel> CreateCharacterGearExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.CharacterGearExcel> CreateCharacterGearExcel(FlatBufferBuilder builder,
long Id = 0, long Id = 0,
long CharacterId = 0, long CharacterId = 0,
SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType_ = SCHALE.Common.FlatData.StatLevelUpType.Standard, SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType = SCHALE.Common.FlatData.StatLevelUpType.Standard,
long Tier = 0, long Tier = 0,
long NextTierEquipment = 0, long NextTierEquipment = 0,
long RecipeId = 0, long RecipeId = 0,
@ -107,14 +107,14 @@ public struct CharacterGearExcel : IFlatbufferObject
CharacterGearExcel.AddMinStatValue(builder, MinStatValueOffset); CharacterGearExcel.AddMinStatValue(builder, MinStatValueOffset);
CharacterGearExcel.AddStatType(builder, StatTypeOffset); CharacterGearExcel.AddStatType(builder, StatTypeOffset);
CharacterGearExcel.AddLearnSkillSlot(builder, LearnSkillSlotOffset); CharacterGearExcel.AddLearnSkillSlot(builder, LearnSkillSlotOffset);
CharacterGearExcel.AddStatLevelUpType_(builder, StatLevelUpType_); CharacterGearExcel.AddStatLevelUpType(builder, StatLevelUpType);
return CharacterGearExcel.EndCharacterGearExcel(builder); return CharacterGearExcel.EndCharacterGearExcel(builder);
} }
public static void StartCharacterGearExcel(FlatBufferBuilder builder) { builder.StartTable(15); } public static void StartCharacterGearExcel(FlatBufferBuilder builder) { builder.StartTable(15); }
public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); }
public static void AddCharacterId(FlatBufferBuilder builder, long characterId) { builder.AddLong(1, characterId, 0); } public static void AddCharacterId(FlatBufferBuilder builder, long characterId) { builder.AddLong(1, characterId, 0); }
public static void AddStatLevelUpType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatLevelUpType statLevelUpType_) { builder.AddInt(2, (int)statLevelUpType_, 0); } public static void AddStatLevelUpType(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatLevelUpType statLevelUpType) { builder.AddInt(2, (int)statLevelUpType, 0); }
public static void AddTier(FlatBufferBuilder builder, long tier) { builder.AddLong(3, tier, 0); } public static void AddTier(FlatBufferBuilder builder, long tier) { builder.AddLong(3, tier, 0); }
public static void AddNextTierEquipment(FlatBufferBuilder builder, long nextTierEquipment) { builder.AddLong(4, nextTierEquipment, 0); } public static void AddNextTierEquipment(FlatBufferBuilder builder, long nextTierEquipment) { builder.AddLong(4, nextTierEquipment, 0); }
public static void AddRecipeId(FlatBufferBuilder builder, long recipeId) { builder.AddLong(5, recipeId, 0); } public static void AddRecipeId(FlatBufferBuilder builder, long recipeId) { builder.AddLong(5, recipeId, 0); }
@ -160,7 +160,7 @@ public struct CharacterGearExcel : IFlatbufferObject
byte[] key = TableEncryptionService.CreateKey("CharacterGear"); byte[] key = TableEncryptionService.CreateKey("CharacterGear");
_o.Id = TableEncryptionService.Convert(this.Id, key); _o.Id = TableEncryptionService.Convert(this.Id, key);
_o.CharacterId = TableEncryptionService.Convert(this.CharacterId, key); _o.CharacterId = TableEncryptionService.Convert(this.CharacterId, key);
_o.StatLevelUpType_ = TableEncryptionService.Convert(this.StatLevelUpType_, key); _o.StatLevelUpType = TableEncryptionService.Convert(this.StatLevelUpType, key);
_o.Tier = TableEncryptionService.Convert(this.Tier, key); _o.Tier = TableEncryptionService.Convert(this.Tier, key);
_o.NextTierEquipment = TableEncryptionService.Convert(this.NextTierEquipment, key); _o.NextTierEquipment = TableEncryptionService.Convert(this.NextTierEquipment, key);
_o.RecipeId = TableEncryptionService.Convert(this.RecipeId, key); _o.RecipeId = TableEncryptionService.Convert(this.RecipeId, key);
@ -206,7 +206,7 @@ public struct CharacterGearExcel : IFlatbufferObject
builder, builder,
_o.Id, _o.Id,
_o.CharacterId, _o.CharacterId,
_o.StatLevelUpType_, _o.StatLevelUpType,
_o.Tier, _o.Tier,
_o.NextTierEquipment, _o.NextTierEquipment,
_o.RecipeId, _o.RecipeId,
@ -226,7 +226,7 @@ public class CharacterGearExcelT
{ {
public long Id { get; set; } public long Id { get; set; }
public long CharacterId { get; set; } public long CharacterId { get; set; }
public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType_ { get; set; } public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType { get; set; }
public long Tier { get; set; } public long Tier { get; set; }
public long NextTierEquipment { get; set; } public long NextTierEquipment { get; set; }
public long RecipeId { get; set; } public long RecipeId { get; set; }
@ -243,7 +243,7 @@ public class CharacterGearExcelT
public CharacterGearExcelT() { public CharacterGearExcelT() {
this.Id = 0; this.Id = 0;
this.CharacterId = 0; this.CharacterId = 0;
this.StatLevelUpType_ = SCHALE.Common.FlatData.StatLevelUpType.Standard; this.StatLevelUpType = SCHALE.Common.FlatData.StatLevelUpType.Standard;
this.Tier = 0; this.Tier = 0;
this.NextTierEquipment = 0; this.NextTierEquipment = 0;
this.RecipeId = 0; this.RecipeId = 0;
@ -267,7 +267,7 @@ static public class CharacterGearExcelVerify
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*CharacterId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*CharacterId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 8 /*StatLevelUpType_*/, 4 /*SCHALE.Common.FlatData.StatLevelUpType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*StatLevelUpType*/, 4 /*SCHALE.Common.FlatData.StatLevelUpType*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*Tier*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*Tier*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 12 /*NextTierEquipment*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*NextTierEquipment*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 14 /*RecipeId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 14 /*RecipeId*/, 8 /*long*/, 8, false)

View File

@ -1,88 +0,0 @@
// <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::SCHALE.Common.Crypto;
using global::Google.FlatBuffers;
public struct CharacterGearExcelTable : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static CharacterGearExcelTable GetRootAsCharacterGearExcelTable(ByteBuffer _bb) { return GetRootAsCharacterGearExcelTable(_bb, new CharacterGearExcelTable()); }
public static CharacterGearExcelTable GetRootAsCharacterGearExcelTable(ByteBuffer _bb, CharacterGearExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public CharacterGearExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.CharacterGearExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.CharacterGearExcel?)(new SCHALE.Common.FlatData.CharacterGearExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; }
public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } }
public static Offset<SCHALE.Common.FlatData.CharacterGearExcelTable> CreateCharacterGearExcelTable(FlatBufferBuilder builder,
VectorOffset DataListOffset = default(VectorOffset)) {
builder.StartTable(1);
CharacterGearExcelTable.AddDataList(builder, DataListOffset);
return CharacterGearExcelTable.EndCharacterGearExcelTable(builder);
}
public static void StartCharacterGearExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); }
public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); }
public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.CharacterGearExcel>[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.CharacterGearExcel>[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<SCHALE.Common.FlatData.CharacterGearExcel>> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<Offset<SCHALE.Common.FlatData.CharacterGearExcel>>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.CharacterGearExcelTable> EndCharacterGearExcelTable(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.CharacterGearExcelTable>(o);
}
public CharacterGearExcelTableT UnPack() {
var _o = new CharacterGearExcelTableT();
this.UnPackTo(_o);
return _o;
}
public void UnPackTo(CharacterGearExcelTableT _o) {
byte[] key = TableEncryptionService.CreateKey("CharacterGearExcel");
_o.DataList = new List<SCHALE.Common.FlatData.CharacterGearExcelT>();
for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);}
}
public static Offset<SCHALE.Common.FlatData.CharacterGearExcelTable> Pack(FlatBufferBuilder builder, CharacterGearExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.CharacterGearExcelTable>);
var _DataList = default(VectorOffset);
if (_o.DataList != null) {
var __DataList = new Offset<SCHALE.Common.FlatData.CharacterGearExcel>[_o.DataList.Count];
for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.CharacterGearExcel.Pack(builder, _o.DataList[_j]); }
_DataList = CreateDataListVector(builder, __DataList);
}
return CreateCharacterGearExcelTable(
builder,
_DataList);
}
}
public class CharacterGearExcelTableT
{
public List<SCHALE.Common.FlatData.CharacterGearExcelT> DataList { get; set; }
public CharacterGearExcelTableT() {
this.DataList = null;
}
}
static public class CharacterGearExcelTableVerify
{
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{
return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.CharacterGearExcelVerify.Verify, false)
&& verifier.VerifyTableEnd(tablePos);
}
}
}

View File

@ -1,88 +0,0 @@
// <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::SCHALE.Common.Crypto;
using global::Google.FlatBuffers;
public struct CharacterGearLevelExcelTable : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static CharacterGearLevelExcelTable GetRootAsCharacterGearLevelExcelTable(ByteBuffer _bb) { return GetRootAsCharacterGearLevelExcelTable(_bb, new CharacterGearLevelExcelTable()); }
public static CharacterGearLevelExcelTable GetRootAsCharacterGearLevelExcelTable(ByteBuffer _bb, CharacterGearLevelExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public CharacterGearLevelExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.CharacterGearLevelExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.CharacterGearLevelExcel?)(new SCHALE.Common.FlatData.CharacterGearLevelExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; }
public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } }
public static Offset<SCHALE.Common.FlatData.CharacterGearLevelExcelTable> CreateCharacterGearLevelExcelTable(FlatBufferBuilder builder,
VectorOffset DataListOffset = default(VectorOffset)) {
builder.StartTable(1);
CharacterGearLevelExcelTable.AddDataList(builder, DataListOffset);
return CharacterGearLevelExcelTable.EndCharacterGearLevelExcelTable(builder);
}
public static void StartCharacterGearLevelExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); }
public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); }
public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.CharacterGearLevelExcel>[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.CharacterGearLevelExcel>[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<SCHALE.Common.FlatData.CharacterGearLevelExcel>> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<Offset<SCHALE.Common.FlatData.CharacterGearLevelExcel>>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.CharacterGearLevelExcelTable> EndCharacterGearLevelExcelTable(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.CharacterGearLevelExcelTable>(o);
}
public CharacterGearLevelExcelTableT UnPack() {
var _o = new CharacterGearLevelExcelTableT();
this.UnPackTo(_o);
return _o;
}
public void UnPackTo(CharacterGearLevelExcelTableT _o) {
byte[] key = TableEncryptionService.CreateKey("CharacterGearLevelExcel");
_o.DataList = new List<SCHALE.Common.FlatData.CharacterGearLevelExcelT>();
for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);}
}
public static Offset<SCHALE.Common.FlatData.CharacterGearLevelExcelTable> Pack(FlatBufferBuilder builder, CharacterGearLevelExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.CharacterGearLevelExcelTable>);
var _DataList = default(VectorOffset);
if (_o.DataList != null) {
var __DataList = new Offset<SCHALE.Common.FlatData.CharacterGearLevelExcel>[_o.DataList.Count];
for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.CharacterGearLevelExcel.Pack(builder, _o.DataList[_j]); }
_DataList = CreateDataListVector(builder, __DataList);
}
return CreateCharacterGearLevelExcelTable(
builder,
_DataList);
}
}
public class CharacterGearLevelExcelTableT
{
public List<SCHALE.Common.FlatData.CharacterGearLevelExcelT> DataList { get; set; }
public CharacterGearLevelExcelTableT() {
this.DataList = null;
}
}
static public class CharacterGearLevelExcelTableVerify
{
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{
return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.CharacterGearLevelExcelVerify.Verify, false)
&& verifier.VerifyTableEnd(tablePos);
}
}
}

View File

@ -22,18 +22,18 @@ public struct CharacterPotentialExcel : IFlatbufferObject
public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long PotentialStatGroupId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long PotentialStatGroupId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.PotentialStatBonusRateType PotentialStatBonusRateType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.PotentialStatBonusRateType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.PotentialStatBonusRateType.None; } } public SCHALE.Common.FlatData.PotentialStatBonusRateType PotentialStatBonusRateType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.PotentialStatBonusRateType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.PotentialStatBonusRateType.None; } }
public bool IsUnnecessaryStat { get { int o = __p.__offset(10); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool IsUnnecessaryStat { get { int o = __p.__offset(10); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public static Offset<SCHALE.Common.FlatData.CharacterPotentialExcel> CreateCharacterPotentialExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.CharacterPotentialExcel> CreateCharacterPotentialExcel(FlatBufferBuilder builder,
long Id = 0, long Id = 0,
long PotentialStatGroupId = 0, long PotentialStatGroupId = 0,
SCHALE.Common.FlatData.PotentialStatBonusRateType PotentialStatBonusRateType_ = SCHALE.Common.FlatData.PotentialStatBonusRateType.None, SCHALE.Common.FlatData.PotentialStatBonusRateType PotentialStatBonusRateType = SCHALE.Common.FlatData.PotentialStatBonusRateType.None,
bool IsUnnecessaryStat = false) { bool IsUnnecessaryStat = false) {
builder.StartTable(4); builder.StartTable(4);
CharacterPotentialExcel.AddPotentialStatGroupId(builder, PotentialStatGroupId); CharacterPotentialExcel.AddPotentialStatGroupId(builder, PotentialStatGroupId);
CharacterPotentialExcel.AddId(builder, Id); CharacterPotentialExcel.AddId(builder, Id);
CharacterPotentialExcel.AddPotentialStatBonusRateType_(builder, PotentialStatBonusRateType_); CharacterPotentialExcel.AddPotentialStatBonusRateType(builder, PotentialStatBonusRateType);
CharacterPotentialExcel.AddIsUnnecessaryStat(builder, IsUnnecessaryStat); CharacterPotentialExcel.AddIsUnnecessaryStat(builder, IsUnnecessaryStat);
return CharacterPotentialExcel.EndCharacterPotentialExcel(builder); return CharacterPotentialExcel.EndCharacterPotentialExcel(builder);
} }
@ -41,7 +41,7 @@ public struct CharacterPotentialExcel : IFlatbufferObject
public static void StartCharacterPotentialExcel(FlatBufferBuilder builder) { builder.StartTable(4); } public static void StartCharacterPotentialExcel(FlatBufferBuilder builder) { builder.StartTable(4); }
public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); }
public static void AddPotentialStatGroupId(FlatBufferBuilder builder, long potentialStatGroupId) { builder.AddLong(1, potentialStatGroupId, 0); } public static void AddPotentialStatGroupId(FlatBufferBuilder builder, long potentialStatGroupId) { builder.AddLong(1, potentialStatGroupId, 0); }
public static void AddPotentialStatBonusRateType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.PotentialStatBonusRateType potentialStatBonusRateType_) { builder.AddInt(2, (int)potentialStatBonusRateType_, 0); } public static void AddPotentialStatBonusRateType(FlatBufferBuilder builder, SCHALE.Common.FlatData.PotentialStatBonusRateType potentialStatBonusRateType) { builder.AddInt(2, (int)potentialStatBonusRateType, 0); }
public static void AddIsUnnecessaryStat(FlatBufferBuilder builder, bool isUnnecessaryStat) { builder.AddBool(3, isUnnecessaryStat, false); } public static void AddIsUnnecessaryStat(FlatBufferBuilder builder, bool isUnnecessaryStat) { builder.AddBool(3, isUnnecessaryStat, false); }
public static Offset<SCHALE.Common.FlatData.CharacterPotentialExcel> EndCharacterPotentialExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.CharacterPotentialExcel> EndCharacterPotentialExcel(FlatBufferBuilder builder) {
int o = builder.EndTable(); int o = builder.EndTable();
@ -56,7 +56,7 @@ public struct CharacterPotentialExcel : IFlatbufferObject
byte[] key = TableEncryptionService.CreateKey("CharacterPotential"); byte[] key = TableEncryptionService.CreateKey("CharacterPotential");
_o.Id = TableEncryptionService.Convert(this.Id, key); _o.Id = TableEncryptionService.Convert(this.Id, key);
_o.PotentialStatGroupId = TableEncryptionService.Convert(this.PotentialStatGroupId, key); _o.PotentialStatGroupId = TableEncryptionService.Convert(this.PotentialStatGroupId, key);
_o.PotentialStatBonusRateType_ = TableEncryptionService.Convert(this.PotentialStatBonusRateType_, key); _o.PotentialStatBonusRateType = TableEncryptionService.Convert(this.PotentialStatBonusRateType, key);
_o.IsUnnecessaryStat = TableEncryptionService.Convert(this.IsUnnecessaryStat, key); _o.IsUnnecessaryStat = TableEncryptionService.Convert(this.IsUnnecessaryStat, key);
} }
public static Offset<SCHALE.Common.FlatData.CharacterPotentialExcel> Pack(FlatBufferBuilder builder, CharacterPotentialExcelT _o) { public static Offset<SCHALE.Common.FlatData.CharacterPotentialExcel> Pack(FlatBufferBuilder builder, CharacterPotentialExcelT _o) {
@ -65,7 +65,7 @@ public struct CharacterPotentialExcel : IFlatbufferObject
builder, builder,
_o.Id, _o.Id,
_o.PotentialStatGroupId, _o.PotentialStatGroupId,
_o.PotentialStatBonusRateType_, _o.PotentialStatBonusRateType,
_o.IsUnnecessaryStat); _o.IsUnnecessaryStat);
} }
} }
@ -74,13 +74,13 @@ public class CharacterPotentialExcelT
{ {
public long Id { get; set; } public long Id { get; set; }
public long PotentialStatGroupId { get; set; } public long PotentialStatGroupId { get; set; }
public SCHALE.Common.FlatData.PotentialStatBonusRateType PotentialStatBonusRateType_ { get; set; } public SCHALE.Common.FlatData.PotentialStatBonusRateType PotentialStatBonusRateType { get; set; }
public bool IsUnnecessaryStat { get; set; } public bool IsUnnecessaryStat { get; set; }
public CharacterPotentialExcelT() { public CharacterPotentialExcelT() {
this.Id = 0; this.Id = 0;
this.PotentialStatGroupId = 0; this.PotentialStatGroupId = 0;
this.PotentialStatBonusRateType_ = SCHALE.Common.FlatData.PotentialStatBonusRateType.None; this.PotentialStatBonusRateType = SCHALE.Common.FlatData.PotentialStatBonusRateType.None;
this.IsUnnecessaryStat = false; this.IsUnnecessaryStat = false;
} }
} }
@ -93,7 +93,7 @@ static public class CharacterPotentialExcelVerify
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*PotentialStatGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*PotentialStatGroupId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 8 /*PotentialStatBonusRateType_*/, 4 /*SCHALE.Common.FlatData.PotentialStatBonusRateType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*PotentialStatBonusRateType*/, 4 /*SCHALE.Common.FlatData.PotentialStatBonusRateType*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*IsUnnecessaryStat*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 10 /*IsUnnecessaryStat*/, 1 /*bool*/, 1, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);
} }

View File

@ -21,8 +21,8 @@ public struct CharacterStatLimitExcel : IFlatbufferObject
public CharacterStatLimitExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public CharacterStatLimitExcel __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 Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.TacticEntityType TacticEntityType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.TacticEntityType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEntityType.None; } } public SCHALE.Common.FlatData.TacticEntityType TacticEntityType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.TacticEntityType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEntityType.None; } }
public SCHALE.Common.FlatData.StatType StatType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.StatType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatType.None; } } public SCHALE.Common.FlatData.StatType StatType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.StatType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatType.None; } }
public long StatMinValue { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long StatMinValue { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long StatMaxValue { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long StatMaxValue { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long StatRatioMinValue { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long StatRatioMinValue { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -30,8 +30,8 @@ public struct CharacterStatLimitExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.CharacterStatLimitExcel> CreateCharacterStatLimitExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.CharacterStatLimitExcel> CreateCharacterStatLimitExcel(FlatBufferBuilder builder,
long Id = 0, long Id = 0,
SCHALE.Common.FlatData.TacticEntityType TacticEntityType_ = SCHALE.Common.FlatData.TacticEntityType.None, SCHALE.Common.FlatData.TacticEntityType TacticEntityType = SCHALE.Common.FlatData.TacticEntityType.None,
SCHALE.Common.FlatData.StatType StatType_ = SCHALE.Common.FlatData.StatType.None, SCHALE.Common.FlatData.StatType StatType = SCHALE.Common.FlatData.StatType.None,
long StatMinValue = 0, long StatMinValue = 0,
long StatMaxValue = 0, long StatMaxValue = 0,
long StatRatioMinValue = 0, long StatRatioMinValue = 0,
@ -42,15 +42,15 @@ public struct CharacterStatLimitExcel : IFlatbufferObject
CharacterStatLimitExcel.AddStatMaxValue(builder, StatMaxValue); CharacterStatLimitExcel.AddStatMaxValue(builder, StatMaxValue);
CharacterStatLimitExcel.AddStatMinValue(builder, StatMinValue); CharacterStatLimitExcel.AddStatMinValue(builder, StatMinValue);
CharacterStatLimitExcel.AddId(builder, Id); CharacterStatLimitExcel.AddId(builder, Id);
CharacterStatLimitExcel.AddStatType_(builder, StatType_); CharacterStatLimitExcel.AddStatType(builder, StatType);
CharacterStatLimitExcel.AddTacticEntityType_(builder, TacticEntityType_); CharacterStatLimitExcel.AddTacticEntityType(builder, TacticEntityType);
return CharacterStatLimitExcel.EndCharacterStatLimitExcel(builder); return CharacterStatLimitExcel.EndCharacterStatLimitExcel(builder);
} }
public static void StartCharacterStatLimitExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void StartCharacterStatLimitExcel(FlatBufferBuilder builder) { builder.StartTable(7); }
public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); }
public static void AddTacticEntityType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEntityType tacticEntityType_) { builder.AddInt(1, (int)tacticEntityType_, 0); } public static void AddTacticEntityType(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEntityType tacticEntityType) { builder.AddInt(1, (int)tacticEntityType, 0); }
public static void AddStatType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatType statType_) { builder.AddInt(2, (int)statType_, 0); } public static void AddStatType(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatType statType) { builder.AddInt(2, (int)statType, 0); }
public static void AddStatMinValue(FlatBufferBuilder builder, long statMinValue) { builder.AddLong(3, statMinValue, 0); } public static void AddStatMinValue(FlatBufferBuilder builder, long statMinValue) { builder.AddLong(3, statMinValue, 0); }
public static void AddStatMaxValue(FlatBufferBuilder builder, long statMaxValue) { builder.AddLong(4, statMaxValue, 0); } public static void AddStatMaxValue(FlatBufferBuilder builder, long statMaxValue) { builder.AddLong(4, statMaxValue, 0); }
public static void AddStatRatioMinValue(FlatBufferBuilder builder, long statRatioMinValue) { builder.AddLong(5, statRatioMinValue, 0); } public static void AddStatRatioMinValue(FlatBufferBuilder builder, long statRatioMinValue) { builder.AddLong(5, statRatioMinValue, 0); }
@ -67,8 +67,8 @@ public struct CharacterStatLimitExcel : IFlatbufferObject
public void UnPackTo(CharacterStatLimitExcelT _o) { public void UnPackTo(CharacterStatLimitExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("CharacterStatLimit"); byte[] key = TableEncryptionService.CreateKey("CharacterStatLimit");
_o.Id = TableEncryptionService.Convert(this.Id, key); _o.Id = TableEncryptionService.Convert(this.Id, key);
_o.TacticEntityType_ = TableEncryptionService.Convert(this.TacticEntityType_, key); _o.TacticEntityType = TableEncryptionService.Convert(this.TacticEntityType, key);
_o.StatType_ = TableEncryptionService.Convert(this.StatType_, key); _o.StatType = TableEncryptionService.Convert(this.StatType, key);
_o.StatMinValue = TableEncryptionService.Convert(this.StatMinValue, key); _o.StatMinValue = TableEncryptionService.Convert(this.StatMinValue, key);
_o.StatMaxValue = TableEncryptionService.Convert(this.StatMaxValue, key); _o.StatMaxValue = TableEncryptionService.Convert(this.StatMaxValue, key);
_o.StatRatioMinValue = TableEncryptionService.Convert(this.StatRatioMinValue, key); _o.StatRatioMinValue = TableEncryptionService.Convert(this.StatRatioMinValue, key);
@ -79,8 +79,8 @@ public struct CharacterStatLimitExcel : IFlatbufferObject
return CreateCharacterStatLimitExcel( return CreateCharacterStatLimitExcel(
builder, builder,
_o.Id, _o.Id,
_o.TacticEntityType_, _o.TacticEntityType,
_o.StatType_, _o.StatType,
_o.StatMinValue, _o.StatMinValue,
_o.StatMaxValue, _o.StatMaxValue,
_o.StatRatioMinValue, _o.StatRatioMinValue,
@ -91,8 +91,8 @@ public struct CharacterStatLimitExcel : IFlatbufferObject
public class CharacterStatLimitExcelT public class CharacterStatLimitExcelT
{ {
public long Id { get; set; } public long Id { get; set; }
public SCHALE.Common.FlatData.TacticEntityType TacticEntityType_ { get; set; } public SCHALE.Common.FlatData.TacticEntityType TacticEntityType { get; set; }
public SCHALE.Common.FlatData.StatType StatType_ { get; set; } public SCHALE.Common.FlatData.StatType StatType { get; set; }
public long StatMinValue { get; set; } public long StatMinValue { get; set; }
public long StatMaxValue { get; set; } public long StatMaxValue { get; set; }
public long StatRatioMinValue { get; set; } public long StatRatioMinValue { get; set; }
@ -100,8 +100,8 @@ public class CharacterStatLimitExcelT
public CharacterStatLimitExcelT() { public CharacterStatLimitExcelT() {
this.Id = 0; this.Id = 0;
this.TacticEntityType_ = SCHALE.Common.FlatData.TacticEntityType.None; this.TacticEntityType = SCHALE.Common.FlatData.TacticEntityType.None;
this.StatType_ = SCHALE.Common.FlatData.StatType.None; this.StatType = SCHALE.Common.FlatData.StatType.None;
this.StatMinValue = 0; this.StatMinValue = 0;
this.StatMaxValue = 0; this.StatMaxValue = 0;
this.StatRatioMinValue = 0; this.StatRatioMinValue = 0;
@ -116,8 +116,8 @@ static public class CharacterStatLimitExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*TacticEntityType_*/, 4 /*SCHALE.Common.FlatData.TacticEntityType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*TacticEntityType*/, 4 /*SCHALE.Common.FlatData.TacticEntityType*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*StatType_*/, 4 /*SCHALE.Common.FlatData.StatType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*StatType*/, 4 /*SCHALE.Common.FlatData.StatType*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*StatMinValue*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*StatMinValue*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 12 /*StatMaxValue*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*StatMaxValue*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 14 /*StatRatioMinValue*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 14 /*StatRatioMinValue*/, 8 /*long*/, 8, false)

View File

@ -21,28 +21,28 @@ public struct CharacterStatsTransExcel : IFlatbufferObject
public CharacterStatsTransExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public CharacterStatsTransExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.StatType TransSupportStats { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.StatType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatType.None; } } public SCHALE.Common.FlatData.StatType TransSupportStats { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.StatType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatType.None; } }
public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } }
public int TransSupportStatsFactor { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int TransSupportStatsFactor { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public SCHALE.Common.FlatData.StatTransType StatTransType_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.StatTransType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatTransType.SpecialTransStat; } } public SCHALE.Common.FlatData.StatTransType StatTransType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.StatTransType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatTransType.SpecialTransStat; } }
public static Offset<SCHALE.Common.FlatData.CharacterStatsTransExcel> CreateCharacterStatsTransExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.CharacterStatsTransExcel> CreateCharacterStatsTransExcel(FlatBufferBuilder builder,
SCHALE.Common.FlatData.StatType TransSupportStats = SCHALE.Common.FlatData.StatType.None, SCHALE.Common.FlatData.StatType TransSupportStats = SCHALE.Common.FlatData.StatType.None,
SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base, SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base,
int TransSupportStatsFactor = 0, int TransSupportStatsFactor = 0,
SCHALE.Common.FlatData.StatTransType StatTransType_ = SCHALE.Common.FlatData.StatTransType.SpecialTransStat) { SCHALE.Common.FlatData.StatTransType StatTransType = SCHALE.Common.FlatData.StatTransType.SpecialTransStat) {
builder.StartTable(4); builder.StartTable(4);
CharacterStatsTransExcel.AddStatTransType_(builder, StatTransType_); CharacterStatsTransExcel.AddStatTransType(builder, StatTransType);
CharacterStatsTransExcel.AddTransSupportStatsFactor(builder, TransSupportStatsFactor); CharacterStatsTransExcel.AddTransSupportStatsFactor(builder, TransSupportStatsFactor);
CharacterStatsTransExcel.AddEchelonExtensionType_(builder, EchelonExtensionType_); CharacterStatsTransExcel.AddEchelonExtensionType(builder, EchelonExtensionType);
CharacterStatsTransExcel.AddTransSupportStats(builder, TransSupportStats); CharacterStatsTransExcel.AddTransSupportStats(builder, TransSupportStats);
return CharacterStatsTransExcel.EndCharacterStatsTransExcel(builder); return CharacterStatsTransExcel.EndCharacterStatsTransExcel(builder);
} }
public static void StartCharacterStatsTransExcel(FlatBufferBuilder builder) { builder.StartTable(4); } public static void StartCharacterStatsTransExcel(FlatBufferBuilder builder) { builder.StartTable(4); }
public static void AddTransSupportStats(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatType transSupportStats) { builder.AddInt(0, (int)transSupportStats, 0); } public static void AddTransSupportStats(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatType transSupportStats) { builder.AddInt(0, (int)transSupportStats, 0); }
public static void AddEchelonExtensionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType_) { builder.AddInt(1, (int)echelonExtensionType_, 0); } public static void AddEchelonExtensionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType) { builder.AddInt(1, (int)echelonExtensionType, 0); }
public static void AddTransSupportStatsFactor(FlatBufferBuilder builder, int transSupportStatsFactor) { builder.AddInt(2, transSupportStatsFactor, 0); } public static void AddTransSupportStatsFactor(FlatBufferBuilder builder, int transSupportStatsFactor) { builder.AddInt(2, transSupportStatsFactor, 0); }
public static void AddStatTransType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatTransType statTransType_) { builder.AddInt(3, (int)statTransType_, 0); } public static void AddStatTransType(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatTransType statTransType) { builder.AddInt(3, (int)statTransType, 0); }
public static Offset<SCHALE.Common.FlatData.CharacterStatsTransExcel> EndCharacterStatsTransExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.CharacterStatsTransExcel> EndCharacterStatsTransExcel(FlatBufferBuilder builder) {
int o = builder.EndTable(); int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.CharacterStatsTransExcel>(o); return new Offset<SCHALE.Common.FlatData.CharacterStatsTransExcel>(o);
@ -55,33 +55,33 @@ public struct CharacterStatsTransExcel : IFlatbufferObject
public void UnPackTo(CharacterStatsTransExcelT _o) { public void UnPackTo(CharacterStatsTransExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("CharacterStatsTrans"); byte[] key = TableEncryptionService.CreateKey("CharacterStatsTrans");
_o.TransSupportStats = TableEncryptionService.Convert(this.TransSupportStats, key); _o.TransSupportStats = TableEncryptionService.Convert(this.TransSupportStats, key);
_o.EchelonExtensionType_ = TableEncryptionService.Convert(this.EchelonExtensionType_, key); _o.EchelonExtensionType = TableEncryptionService.Convert(this.EchelonExtensionType, key);
_o.TransSupportStatsFactor = TableEncryptionService.Convert(this.TransSupportStatsFactor, key); _o.TransSupportStatsFactor = TableEncryptionService.Convert(this.TransSupportStatsFactor, key);
_o.StatTransType_ = TableEncryptionService.Convert(this.StatTransType_, key); _o.StatTransType = TableEncryptionService.Convert(this.StatTransType, key);
} }
public static Offset<SCHALE.Common.FlatData.CharacterStatsTransExcel> Pack(FlatBufferBuilder builder, CharacterStatsTransExcelT _o) { public static Offset<SCHALE.Common.FlatData.CharacterStatsTransExcel> Pack(FlatBufferBuilder builder, CharacterStatsTransExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.CharacterStatsTransExcel>); if (_o == null) return default(Offset<SCHALE.Common.FlatData.CharacterStatsTransExcel>);
return CreateCharacterStatsTransExcel( return CreateCharacterStatsTransExcel(
builder, builder,
_o.TransSupportStats, _o.TransSupportStats,
_o.EchelonExtensionType_, _o.EchelonExtensionType,
_o.TransSupportStatsFactor, _o.TransSupportStatsFactor,
_o.StatTransType_); _o.StatTransType);
} }
} }
public class CharacterStatsTransExcelT public class CharacterStatsTransExcelT
{ {
public SCHALE.Common.FlatData.StatType TransSupportStats { get; set; } public SCHALE.Common.FlatData.StatType TransSupportStats { get; set; }
public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get; set; } public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get; set; }
public int TransSupportStatsFactor { get; set; } public int TransSupportStatsFactor { get; set; }
public SCHALE.Common.FlatData.StatTransType StatTransType_ { get; set; } public SCHALE.Common.FlatData.StatTransType StatTransType { get; set; }
public CharacterStatsTransExcelT() { public CharacterStatsTransExcelT() {
this.TransSupportStats = SCHALE.Common.FlatData.StatType.None; this.TransSupportStats = SCHALE.Common.FlatData.StatType.None;
this.EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base; this.EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base;
this.TransSupportStatsFactor = 0; this.TransSupportStatsFactor = 0;
this.StatTransType_ = SCHALE.Common.FlatData.StatTransType.SpecialTransStat; this.StatTransType = SCHALE.Common.FlatData.StatTransType.SpecialTransStat;
} }
} }
@ -92,9 +92,9 @@ static public class CharacterStatsTransExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*TransSupportStats*/, 4 /*SCHALE.Common.FlatData.StatType*/, 4, false) && verifier.VerifyField(tablePos, 4 /*TransSupportStats*/, 4 /*SCHALE.Common.FlatData.StatType*/, 4, false)
&& verifier.VerifyField(tablePos, 6 /*EchelonExtensionType_*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*EchelonExtensionType*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*TransSupportStatsFactor*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 8 /*TransSupportStatsFactor*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*StatTransType_*/, 4 /*SCHALE.Common.FlatData.StatTransType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*StatTransType*/, 4 /*SCHALE.Common.FlatData.StatTransType*/, 4, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);
} }
} }

View File

@ -27,7 +27,7 @@ public struct CharacterVoiceExcel : IFlatbufferObject
public int Priority { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int Priority { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public long DisplayOrder { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long DisplayOrder { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public bool CollectionVisible { get { int o = __p.__offset(16); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool CollectionVisible { get { int o = __p.__offset(16); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public SCHALE.Common.FlatData.CVCollectionType CVCollectionType_ { get { int o = __p.__offset(18); return o != 0 ? (SCHALE.Common.FlatData.CVCollectionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CVCollectionType.CVNormal; } } public SCHALE.Common.FlatData.CVCollectionType CVCollectionType { get { int o = __p.__offset(18); return o != 0 ? (SCHALE.Common.FlatData.CVCollectionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CVCollectionType.CVNormal; } }
public long UnlockFavorRank { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long UnlockFavorRank { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public string LocalizeCVGroup { get { int o = __p.__offset(22); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string LocalizeCVGroup { get { int o = __p.__offset(22); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
@ -71,7 +71,7 @@ public struct CharacterVoiceExcel : IFlatbufferObject
int Priority = 0, int Priority = 0,
long DisplayOrder = 0, long DisplayOrder = 0,
bool CollectionVisible = false, bool CollectionVisible = false,
SCHALE.Common.FlatData.CVCollectionType CVCollectionType_ = SCHALE.Common.FlatData.CVCollectionType.CVNormal, SCHALE.Common.FlatData.CVCollectionType CVCollectionType = SCHALE.Common.FlatData.CVCollectionType.CVNormal,
long UnlockFavorRank = 0, long UnlockFavorRank = 0,
StringOffset LocalizeCVGroupOffset = default(StringOffset), StringOffset LocalizeCVGroupOffset = default(StringOffset),
VectorOffset Nation_Offset = default(VectorOffset), VectorOffset Nation_Offset = default(VectorOffset),
@ -88,7 +88,7 @@ public struct CharacterVoiceExcel : IFlatbufferObject
CharacterVoiceExcel.AddVolume(builder, VolumeOffset); CharacterVoiceExcel.AddVolume(builder, VolumeOffset);
CharacterVoiceExcel.AddNation_(builder, Nation_Offset); CharacterVoiceExcel.AddNation_(builder, Nation_Offset);
CharacterVoiceExcel.AddLocalizeCVGroup(builder, LocalizeCVGroupOffset); CharacterVoiceExcel.AddLocalizeCVGroup(builder, LocalizeCVGroupOffset);
CharacterVoiceExcel.AddCVCollectionType_(builder, CVCollectionType_); CharacterVoiceExcel.AddCVCollectionType(builder, CVCollectionType);
CharacterVoiceExcel.AddPriority(builder, Priority); CharacterVoiceExcel.AddPriority(builder, Priority);
CharacterVoiceExcel.AddVoiceHash(builder, VoiceHash); CharacterVoiceExcel.AddVoiceHash(builder, VoiceHash);
CharacterVoiceExcel.AddCollectionVisible(builder, CollectionVisible); CharacterVoiceExcel.AddCollectionVisible(builder, CollectionVisible);
@ -104,7 +104,7 @@ public struct CharacterVoiceExcel : IFlatbufferObject
public static void AddPriority(FlatBufferBuilder builder, int priority) { builder.AddInt(4, priority, 0); } public static void AddPriority(FlatBufferBuilder builder, int priority) { builder.AddInt(4, priority, 0); }
public static void AddDisplayOrder(FlatBufferBuilder builder, long displayOrder) { builder.AddLong(5, displayOrder, 0); } public static void AddDisplayOrder(FlatBufferBuilder builder, long displayOrder) { builder.AddLong(5, displayOrder, 0); }
public static void AddCollectionVisible(FlatBufferBuilder builder, bool collectionVisible) { builder.AddBool(6, collectionVisible, false); } public static void AddCollectionVisible(FlatBufferBuilder builder, bool collectionVisible) { builder.AddBool(6, collectionVisible, false); }
public static void AddCVCollectionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.CVCollectionType cVCollectionType_) { builder.AddInt(7, (int)cVCollectionType_, 0); } public static void AddCVCollectionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.CVCollectionType cVCollectionType) { builder.AddInt(7, (int)cVCollectionType, 0); }
public static void AddUnlockFavorRank(FlatBufferBuilder builder, long unlockFavorRank) { builder.AddLong(8, unlockFavorRank, 0); } public static void AddUnlockFavorRank(FlatBufferBuilder builder, long unlockFavorRank) { builder.AddLong(8, unlockFavorRank, 0); }
public static void AddLocalizeCVGroup(FlatBufferBuilder builder, StringOffset localizeCVGroupOffset) { builder.AddOffset(9, localizeCVGroupOffset.Value, 0); } public static void AddLocalizeCVGroup(FlatBufferBuilder builder, StringOffset localizeCVGroupOffset) { builder.AddOffset(9, localizeCVGroupOffset.Value, 0); }
public static void AddNation_(FlatBufferBuilder builder, VectorOffset nation_Offset) { builder.AddOffset(10, nation_Offset.Value, 0); } public static void AddNation_(FlatBufferBuilder builder, VectorOffset nation_Offset) { builder.AddOffset(10, nation_Offset.Value, 0); }
@ -149,7 +149,7 @@ public struct CharacterVoiceExcel : IFlatbufferObject
_o.Priority = TableEncryptionService.Convert(this.Priority, key); _o.Priority = TableEncryptionService.Convert(this.Priority, key);
_o.DisplayOrder = TableEncryptionService.Convert(this.DisplayOrder, key); _o.DisplayOrder = TableEncryptionService.Convert(this.DisplayOrder, key);
_o.CollectionVisible = TableEncryptionService.Convert(this.CollectionVisible, key); _o.CollectionVisible = TableEncryptionService.Convert(this.CollectionVisible, key);
_o.CVCollectionType_ = TableEncryptionService.Convert(this.CVCollectionType_, key); _o.CVCollectionType = TableEncryptionService.Convert(this.CVCollectionType, key);
_o.UnlockFavorRank = TableEncryptionService.Convert(this.UnlockFavorRank, key); _o.UnlockFavorRank = TableEncryptionService.Convert(this.UnlockFavorRank, key);
_o.LocalizeCVGroup = TableEncryptionService.Convert(this.LocalizeCVGroup, key); _o.LocalizeCVGroup = TableEncryptionService.Convert(this.LocalizeCVGroup, key);
_o.Nation_ = new List<SCHALE.Common.FlatData.Nation>(); _o.Nation_ = new List<SCHALE.Common.FlatData.Nation>();
@ -194,7 +194,7 @@ public struct CharacterVoiceExcel : IFlatbufferObject
_o.Priority, _o.Priority,
_o.DisplayOrder, _o.DisplayOrder,
_o.CollectionVisible, _o.CollectionVisible,
_o.CVCollectionType_, _o.CVCollectionType,
_o.UnlockFavorRank, _o.UnlockFavorRank,
_LocalizeCVGroup, _LocalizeCVGroup,
_Nation_, _Nation_,
@ -213,7 +213,7 @@ public class CharacterVoiceExcelT
public int Priority { get; set; } public int Priority { get; set; }
public long DisplayOrder { get; set; } public long DisplayOrder { get; set; }
public bool CollectionVisible { get; set; } public bool CollectionVisible { get; set; }
public SCHALE.Common.FlatData.CVCollectionType CVCollectionType_ { get; set; } public SCHALE.Common.FlatData.CVCollectionType CVCollectionType { get; set; }
public long UnlockFavorRank { get; set; } public long UnlockFavorRank { get; set; }
public string LocalizeCVGroup { get; set; } public string LocalizeCVGroup { get; set; }
public List<SCHALE.Common.FlatData.Nation> Nation_ { get; set; } public List<SCHALE.Common.FlatData.Nation> Nation_ { get; set; }
@ -229,7 +229,7 @@ public class CharacterVoiceExcelT
this.Priority = 0; this.Priority = 0;
this.DisplayOrder = 0; this.DisplayOrder = 0;
this.CollectionVisible = false; this.CollectionVisible = false;
this.CVCollectionType_ = SCHALE.Common.FlatData.CVCollectionType.CVNormal; this.CVCollectionType = SCHALE.Common.FlatData.CVCollectionType.CVNormal;
this.UnlockFavorRank = 0; this.UnlockFavorRank = 0;
this.LocalizeCVGroup = null; this.LocalizeCVGroup = null;
this.Nation_ = null; this.Nation_ = null;
@ -252,7 +252,7 @@ static public class CharacterVoiceExcelVerify
&& verifier.VerifyField(tablePos, 12 /*Priority*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 12 /*Priority*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 14 /*DisplayOrder*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 14 /*DisplayOrder*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 16 /*CollectionVisible*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 16 /*CollectionVisible*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 18 /*CVCollectionType_*/, 4 /*SCHALE.Common.FlatData.CVCollectionType*/, 4, false) && verifier.VerifyField(tablePos, 18 /*CVCollectionType*/, 4 /*SCHALE.Common.FlatData.CVCollectionType*/, 4, false)
&& verifier.VerifyField(tablePos, 20 /*UnlockFavorRank*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 20 /*UnlockFavorRank*/, 8 /*long*/, 8, false)
&& verifier.VerifyString(tablePos, 22 /*LocalizeCVGroup*/, false) && verifier.VerifyString(tablePos, 22 /*LocalizeCVGroup*/, false)
&& verifier.VerifyVectorOfData(tablePos, 24 /*Nation_*/, 4 /*SCHALE.Common.FlatData.Nation*/, false) && verifier.VerifyVectorOfData(tablePos, 24 /*Nation_*/, 4 /*SCHALE.Common.FlatData.Nation*/, false)

View File

@ -29,7 +29,7 @@ public struct CharacterWeaponExcel : IFlatbufferObject
#endif #endif
public byte[] GetImagePathArray() { return __p.__vector_as_array<byte>(6); } public byte[] GetImagePathArray() { return __p.__vector_as_array<byte>(6); }
public long SetRecipe { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long SetRecipe { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.StatLevelUpType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatLevelUpType.Standard; } } public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.StatLevelUpType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatLevelUpType.Standard; } }
public long AttackPower { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long AttackPower { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long AttackPower100 { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long AttackPower100 { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long MaxHP { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long MaxHP { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -83,7 +83,7 @@ public struct CharacterWeaponExcel : IFlatbufferObject
long Id = 0, long Id = 0,
StringOffset ImagePathOffset = default(StringOffset), StringOffset ImagePathOffset = default(StringOffset),
long SetRecipe = 0, long SetRecipe = 0,
SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType_ = SCHALE.Common.FlatData.StatLevelUpType.Standard, SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType = SCHALE.Common.FlatData.StatLevelUpType.Standard,
long AttackPower = 0, long AttackPower = 0,
long AttackPower100 = 0, long AttackPower100 = 0,
long MaxHP = 0, long MaxHP = 0,
@ -111,7 +111,7 @@ public struct CharacterWeaponExcel : IFlatbufferObject
CharacterWeaponExcel.AddMaxLevel(builder, MaxLevelOffset); CharacterWeaponExcel.AddMaxLevel(builder, MaxLevelOffset);
CharacterWeaponExcel.AddRecipeId(builder, RecipeIdOffset); CharacterWeaponExcel.AddRecipeId(builder, RecipeIdOffset);
CharacterWeaponExcel.AddUnlock(builder, UnlockOffset); CharacterWeaponExcel.AddUnlock(builder, UnlockOffset);
CharacterWeaponExcel.AddStatLevelUpType_(builder, StatLevelUpType_); CharacterWeaponExcel.AddStatLevelUpType(builder, StatLevelUpType);
CharacterWeaponExcel.AddImagePath(builder, ImagePathOffset); CharacterWeaponExcel.AddImagePath(builder, ImagePathOffset);
return CharacterWeaponExcel.EndCharacterWeaponExcel(builder); return CharacterWeaponExcel.EndCharacterWeaponExcel(builder);
} }
@ -120,7 +120,7 @@ public struct CharacterWeaponExcel : IFlatbufferObject
public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); }
public static void AddImagePath(FlatBufferBuilder builder, StringOffset imagePathOffset) { builder.AddOffset(1, imagePathOffset.Value, 0); } public static void AddImagePath(FlatBufferBuilder builder, StringOffset imagePathOffset) { builder.AddOffset(1, imagePathOffset.Value, 0); }
public static void AddSetRecipe(FlatBufferBuilder builder, long setRecipe) { builder.AddLong(2, setRecipe, 0); } public static void AddSetRecipe(FlatBufferBuilder builder, long setRecipe) { builder.AddLong(2, setRecipe, 0); }
public static void AddStatLevelUpType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatLevelUpType statLevelUpType_) { builder.AddInt(3, (int)statLevelUpType_, 0); } public static void AddStatLevelUpType(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatLevelUpType statLevelUpType) { builder.AddInt(3, (int)statLevelUpType, 0); }
public static void AddAttackPower(FlatBufferBuilder builder, long attackPower) { builder.AddLong(4, attackPower, 0); } public static void AddAttackPower(FlatBufferBuilder builder, long attackPower) { builder.AddLong(4, attackPower, 0); }
public static void AddAttackPower100(FlatBufferBuilder builder, long attackPower100) { builder.AddLong(5, attackPower100, 0); } public static void AddAttackPower100(FlatBufferBuilder builder, long attackPower100) { builder.AddLong(5, attackPower100, 0); }
public static void AddMaxHP(FlatBufferBuilder builder, long maxHP) { builder.AddLong(6, maxHP, 0); } public static void AddMaxHP(FlatBufferBuilder builder, long maxHP) { builder.AddLong(6, maxHP, 0); }
@ -177,7 +177,7 @@ public struct CharacterWeaponExcel : IFlatbufferObject
_o.Id = TableEncryptionService.Convert(this.Id, key); _o.Id = TableEncryptionService.Convert(this.Id, key);
_o.ImagePath = TableEncryptionService.Convert(this.ImagePath, key); _o.ImagePath = TableEncryptionService.Convert(this.ImagePath, key);
_o.SetRecipe = TableEncryptionService.Convert(this.SetRecipe, key); _o.SetRecipe = TableEncryptionService.Convert(this.SetRecipe, key);
_o.StatLevelUpType_ = TableEncryptionService.Convert(this.StatLevelUpType_, key); _o.StatLevelUpType = TableEncryptionService.Convert(this.StatLevelUpType, key);
_o.AttackPower = TableEncryptionService.Convert(this.AttackPower, key); _o.AttackPower = TableEncryptionService.Convert(this.AttackPower, key);
_o.AttackPower100 = TableEncryptionService.Convert(this.AttackPower100, key); _o.AttackPower100 = TableEncryptionService.Convert(this.AttackPower100, key);
_o.MaxHP = TableEncryptionService.Convert(this.MaxHP, key); _o.MaxHP = TableEncryptionService.Convert(this.MaxHP, key);
@ -236,7 +236,7 @@ public struct CharacterWeaponExcel : IFlatbufferObject
_o.Id, _o.Id,
_ImagePath, _ImagePath,
_o.SetRecipe, _o.SetRecipe,
_o.StatLevelUpType_, _o.StatLevelUpType,
_o.AttackPower, _o.AttackPower,
_o.AttackPower100, _o.AttackPower100,
_o.MaxHP, _o.MaxHP,
@ -257,7 +257,7 @@ public class CharacterWeaponExcelT
public long Id { get; set; } public long Id { get; set; }
public string ImagePath { get; set; } public string ImagePath { get; set; }
public long SetRecipe { get; set; } public long SetRecipe { get; set; }
public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType_ { get; set; } public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType { get; set; }
public long AttackPower { get; set; } public long AttackPower { get; set; }
public long AttackPower100 { get; set; } public long AttackPower100 { get; set; }
public long MaxHP { get; set; } public long MaxHP { get; set; }
@ -275,7 +275,7 @@ public class CharacterWeaponExcelT
this.Id = 0; this.Id = 0;
this.ImagePath = null; this.ImagePath = null;
this.SetRecipe = 0; this.SetRecipe = 0;
this.StatLevelUpType_ = SCHALE.Common.FlatData.StatLevelUpType.Standard; this.StatLevelUpType = SCHALE.Common.FlatData.StatLevelUpType.Standard;
this.AttackPower = 0; this.AttackPower = 0;
this.AttackPower100 = 0; this.AttackPower100 = 0;
this.MaxHP = 0; this.MaxHP = 0;
@ -300,7 +300,7 @@ static public class CharacterWeaponExcelVerify
&& verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false)
&& verifier.VerifyString(tablePos, 6 /*ImagePath*/, false) && verifier.VerifyString(tablePos, 6 /*ImagePath*/, false)
&& verifier.VerifyField(tablePos, 8 /*SetRecipe*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*SetRecipe*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 10 /*StatLevelUpType_*/, 4 /*SCHALE.Common.FlatData.StatLevelUpType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*StatLevelUpType*/, 4 /*SCHALE.Common.FlatData.StatLevelUpType*/, 4, false)
&& verifier.VerifyField(tablePos, 12 /*AttackPower*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*AttackPower*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 14 /*AttackPower100*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 14 /*AttackPower100*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 16 /*MaxHP*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 16 /*MaxHP*/, 8 /*long*/, 8, false)

View File

@ -20,14 +20,14 @@ public struct CharacterWeaponExpBonusExcel : IFlatbufferObject
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public CharacterWeaponExpBonusExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public CharacterWeaponExpBonusExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.WeaponType WeaponType_ { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.WeaponType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeaponType.None; } } public SCHALE.Common.FlatData.WeaponType WeaponType { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.WeaponType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeaponType.None; } }
public int WeaponExpGrowthA { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int WeaponExpGrowthA { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public int WeaponExpGrowthB { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int WeaponExpGrowthB { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public int WeaponExpGrowthC { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int WeaponExpGrowthC { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public int WeaponExpGrowthZ { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int WeaponExpGrowthZ { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public static Offset<SCHALE.Common.FlatData.CharacterWeaponExpBonusExcel> CreateCharacterWeaponExpBonusExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.CharacterWeaponExpBonusExcel> CreateCharacterWeaponExpBonusExcel(FlatBufferBuilder builder,
SCHALE.Common.FlatData.WeaponType WeaponType_ = SCHALE.Common.FlatData.WeaponType.None, SCHALE.Common.FlatData.WeaponType WeaponType = SCHALE.Common.FlatData.WeaponType.None,
int WeaponExpGrowthA = 0, int WeaponExpGrowthA = 0,
int WeaponExpGrowthB = 0, int WeaponExpGrowthB = 0,
int WeaponExpGrowthC = 0, int WeaponExpGrowthC = 0,
@ -37,12 +37,12 @@ public struct CharacterWeaponExpBonusExcel : IFlatbufferObject
CharacterWeaponExpBonusExcel.AddWeaponExpGrowthC(builder, WeaponExpGrowthC); CharacterWeaponExpBonusExcel.AddWeaponExpGrowthC(builder, WeaponExpGrowthC);
CharacterWeaponExpBonusExcel.AddWeaponExpGrowthB(builder, WeaponExpGrowthB); CharacterWeaponExpBonusExcel.AddWeaponExpGrowthB(builder, WeaponExpGrowthB);
CharacterWeaponExpBonusExcel.AddWeaponExpGrowthA(builder, WeaponExpGrowthA); CharacterWeaponExpBonusExcel.AddWeaponExpGrowthA(builder, WeaponExpGrowthA);
CharacterWeaponExpBonusExcel.AddWeaponType_(builder, WeaponType_); CharacterWeaponExpBonusExcel.AddWeaponType(builder, WeaponType);
return CharacterWeaponExpBonusExcel.EndCharacterWeaponExpBonusExcel(builder); return CharacterWeaponExpBonusExcel.EndCharacterWeaponExpBonusExcel(builder);
} }
public static void StartCharacterWeaponExpBonusExcel(FlatBufferBuilder builder) { builder.StartTable(5); } public static void StartCharacterWeaponExpBonusExcel(FlatBufferBuilder builder) { builder.StartTable(5); }
public static void AddWeaponType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeaponType weaponType_) { builder.AddInt(0, (int)weaponType_, 0); } public static void AddWeaponType(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeaponType weaponType) { builder.AddInt(0, (int)weaponType, 0); }
public static void AddWeaponExpGrowthA(FlatBufferBuilder builder, int weaponExpGrowthA) { builder.AddInt(1, weaponExpGrowthA, 0); } public static void AddWeaponExpGrowthA(FlatBufferBuilder builder, int weaponExpGrowthA) { builder.AddInt(1, weaponExpGrowthA, 0); }
public static void AddWeaponExpGrowthB(FlatBufferBuilder builder, int weaponExpGrowthB) { builder.AddInt(2, weaponExpGrowthB, 0); } public static void AddWeaponExpGrowthB(FlatBufferBuilder builder, int weaponExpGrowthB) { builder.AddInt(2, weaponExpGrowthB, 0); }
public static void AddWeaponExpGrowthC(FlatBufferBuilder builder, int weaponExpGrowthC) { builder.AddInt(3, weaponExpGrowthC, 0); } public static void AddWeaponExpGrowthC(FlatBufferBuilder builder, int weaponExpGrowthC) { builder.AddInt(3, weaponExpGrowthC, 0); }
@ -58,7 +58,7 @@ public struct CharacterWeaponExpBonusExcel : IFlatbufferObject
} }
public void UnPackTo(CharacterWeaponExpBonusExcelT _o) { public void UnPackTo(CharacterWeaponExpBonusExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("CharacterWeaponExpBonus"); byte[] key = TableEncryptionService.CreateKey("CharacterWeaponExpBonus");
_o.WeaponType_ = TableEncryptionService.Convert(this.WeaponType_, key); _o.WeaponType = TableEncryptionService.Convert(this.WeaponType, key);
_o.WeaponExpGrowthA = TableEncryptionService.Convert(this.WeaponExpGrowthA, key); _o.WeaponExpGrowthA = TableEncryptionService.Convert(this.WeaponExpGrowthA, key);
_o.WeaponExpGrowthB = TableEncryptionService.Convert(this.WeaponExpGrowthB, key); _o.WeaponExpGrowthB = TableEncryptionService.Convert(this.WeaponExpGrowthB, key);
_o.WeaponExpGrowthC = TableEncryptionService.Convert(this.WeaponExpGrowthC, key); _o.WeaponExpGrowthC = TableEncryptionService.Convert(this.WeaponExpGrowthC, key);
@ -68,7 +68,7 @@ public struct CharacterWeaponExpBonusExcel : IFlatbufferObject
if (_o == null) return default(Offset<SCHALE.Common.FlatData.CharacterWeaponExpBonusExcel>); if (_o == null) return default(Offset<SCHALE.Common.FlatData.CharacterWeaponExpBonusExcel>);
return CreateCharacterWeaponExpBonusExcel( return CreateCharacterWeaponExpBonusExcel(
builder, builder,
_o.WeaponType_, _o.WeaponType,
_o.WeaponExpGrowthA, _o.WeaponExpGrowthA,
_o.WeaponExpGrowthB, _o.WeaponExpGrowthB,
_o.WeaponExpGrowthC, _o.WeaponExpGrowthC,
@ -78,14 +78,14 @@ public struct CharacterWeaponExpBonusExcel : IFlatbufferObject
public class CharacterWeaponExpBonusExcelT public class CharacterWeaponExpBonusExcelT
{ {
public SCHALE.Common.FlatData.WeaponType WeaponType_ { get; set; } public SCHALE.Common.FlatData.WeaponType WeaponType { get; set; }
public int WeaponExpGrowthA { get; set; } public int WeaponExpGrowthA { get; set; }
public int WeaponExpGrowthB { get; set; } public int WeaponExpGrowthB { get; set; }
public int WeaponExpGrowthC { get; set; } public int WeaponExpGrowthC { get; set; }
public int WeaponExpGrowthZ { get; set; } public int WeaponExpGrowthZ { get; set; }
public CharacterWeaponExpBonusExcelT() { public CharacterWeaponExpBonusExcelT() {
this.WeaponType_ = SCHALE.Common.FlatData.WeaponType.None; this.WeaponType = SCHALE.Common.FlatData.WeaponType.None;
this.WeaponExpGrowthA = 0; this.WeaponExpGrowthA = 0;
this.WeaponExpGrowthB = 0; this.WeaponExpGrowthB = 0;
this.WeaponExpGrowthC = 0; this.WeaponExpGrowthC = 0;
@ -99,7 +99,7 @@ static public class CharacterWeaponExpBonusExcelVerify
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*WeaponType_*/, 4 /*SCHALE.Common.FlatData.WeaponType*/, 4, false) && verifier.VerifyField(tablePos, 4 /*WeaponType*/, 4 /*SCHALE.Common.FlatData.WeaponType*/, 4, false)
&& verifier.VerifyField(tablePos, 6 /*WeaponExpGrowthA*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 6 /*WeaponExpGrowthA*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*WeaponExpGrowthB*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 8 /*WeaponExpGrowthB*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*WeaponExpGrowthC*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 10 /*WeaponExpGrowthC*/, 4 /*int*/, 4, false)

View File

@ -21,7 +21,7 @@ public struct ClanAssistSlotExcel : IFlatbufferObject
public ClanAssistSlotExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public ClanAssistSlotExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long SlotId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long SlotId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.EchelonType EchelonType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EchelonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonType.None; } } public SCHALE.Common.FlatData.EchelonType EchelonType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EchelonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonType.None; } }
public long SlotNumber { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long SlotNumber { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long AssistTermRewardPeriodFromSec { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long AssistTermRewardPeriodFromSec { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long AssistRewardLimit { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long AssistRewardLimit { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -31,7 +31,7 @@ public struct ClanAssistSlotExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.ClanAssistSlotExcel> CreateClanAssistSlotExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.ClanAssistSlotExcel> CreateClanAssistSlotExcel(FlatBufferBuilder builder,
long SlotId = 0, long SlotId = 0,
SCHALE.Common.FlatData.EchelonType EchelonType_ = SCHALE.Common.FlatData.EchelonType.None, SCHALE.Common.FlatData.EchelonType EchelonType = SCHALE.Common.FlatData.EchelonType.None,
long SlotNumber = 0, long SlotNumber = 0,
long AssistTermRewardPeriodFromSec = 0, long AssistTermRewardPeriodFromSec = 0,
long AssistRewardLimit = 0, long AssistRewardLimit = 0,
@ -46,13 +46,13 @@ public struct ClanAssistSlotExcel : IFlatbufferObject
ClanAssistSlotExcel.AddAssistTermRewardPeriodFromSec(builder, AssistTermRewardPeriodFromSec); ClanAssistSlotExcel.AddAssistTermRewardPeriodFromSec(builder, AssistTermRewardPeriodFromSec);
ClanAssistSlotExcel.AddSlotNumber(builder, SlotNumber); ClanAssistSlotExcel.AddSlotNumber(builder, SlotNumber);
ClanAssistSlotExcel.AddSlotId(builder, SlotId); ClanAssistSlotExcel.AddSlotId(builder, SlotId);
ClanAssistSlotExcel.AddEchelonType_(builder, EchelonType_); ClanAssistSlotExcel.AddEchelonType(builder, EchelonType);
return ClanAssistSlotExcel.EndClanAssistSlotExcel(builder); return ClanAssistSlotExcel.EndClanAssistSlotExcel(builder);
} }
public static void StartClanAssistSlotExcel(FlatBufferBuilder builder) { builder.StartTable(8); } public static void StartClanAssistSlotExcel(FlatBufferBuilder builder) { builder.StartTable(8); }
public static void AddSlotId(FlatBufferBuilder builder, long slotId) { builder.AddLong(0, slotId, 0); } public static void AddSlotId(FlatBufferBuilder builder, long slotId) { builder.AddLong(0, slotId, 0); }
public static void AddEchelonType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonType echelonType_) { builder.AddInt(1, (int)echelonType_, 0); } public static void AddEchelonType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonType echelonType) { builder.AddInt(1, (int)echelonType, 0); }
public static void AddSlotNumber(FlatBufferBuilder builder, long slotNumber) { builder.AddLong(2, slotNumber, 0); } public static void AddSlotNumber(FlatBufferBuilder builder, long slotNumber) { builder.AddLong(2, slotNumber, 0); }
public static void AddAssistTermRewardPeriodFromSec(FlatBufferBuilder builder, long assistTermRewardPeriodFromSec) { builder.AddLong(3, assistTermRewardPeriodFromSec, 0); } public static void AddAssistTermRewardPeriodFromSec(FlatBufferBuilder builder, long assistTermRewardPeriodFromSec) { builder.AddLong(3, assistTermRewardPeriodFromSec, 0); }
public static void AddAssistRewardLimit(FlatBufferBuilder builder, long assistRewardLimit) { builder.AddLong(4, assistRewardLimit, 0); } public static void AddAssistRewardLimit(FlatBufferBuilder builder, long assistRewardLimit) { builder.AddLong(4, assistRewardLimit, 0); }
@ -71,7 +71,7 @@ public struct ClanAssistSlotExcel : IFlatbufferObject
public void UnPackTo(ClanAssistSlotExcelT _o) { public void UnPackTo(ClanAssistSlotExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("ClanAssistSlot"); byte[] key = TableEncryptionService.CreateKey("ClanAssistSlot");
_o.SlotId = TableEncryptionService.Convert(this.SlotId, key); _o.SlotId = TableEncryptionService.Convert(this.SlotId, key);
_o.EchelonType_ = TableEncryptionService.Convert(this.EchelonType_, key); _o.EchelonType = TableEncryptionService.Convert(this.EchelonType, key);
_o.SlotNumber = TableEncryptionService.Convert(this.SlotNumber, key); _o.SlotNumber = TableEncryptionService.Convert(this.SlotNumber, key);
_o.AssistTermRewardPeriodFromSec = TableEncryptionService.Convert(this.AssistTermRewardPeriodFromSec, key); _o.AssistTermRewardPeriodFromSec = TableEncryptionService.Convert(this.AssistTermRewardPeriodFromSec, key);
_o.AssistRewardLimit = TableEncryptionService.Convert(this.AssistRewardLimit, key); _o.AssistRewardLimit = TableEncryptionService.Convert(this.AssistRewardLimit, key);
@ -84,7 +84,7 @@ public struct ClanAssistSlotExcel : IFlatbufferObject
return CreateClanAssistSlotExcel( return CreateClanAssistSlotExcel(
builder, builder,
_o.SlotId, _o.SlotId,
_o.EchelonType_, _o.EchelonType,
_o.SlotNumber, _o.SlotNumber,
_o.AssistTermRewardPeriodFromSec, _o.AssistTermRewardPeriodFromSec,
_o.AssistRewardLimit, _o.AssistRewardLimit,
@ -97,7 +97,7 @@ public struct ClanAssistSlotExcel : IFlatbufferObject
public class ClanAssistSlotExcelT public class ClanAssistSlotExcelT
{ {
public long SlotId { get; set; } public long SlotId { get; set; }
public SCHALE.Common.FlatData.EchelonType EchelonType_ { get; set; } public SCHALE.Common.FlatData.EchelonType EchelonType { get; set; }
public long SlotNumber { get; set; } public long SlotNumber { get; set; }
public long AssistTermRewardPeriodFromSec { get; set; } public long AssistTermRewardPeriodFromSec { get; set; }
public long AssistRewardLimit { get; set; } public long AssistRewardLimit { get; set; }
@ -107,7 +107,7 @@ public class ClanAssistSlotExcelT
public ClanAssistSlotExcelT() { public ClanAssistSlotExcelT() {
this.SlotId = 0; this.SlotId = 0;
this.EchelonType_ = SCHALE.Common.FlatData.EchelonType.None; this.EchelonType = SCHALE.Common.FlatData.EchelonType.None;
this.SlotNumber = 0; this.SlotNumber = 0;
this.AssistTermRewardPeriodFromSec = 0; this.AssistTermRewardPeriodFromSec = 0;
this.AssistRewardLimit = 0; this.AssistRewardLimit = 0;
@ -124,7 +124,7 @@ static public class ClanAssistSlotExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*SlotId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*SlotId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*EchelonType_*/, 4 /*SCHALE.Common.FlatData.EchelonType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*EchelonType*/, 4 /*SCHALE.Common.FlatData.EchelonType*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*SlotNumber*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*SlotNumber*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 10 /*AssistTermRewardPeriodFromSec*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*AssistTermRewardPeriodFromSec*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 12 /*AssistRewardLimit*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*AssistRewardLimit*/, 8 /*long*/, 8, false)

View File

@ -1,88 +0,0 @@
// <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::SCHALE.Common.Crypto;
using global::Google.FlatBuffers;
public struct ClanAssistSlotExcelTable : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static ClanAssistSlotExcelTable GetRootAsClanAssistSlotExcelTable(ByteBuffer _bb) { return GetRootAsClanAssistSlotExcelTable(_bb, new ClanAssistSlotExcelTable()); }
public static ClanAssistSlotExcelTable GetRootAsClanAssistSlotExcelTable(ByteBuffer _bb, ClanAssistSlotExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public ClanAssistSlotExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.ClanAssistSlotExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ClanAssistSlotExcel?)(new SCHALE.Common.FlatData.ClanAssistSlotExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; }
public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } }
public static Offset<SCHALE.Common.FlatData.ClanAssistSlotExcelTable> CreateClanAssistSlotExcelTable(FlatBufferBuilder builder,
VectorOffset DataListOffset = default(VectorOffset)) {
builder.StartTable(1);
ClanAssistSlotExcelTable.AddDataList(builder, DataListOffset);
return ClanAssistSlotExcelTable.EndClanAssistSlotExcelTable(builder);
}
public static void StartClanAssistSlotExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); }
public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); }
public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.ClanAssistSlotExcel>[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.ClanAssistSlotExcel>[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<SCHALE.Common.FlatData.ClanAssistSlotExcel>> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<Offset<SCHALE.Common.FlatData.ClanAssistSlotExcel>>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.ClanAssistSlotExcelTable> EndClanAssistSlotExcelTable(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.ClanAssistSlotExcelTable>(o);
}
public ClanAssistSlotExcelTableT UnPack() {
var _o = new ClanAssistSlotExcelTableT();
this.UnPackTo(_o);
return _o;
}
public void UnPackTo(ClanAssistSlotExcelTableT _o) {
byte[] key = TableEncryptionService.CreateKey("ClanAssistSlotExcel");
_o.DataList = new List<SCHALE.Common.FlatData.ClanAssistSlotExcelT>();
for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);}
}
public static Offset<SCHALE.Common.FlatData.ClanAssistSlotExcelTable> Pack(FlatBufferBuilder builder, ClanAssistSlotExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.ClanAssistSlotExcelTable>);
var _DataList = default(VectorOffset);
if (_o.DataList != null) {
var __DataList = new Offset<SCHALE.Common.FlatData.ClanAssistSlotExcel>[_o.DataList.Count];
for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.ClanAssistSlotExcel.Pack(builder, _o.DataList[_j]); }
_DataList = CreateDataListVector(builder, __DataList);
}
return CreateClanAssistSlotExcelTable(
builder,
_DataList);
}
}
public class ClanAssistSlotExcelTableT
{
public List<SCHALE.Common.FlatData.ClanAssistSlotExcelT> DataList { get; set; }
public ClanAssistSlotExcelTableT() {
this.DataList = null;
}
}
static public class ClanAssistSlotExcelTableVerify
{
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{
return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.ClanAssistSlotExcelVerify.Verify, false)
&& verifier.VerifyTableEnd(tablePos);
}
}
}

View File

@ -20,15 +20,15 @@ public struct ClanRewardExcel : IFlatbufferObject
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public ClanRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public ClanRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.ClanRewardType ClanRewardType_ { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ClanRewardType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ClanRewardType.None; } } public SCHALE.Common.FlatData.ClanRewardType ClanRewardType { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ClanRewardType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ClanRewardType.None; } }
public SCHALE.Common.FlatData.EchelonType EchelonType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EchelonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonType.None; } } public SCHALE.Common.FlatData.EchelonType EchelonType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EchelonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonType.None; } }
public SCHALE.Common.FlatData.ParcelType RewardParcelType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } }
public long RewardParcelId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long RewardParcelId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long RewardParcelAmount { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long RewardParcelAmount { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public static Offset<SCHALE.Common.FlatData.ClanRewardExcel> CreateClanRewardExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.ClanRewardExcel> CreateClanRewardExcel(FlatBufferBuilder builder,
SCHALE.Common.FlatData.ClanRewardType ClanRewardType_ = SCHALE.Common.FlatData.ClanRewardType.None, SCHALE.Common.FlatData.ClanRewardType ClanRewardType = SCHALE.Common.FlatData.ClanRewardType.None,
SCHALE.Common.FlatData.EchelonType EchelonType_ = SCHALE.Common.FlatData.EchelonType.None, SCHALE.Common.FlatData.EchelonType EchelonType = SCHALE.Common.FlatData.EchelonType.None,
SCHALE.Common.FlatData.ParcelType RewardParcelType = SCHALE.Common.FlatData.ParcelType.None, SCHALE.Common.FlatData.ParcelType RewardParcelType = SCHALE.Common.FlatData.ParcelType.None,
long RewardParcelId = 0, long RewardParcelId = 0,
long RewardParcelAmount = 0) { long RewardParcelAmount = 0) {
@ -36,14 +36,14 @@ public struct ClanRewardExcel : IFlatbufferObject
ClanRewardExcel.AddRewardParcelAmount(builder, RewardParcelAmount); ClanRewardExcel.AddRewardParcelAmount(builder, RewardParcelAmount);
ClanRewardExcel.AddRewardParcelId(builder, RewardParcelId); ClanRewardExcel.AddRewardParcelId(builder, RewardParcelId);
ClanRewardExcel.AddRewardParcelType(builder, RewardParcelType); ClanRewardExcel.AddRewardParcelType(builder, RewardParcelType);
ClanRewardExcel.AddEchelonType_(builder, EchelonType_); ClanRewardExcel.AddEchelonType(builder, EchelonType);
ClanRewardExcel.AddClanRewardType_(builder, ClanRewardType_); ClanRewardExcel.AddClanRewardType(builder, ClanRewardType);
return ClanRewardExcel.EndClanRewardExcel(builder); return ClanRewardExcel.EndClanRewardExcel(builder);
} }
public static void StartClanRewardExcel(FlatBufferBuilder builder) { builder.StartTable(5); } public static void StartClanRewardExcel(FlatBufferBuilder builder) { builder.StartTable(5); }
public static void AddClanRewardType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ClanRewardType clanRewardType_) { builder.AddInt(0, (int)clanRewardType_, 0); } public static void AddClanRewardType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ClanRewardType clanRewardType) { builder.AddInt(0, (int)clanRewardType, 0); }
public static void AddEchelonType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonType echelonType_) { builder.AddInt(1, (int)echelonType_, 0); } public static void AddEchelonType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonType echelonType) { builder.AddInt(1, (int)echelonType, 0); }
public static void AddRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType rewardParcelType) { builder.AddInt(2, (int)rewardParcelType, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType rewardParcelType) { builder.AddInt(2, (int)rewardParcelType, 0); }
public static void AddRewardParcelId(FlatBufferBuilder builder, long rewardParcelId) { builder.AddLong(3, rewardParcelId, 0); } public static void AddRewardParcelId(FlatBufferBuilder builder, long rewardParcelId) { builder.AddLong(3, rewardParcelId, 0); }
public static void AddRewardParcelAmount(FlatBufferBuilder builder, long rewardParcelAmount) { builder.AddLong(4, rewardParcelAmount, 0); } public static void AddRewardParcelAmount(FlatBufferBuilder builder, long rewardParcelAmount) { builder.AddLong(4, rewardParcelAmount, 0); }
@ -58,8 +58,8 @@ public struct ClanRewardExcel : IFlatbufferObject
} }
public void UnPackTo(ClanRewardExcelT _o) { public void UnPackTo(ClanRewardExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("ClanReward"); byte[] key = TableEncryptionService.CreateKey("ClanReward");
_o.ClanRewardType_ = TableEncryptionService.Convert(this.ClanRewardType_, key); _o.ClanRewardType = TableEncryptionService.Convert(this.ClanRewardType, key);
_o.EchelonType_ = TableEncryptionService.Convert(this.EchelonType_, key); _o.EchelonType = TableEncryptionService.Convert(this.EchelonType, key);
_o.RewardParcelType = TableEncryptionService.Convert(this.RewardParcelType, key); _o.RewardParcelType = TableEncryptionService.Convert(this.RewardParcelType, key);
_o.RewardParcelId = TableEncryptionService.Convert(this.RewardParcelId, key); _o.RewardParcelId = TableEncryptionService.Convert(this.RewardParcelId, key);
_o.RewardParcelAmount = TableEncryptionService.Convert(this.RewardParcelAmount, key); _o.RewardParcelAmount = TableEncryptionService.Convert(this.RewardParcelAmount, key);
@ -68,8 +68,8 @@ public struct ClanRewardExcel : IFlatbufferObject
if (_o == null) return default(Offset<SCHALE.Common.FlatData.ClanRewardExcel>); if (_o == null) return default(Offset<SCHALE.Common.FlatData.ClanRewardExcel>);
return CreateClanRewardExcel( return CreateClanRewardExcel(
builder, builder,
_o.ClanRewardType_, _o.ClanRewardType,
_o.EchelonType_, _o.EchelonType,
_o.RewardParcelType, _o.RewardParcelType,
_o.RewardParcelId, _o.RewardParcelId,
_o.RewardParcelAmount); _o.RewardParcelAmount);
@ -78,15 +78,15 @@ public struct ClanRewardExcel : IFlatbufferObject
public class ClanRewardExcelT public class ClanRewardExcelT
{ {
public SCHALE.Common.FlatData.ClanRewardType ClanRewardType_ { get; set; } public SCHALE.Common.FlatData.ClanRewardType ClanRewardType { get; set; }
public SCHALE.Common.FlatData.EchelonType EchelonType_ { get; set; } public SCHALE.Common.FlatData.EchelonType EchelonType { get; set; }
public SCHALE.Common.FlatData.ParcelType RewardParcelType { get; set; } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get; set; }
public long RewardParcelId { get; set; } public long RewardParcelId { get; set; }
public long RewardParcelAmount { get; set; } public long RewardParcelAmount { get; set; }
public ClanRewardExcelT() { public ClanRewardExcelT() {
this.ClanRewardType_ = SCHALE.Common.FlatData.ClanRewardType.None; this.ClanRewardType = SCHALE.Common.FlatData.ClanRewardType.None;
this.EchelonType_ = SCHALE.Common.FlatData.EchelonType.None; this.EchelonType = SCHALE.Common.FlatData.EchelonType.None;
this.RewardParcelType = SCHALE.Common.FlatData.ParcelType.None; this.RewardParcelType = SCHALE.Common.FlatData.ParcelType.None;
this.RewardParcelId = 0; this.RewardParcelId = 0;
this.RewardParcelAmount = 0; this.RewardParcelAmount = 0;
@ -99,8 +99,8 @@ static public class ClanRewardExcelVerify
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*ClanRewardType_*/, 4 /*SCHALE.Common.FlatData.ClanRewardType*/, 4, false) && verifier.VerifyField(tablePos, 4 /*ClanRewardType*/, 4 /*SCHALE.Common.FlatData.ClanRewardType*/, 4, false)
&& verifier.VerifyField(tablePos, 6 /*EchelonType_*/, 4 /*SCHALE.Common.FlatData.EchelonType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*EchelonType*/, 4 /*SCHALE.Common.FlatData.EchelonType*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*RewardParcelId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*RewardParcelId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 12 /*RewardParcelAmount*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*RewardParcelAmount*/, 8 /*long*/, 8, false)

View File

@ -1,88 +0,0 @@
// <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::SCHALE.Common.Crypto;
using global::Google.FlatBuffers;
public struct ClanRewardExcelTable : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static ClanRewardExcelTable GetRootAsClanRewardExcelTable(ByteBuffer _bb) { return GetRootAsClanRewardExcelTable(_bb, new ClanRewardExcelTable()); }
public static ClanRewardExcelTable GetRootAsClanRewardExcelTable(ByteBuffer _bb, ClanRewardExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public ClanRewardExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.ClanRewardExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ClanRewardExcel?)(new SCHALE.Common.FlatData.ClanRewardExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; }
public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } }
public static Offset<SCHALE.Common.FlatData.ClanRewardExcelTable> CreateClanRewardExcelTable(FlatBufferBuilder builder,
VectorOffset DataListOffset = default(VectorOffset)) {
builder.StartTable(1);
ClanRewardExcelTable.AddDataList(builder, DataListOffset);
return ClanRewardExcelTable.EndClanRewardExcelTable(builder);
}
public static void StartClanRewardExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); }
public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); }
public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.ClanRewardExcel>[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.ClanRewardExcel>[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<SCHALE.Common.FlatData.ClanRewardExcel>> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<Offset<SCHALE.Common.FlatData.ClanRewardExcel>>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.ClanRewardExcelTable> EndClanRewardExcelTable(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.ClanRewardExcelTable>(o);
}
public ClanRewardExcelTableT UnPack() {
var _o = new ClanRewardExcelTableT();
this.UnPackTo(_o);
return _o;
}
public void UnPackTo(ClanRewardExcelTableT _o) {
byte[] key = TableEncryptionService.CreateKey("ClanRewardExcel");
_o.DataList = new List<SCHALE.Common.FlatData.ClanRewardExcelT>();
for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);}
}
public static Offset<SCHALE.Common.FlatData.ClanRewardExcelTable> Pack(FlatBufferBuilder builder, ClanRewardExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.ClanRewardExcelTable>);
var _DataList = default(VectorOffset);
if (_o.DataList != null) {
var __DataList = new Offset<SCHALE.Common.FlatData.ClanRewardExcel>[_o.DataList.Count];
for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.ClanRewardExcel.Pack(builder, _o.DataList[_j]); }
_DataList = CreateDataListVector(builder, __DataList);
}
return CreateClanRewardExcelTable(
builder,
_DataList);
}
}
public class ClanRewardExcelTableT
{
public List<SCHALE.Common.FlatData.ClanRewardExcelT> DataList { get; set; }
public ClanRewardExcelTableT() {
this.DataList = null;
}
}
static public class ClanRewardExcelTableVerify
{
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{
return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.ClanRewardExcelVerify.Verify, false)
&& verifier.VerifyTableEnd(tablePos);
}
}
}

View File

@ -20,20 +20,20 @@ public struct ClearDeckRuleExcel : IFlatbufferObject
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public ClearDeckRuleExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public ClearDeckRuleExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.ContentType ContentType_ { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } public SCHALE.Common.FlatData.ContentType ContentType { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } }
public long SizeLimit { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long SizeLimit { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public static Offset<SCHALE.Common.FlatData.ClearDeckRuleExcel> CreateClearDeckRuleExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.ClearDeckRuleExcel> CreateClearDeckRuleExcel(FlatBufferBuilder builder,
SCHALE.Common.FlatData.ContentType ContentType_ = SCHALE.Common.FlatData.ContentType.None, SCHALE.Common.FlatData.ContentType ContentType = SCHALE.Common.FlatData.ContentType.None,
long SizeLimit = 0) { long SizeLimit = 0) {
builder.StartTable(2); builder.StartTable(2);
ClearDeckRuleExcel.AddSizeLimit(builder, SizeLimit); ClearDeckRuleExcel.AddSizeLimit(builder, SizeLimit);
ClearDeckRuleExcel.AddContentType_(builder, ContentType_); ClearDeckRuleExcel.AddContentType(builder, ContentType);
return ClearDeckRuleExcel.EndClearDeckRuleExcel(builder); return ClearDeckRuleExcel.EndClearDeckRuleExcel(builder);
} }
public static void StartClearDeckRuleExcel(FlatBufferBuilder builder) { builder.StartTable(2); } public static void StartClearDeckRuleExcel(FlatBufferBuilder builder) { builder.StartTable(2); }
public static void AddContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType_) { builder.AddInt(0, (int)contentType_, 0); } public static void AddContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType) { builder.AddInt(0, (int)contentType, 0); }
public static void AddSizeLimit(FlatBufferBuilder builder, long sizeLimit) { builder.AddLong(1, sizeLimit, 0); } public static void AddSizeLimit(FlatBufferBuilder builder, long sizeLimit) { builder.AddLong(1, sizeLimit, 0); }
public static Offset<SCHALE.Common.FlatData.ClearDeckRuleExcel> EndClearDeckRuleExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.ClearDeckRuleExcel> EndClearDeckRuleExcel(FlatBufferBuilder builder) {
int o = builder.EndTable(); int o = builder.EndTable();
@ -46,25 +46,25 @@ public struct ClearDeckRuleExcel : IFlatbufferObject
} }
public void UnPackTo(ClearDeckRuleExcelT _o) { public void UnPackTo(ClearDeckRuleExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("ClearDeckRule"); byte[] key = TableEncryptionService.CreateKey("ClearDeckRule");
_o.ContentType_ = TableEncryptionService.Convert(this.ContentType_, key); _o.ContentType = TableEncryptionService.Convert(this.ContentType, key);
_o.SizeLimit = TableEncryptionService.Convert(this.SizeLimit, key); _o.SizeLimit = TableEncryptionService.Convert(this.SizeLimit, key);
} }
public static Offset<SCHALE.Common.FlatData.ClearDeckRuleExcel> Pack(FlatBufferBuilder builder, ClearDeckRuleExcelT _o) { public static Offset<SCHALE.Common.FlatData.ClearDeckRuleExcel> Pack(FlatBufferBuilder builder, ClearDeckRuleExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.ClearDeckRuleExcel>); if (_o == null) return default(Offset<SCHALE.Common.FlatData.ClearDeckRuleExcel>);
return CreateClearDeckRuleExcel( return CreateClearDeckRuleExcel(
builder, builder,
_o.ContentType_, _o.ContentType,
_o.SizeLimit); _o.SizeLimit);
} }
} }
public class ClearDeckRuleExcelT public class ClearDeckRuleExcelT
{ {
public SCHALE.Common.FlatData.ContentType ContentType_ { get; set; } public SCHALE.Common.FlatData.ContentType ContentType { get; set; }
public long SizeLimit { get; set; } public long SizeLimit { get; set; }
public ClearDeckRuleExcelT() { public ClearDeckRuleExcelT() {
this.ContentType_ = SCHALE.Common.FlatData.ContentType.None; this.ContentType = SCHALE.Common.FlatData.ContentType.None;
this.SizeLimit = 0; this.SizeLimit = 0;
} }
} }
@ -75,7 +75,7 @@ static public class ClearDeckRuleExcelVerify
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*ContentType_*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) && verifier.VerifyField(tablePos, 4 /*ContentType*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false)
&& verifier.VerifyField(tablePos, 6 /*SizeLimit*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*SizeLimit*/, 8 /*long*/, 8, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);
} }

View File

@ -21,7 +21,7 @@ public struct CombatEmojiExcel : IFlatbufferObject
public CombatEmojiExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public CombatEmojiExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long UniqueId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long UniqueId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.EmojiEvent EmojiEvent_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EmojiEvent)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EmojiEvent.EnterConver; } } public SCHALE.Common.FlatData.EmojiEvent EmojiEvent { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EmojiEvent)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EmojiEvent.EnterConver; } }
public int OrderOfPriority { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int OrderOfPriority { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public bool EmojiDuration { get { int o = __p.__offset(10); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool EmojiDuration { get { int o = __p.__offset(10); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public bool EmojiReversal { get { int o = __p.__offset(12); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool EmojiReversal { get { int o = __p.__offset(12); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
@ -31,7 +31,7 @@ public struct CombatEmojiExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.CombatEmojiExcel> CreateCombatEmojiExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.CombatEmojiExcel> CreateCombatEmojiExcel(FlatBufferBuilder builder,
long UniqueId = 0, long UniqueId = 0,
SCHALE.Common.FlatData.EmojiEvent EmojiEvent_ = SCHALE.Common.FlatData.EmojiEvent.EnterConver, SCHALE.Common.FlatData.EmojiEvent EmojiEvent = SCHALE.Common.FlatData.EmojiEvent.EnterConver,
int OrderOfPriority = 0, int OrderOfPriority = 0,
bool EmojiDuration = false, bool EmojiDuration = false,
bool EmojiReversal = false, bool EmojiReversal = false,
@ -42,7 +42,7 @@ public struct CombatEmojiExcel : IFlatbufferObject
CombatEmojiExcel.AddUniqueId(builder, UniqueId); CombatEmojiExcel.AddUniqueId(builder, UniqueId);
CombatEmojiExcel.AddShowEmojiDelay(builder, ShowEmojiDelay); CombatEmojiExcel.AddShowEmojiDelay(builder, ShowEmojiDelay);
CombatEmojiExcel.AddOrderOfPriority(builder, OrderOfPriority); CombatEmojiExcel.AddOrderOfPriority(builder, OrderOfPriority);
CombatEmojiExcel.AddEmojiEvent_(builder, EmojiEvent_); CombatEmojiExcel.AddEmojiEvent(builder, EmojiEvent);
CombatEmojiExcel.AddShowDefaultBG(builder, ShowDefaultBG); CombatEmojiExcel.AddShowDefaultBG(builder, ShowDefaultBG);
CombatEmojiExcel.AddEmojiTurnOn(builder, EmojiTurnOn); CombatEmojiExcel.AddEmojiTurnOn(builder, EmojiTurnOn);
CombatEmojiExcel.AddEmojiReversal(builder, EmojiReversal); CombatEmojiExcel.AddEmojiReversal(builder, EmojiReversal);
@ -52,7 +52,7 @@ public struct CombatEmojiExcel : IFlatbufferObject
public static void StartCombatEmojiExcel(FlatBufferBuilder builder) { builder.StartTable(8); } public static void StartCombatEmojiExcel(FlatBufferBuilder builder) { builder.StartTable(8); }
public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); } public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); }
public static void AddEmojiEvent_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EmojiEvent emojiEvent_) { builder.AddInt(1, (int)emojiEvent_, 0); } public static void AddEmojiEvent(FlatBufferBuilder builder, SCHALE.Common.FlatData.EmojiEvent emojiEvent) { builder.AddInt(1, (int)emojiEvent, 0); }
public static void AddOrderOfPriority(FlatBufferBuilder builder, int orderOfPriority) { builder.AddInt(2, orderOfPriority, 0); } public static void AddOrderOfPriority(FlatBufferBuilder builder, int orderOfPriority) { builder.AddInt(2, orderOfPriority, 0); }
public static void AddEmojiDuration(FlatBufferBuilder builder, bool emojiDuration) { builder.AddBool(3, emojiDuration, false); } public static void AddEmojiDuration(FlatBufferBuilder builder, bool emojiDuration) { builder.AddBool(3, emojiDuration, false); }
public static void AddEmojiReversal(FlatBufferBuilder builder, bool emojiReversal) { builder.AddBool(4, emojiReversal, false); } public static void AddEmojiReversal(FlatBufferBuilder builder, bool emojiReversal) { builder.AddBool(4, emojiReversal, false); }
@ -71,7 +71,7 @@ public struct CombatEmojiExcel : IFlatbufferObject
public void UnPackTo(CombatEmojiExcelT _o) { public void UnPackTo(CombatEmojiExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("CombatEmoji"); byte[] key = TableEncryptionService.CreateKey("CombatEmoji");
_o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key); _o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key);
_o.EmojiEvent_ = TableEncryptionService.Convert(this.EmojiEvent_, key); _o.EmojiEvent = TableEncryptionService.Convert(this.EmojiEvent, key);
_o.OrderOfPriority = TableEncryptionService.Convert(this.OrderOfPriority, key); _o.OrderOfPriority = TableEncryptionService.Convert(this.OrderOfPriority, key);
_o.EmojiDuration = TableEncryptionService.Convert(this.EmojiDuration, key); _o.EmojiDuration = TableEncryptionService.Convert(this.EmojiDuration, key);
_o.EmojiReversal = TableEncryptionService.Convert(this.EmojiReversal, key); _o.EmojiReversal = TableEncryptionService.Convert(this.EmojiReversal, key);
@ -84,7 +84,7 @@ public struct CombatEmojiExcel : IFlatbufferObject
return CreateCombatEmojiExcel( return CreateCombatEmojiExcel(
builder, builder,
_o.UniqueId, _o.UniqueId,
_o.EmojiEvent_, _o.EmojiEvent,
_o.OrderOfPriority, _o.OrderOfPriority,
_o.EmojiDuration, _o.EmojiDuration,
_o.EmojiReversal, _o.EmojiReversal,
@ -97,7 +97,7 @@ public struct CombatEmojiExcel : IFlatbufferObject
public class CombatEmojiExcelT public class CombatEmojiExcelT
{ {
public long UniqueId { get; set; } public long UniqueId { get; set; }
public SCHALE.Common.FlatData.EmojiEvent EmojiEvent_ { get; set; } public SCHALE.Common.FlatData.EmojiEvent EmojiEvent { get; set; }
public int OrderOfPriority { get; set; } public int OrderOfPriority { get; set; }
public bool EmojiDuration { get; set; } public bool EmojiDuration { get; set; }
public bool EmojiReversal { get; set; } public bool EmojiReversal { get; set; }
@ -107,7 +107,7 @@ public class CombatEmojiExcelT
public CombatEmojiExcelT() { public CombatEmojiExcelT() {
this.UniqueId = 0; this.UniqueId = 0;
this.EmojiEvent_ = SCHALE.Common.FlatData.EmojiEvent.EnterConver; this.EmojiEvent = SCHALE.Common.FlatData.EmojiEvent.EnterConver;
this.OrderOfPriority = 0; this.OrderOfPriority = 0;
this.EmojiDuration = false; this.EmojiDuration = false;
this.EmojiReversal = false; this.EmojiReversal = false;
@ -124,7 +124,7 @@ static public class CombatEmojiExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*EmojiEvent_*/, 4 /*SCHALE.Common.FlatData.EmojiEvent*/, 4, false) && verifier.VerifyField(tablePos, 6 /*EmojiEvent*/, 4 /*SCHALE.Common.FlatData.EmojiEvent*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*OrderOfPriority*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 8 /*OrderOfPriority*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*EmojiDuration*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 10 /*EmojiDuration*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 12 /*EmojiReversal*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 12 /*EmojiReversal*/, 1 /*bool*/, 1, false)

View File

@ -22,7 +22,7 @@ public struct ConquestEventExcel : IFlatbufferObject
public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long MainStoryEventContentId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long MainStoryEventContentId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.ConquestEventType ConquestEventType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ConquestEventType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ConquestEventType.None; } } public SCHALE.Common.FlatData.ConquestEventType ConquestEventType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ConquestEventType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ConquestEventType.None; } }
public bool UseErosion { get { int o = __p.__offset(10); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool UseErosion { get { int o = __p.__offset(10); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public bool UseUnexpectedEvent { get { int o = __p.__offset(12); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool UseUnexpectedEvent { get { int o = __p.__offset(12); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public bool UseCalculate { get { int o = __p.__offset(14); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool UseCalculate { get { int o = __p.__offset(14); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
@ -116,7 +116,7 @@ public struct ConquestEventExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.ConquestEventExcel> CreateConquestEventExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.ConquestEventExcel> CreateConquestEventExcel(FlatBufferBuilder builder,
long EventContentId = 0, long EventContentId = 0,
long MainStoryEventContentId = 0, long MainStoryEventContentId = 0,
SCHALE.Common.FlatData.ConquestEventType ConquestEventType_ = SCHALE.Common.FlatData.ConquestEventType.None, SCHALE.Common.FlatData.ConquestEventType ConquestEventType = SCHALE.Common.FlatData.ConquestEventType.None,
bool UseErosion = false, bool UseErosion = false,
bool UseUnexpectedEvent = false, bool UseUnexpectedEvent = false,
bool UseCalculate = false, bool UseCalculate = false,
@ -162,7 +162,7 @@ public struct ConquestEventExcel : IFlatbufferObject
ConquestEventExcel.AddEvnetScenarioBG(builder, EvnetScenarioBGOffset); ConquestEventExcel.AddEvnetScenarioBG(builder, EvnetScenarioBGOffset);
ConquestEventExcel.AddEvnetMapNameLocalize(builder, EvnetMapNameLocalizeOffset); ConquestEventExcel.AddEvnetMapNameLocalize(builder, EvnetMapNameLocalizeOffset);
ConquestEventExcel.AddEvnetMapGoalLocalize(builder, EvnetMapGoalLocalizeOffset); ConquestEventExcel.AddEvnetMapGoalLocalize(builder, EvnetMapGoalLocalizeOffset);
ConquestEventExcel.AddConquestEventType_(builder, ConquestEventType_); ConquestEventExcel.AddConquestEventType(builder, ConquestEventType);
ConquestEventExcel.AddUseConquestObject(builder, UseConquestObject); ConquestEventExcel.AddUseConquestObject(builder, UseConquestObject);
ConquestEventExcel.AddUseCalculate(builder, UseCalculate); ConquestEventExcel.AddUseCalculate(builder, UseCalculate);
ConquestEventExcel.AddUseUnexpectedEvent(builder, UseUnexpectedEvent); ConquestEventExcel.AddUseUnexpectedEvent(builder, UseUnexpectedEvent);
@ -173,7 +173,7 @@ public struct ConquestEventExcel : IFlatbufferObject
public static void StartConquestEventExcel(FlatBufferBuilder builder) { builder.StartTable(26); } public static void StartConquestEventExcel(FlatBufferBuilder builder) { builder.StartTable(26); }
public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); }
public static void AddMainStoryEventContentId(FlatBufferBuilder builder, long mainStoryEventContentId) { builder.AddLong(1, mainStoryEventContentId, 0); } public static void AddMainStoryEventContentId(FlatBufferBuilder builder, long mainStoryEventContentId) { builder.AddLong(1, mainStoryEventContentId, 0); }
public static void AddConquestEventType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ConquestEventType conquestEventType_) { builder.AddInt(2, (int)conquestEventType_, 0); } public static void AddConquestEventType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ConquestEventType conquestEventType) { builder.AddInt(2, (int)conquestEventType, 0); }
public static void AddUseErosion(FlatBufferBuilder builder, bool useErosion) { builder.AddBool(3, useErosion, false); } public static void AddUseErosion(FlatBufferBuilder builder, bool useErosion) { builder.AddBool(3, useErosion, false); }
public static void AddUseUnexpectedEvent(FlatBufferBuilder builder, bool useUnexpectedEvent) { builder.AddBool(4, useUnexpectedEvent, false); } public static void AddUseUnexpectedEvent(FlatBufferBuilder builder, bool useUnexpectedEvent) { builder.AddBool(4, useUnexpectedEvent, false); }
public static void AddUseCalculate(FlatBufferBuilder builder, bool useCalculate) { builder.AddBool(5, useCalculate, false); } public static void AddUseCalculate(FlatBufferBuilder builder, bool useCalculate) { builder.AddBool(5, useCalculate, false); }
@ -210,7 +210,7 @@ public struct ConquestEventExcel : IFlatbufferObject
byte[] key = TableEncryptionService.CreateKey("ConquestEvent"); byte[] key = TableEncryptionService.CreateKey("ConquestEvent");
_o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key);
_o.MainStoryEventContentId = TableEncryptionService.Convert(this.MainStoryEventContentId, key); _o.MainStoryEventContentId = TableEncryptionService.Convert(this.MainStoryEventContentId, key);
_o.ConquestEventType_ = TableEncryptionService.Convert(this.ConquestEventType_, key); _o.ConquestEventType = TableEncryptionService.Convert(this.ConquestEventType, key);
_o.UseErosion = TableEncryptionService.Convert(this.UseErosion, key); _o.UseErosion = TableEncryptionService.Convert(this.UseErosion, key);
_o.UseUnexpectedEvent = TableEncryptionService.Convert(this.UseUnexpectedEvent, key); _o.UseUnexpectedEvent = TableEncryptionService.Convert(this.UseUnexpectedEvent, key);
_o.UseCalculate = TableEncryptionService.Convert(this.UseCalculate, key); _o.UseCalculate = TableEncryptionService.Convert(this.UseCalculate, key);
@ -252,7 +252,7 @@ public struct ConquestEventExcel : IFlatbufferObject
builder, builder,
_o.EventContentId, _o.EventContentId,
_o.MainStoryEventContentId, _o.MainStoryEventContentId,
_o.ConquestEventType_, _o.ConquestEventType,
_o.UseErosion, _o.UseErosion,
_o.UseUnexpectedEvent, _o.UseUnexpectedEvent,
_o.UseCalculate, _o.UseCalculate,
@ -283,7 +283,7 @@ public class ConquestEventExcelT
{ {
public long EventContentId { get; set; } public long EventContentId { get; set; }
public long MainStoryEventContentId { get; set; } public long MainStoryEventContentId { get; set; }
public SCHALE.Common.FlatData.ConquestEventType ConquestEventType_ { get; set; } public SCHALE.Common.FlatData.ConquestEventType ConquestEventType { get; set; }
public bool UseErosion { get; set; } public bool UseErosion { get; set; }
public bool UseUnexpectedEvent { get; set; } public bool UseUnexpectedEvent { get; set; }
public bool UseCalculate { get; set; } public bool UseCalculate { get; set; }
@ -311,7 +311,7 @@ public class ConquestEventExcelT
public ConquestEventExcelT() { public ConquestEventExcelT() {
this.EventContentId = 0; this.EventContentId = 0;
this.MainStoryEventContentId = 0; this.MainStoryEventContentId = 0;
this.ConquestEventType_ = SCHALE.Common.FlatData.ConquestEventType.None; this.ConquestEventType = SCHALE.Common.FlatData.ConquestEventType.None;
this.UseErosion = false; this.UseErosion = false;
this.UseUnexpectedEvent = false; this.UseUnexpectedEvent = false;
this.UseCalculate = false; this.UseCalculate = false;
@ -346,7 +346,7 @@ static public class ConquestEventExcelVerify
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*MainStoryEventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*MainStoryEventContentId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 8 /*ConquestEventType_*/, 4 /*SCHALE.Common.FlatData.ConquestEventType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*ConquestEventType*/, 4 /*SCHALE.Common.FlatData.ConquestEventType*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*UseErosion*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 10 /*UseErosion*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 12 /*UseUnexpectedEvent*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 12 /*UseUnexpectedEvent*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 14 /*UseCalculate*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 14 /*UseCalculate*/, 1 /*bool*/, 1, false)

View File

@ -22,7 +22,7 @@ public struct ConquestObjectExcel : IFlatbufferObject
public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long EventContentId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventContentId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.ConquestObjectType ConquestObjectType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ConquestObjectType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ConquestObjectType.None; } } public SCHALE.Common.FlatData.ConquestObjectType ConquestObjectType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ConquestObjectType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ConquestObjectType.None; } }
public uint Key { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public uint Key { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } }
public string Name { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string Name { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
@ -48,7 +48,7 @@ public struct ConquestObjectExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.ConquestObjectExcel> CreateConquestObjectExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.ConquestObjectExcel> CreateConquestObjectExcel(FlatBufferBuilder builder,
long Id = 0, long Id = 0,
long EventContentId = 0, long EventContentId = 0,
SCHALE.Common.FlatData.ConquestObjectType ConquestObjectType_ = SCHALE.Common.FlatData.ConquestObjectType.None, SCHALE.Common.FlatData.ConquestObjectType ConquestObjectType = SCHALE.Common.FlatData.ConquestObjectType.None,
uint Key = 0, uint Key = 0,
StringOffset NameOffset = default(StringOffset), StringOffset NameOffset = default(StringOffset),
StringOffset PrefabNameOffset = default(StringOffset), StringOffset PrefabNameOffset = default(StringOffset),
@ -69,7 +69,7 @@ public struct ConquestObjectExcel : IFlatbufferObject
ConquestObjectExcel.AddPrefabName(builder, PrefabNameOffset); ConquestObjectExcel.AddPrefabName(builder, PrefabNameOffset);
ConquestObjectExcel.AddName(builder, NameOffset); ConquestObjectExcel.AddName(builder, NameOffset);
ConquestObjectExcel.AddKey(builder, Key); ConquestObjectExcel.AddKey(builder, Key);
ConquestObjectExcel.AddConquestObjectType_(builder, ConquestObjectType_); ConquestObjectExcel.AddConquestObjectType(builder, ConquestObjectType);
ConquestObjectExcel.AddDisposable(builder, Disposable); ConquestObjectExcel.AddDisposable(builder, Disposable);
return ConquestObjectExcel.EndConquestObjectExcel(builder); return ConquestObjectExcel.EndConquestObjectExcel(builder);
} }
@ -77,7 +77,7 @@ public struct ConquestObjectExcel : IFlatbufferObject
public static void StartConquestObjectExcel(FlatBufferBuilder builder) { builder.StartTable(12); } public static void StartConquestObjectExcel(FlatBufferBuilder builder) { builder.StartTable(12); }
public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); }
public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(1, eventContentId, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(1, eventContentId, 0); }
public static void AddConquestObjectType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ConquestObjectType conquestObjectType_) { builder.AddInt(2, (int)conquestObjectType_, 0); } public static void AddConquestObjectType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ConquestObjectType conquestObjectType) { builder.AddInt(2, (int)conquestObjectType, 0); }
public static void AddKey(FlatBufferBuilder builder, uint key) { builder.AddUint(3, key, 0); } public static void AddKey(FlatBufferBuilder builder, uint key) { builder.AddUint(3, key, 0); }
public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(4, nameOffset.Value, 0); } public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(4, nameOffset.Value, 0); }
public static void AddPrefabName(FlatBufferBuilder builder, StringOffset prefabNameOffset) { builder.AddOffset(5, prefabNameOffset.Value, 0); } public static void AddPrefabName(FlatBufferBuilder builder, StringOffset prefabNameOffset) { builder.AddOffset(5, prefabNameOffset.Value, 0); }
@ -100,7 +100,7 @@ public struct ConquestObjectExcel : IFlatbufferObject
byte[] key = TableEncryptionService.CreateKey("ConquestObject"); byte[] key = TableEncryptionService.CreateKey("ConquestObject");
_o.Id = TableEncryptionService.Convert(this.Id, key); _o.Id = TableEncryptionService.Convert(this.Id, key);
_o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key);
_o.ConquestObjectType_ = TableEncryptionService.Convert(this.ConquestObjectType_, key); _o.ConquestObjectType = TableEncryptionService.Convert(this.ConquestObjectType, key);
_o.Key = TableEncryptionService.Convert(this.Key, key); _o.Key = TableEncryptionService.Convert(this.Key, key);
_o.Name = TableEncryptionService.Convert(this.Name, key); _o.Name = TableEncryptionService.Convert(this.Name, key);
_o.PrefabName = TableEncryptionService.Convert(this.PrefabName, key); _o.PrefabName = TableEncryptionService.Convert(this.PrefabName, key);
@ -119,7 +119,7 @@ public struct ConquestObjectExcel : IFlatbufferObject
builder, builder,
_o.Id, _o.Id,
_o.EventContentId, _o.EventContentId,
_o.ConquestObjectType_, _o.ConquestObjectType,
_o.Key, _o.Key,
_Name, _Name,
_PrefabName, _PrefabName,
@ -136,7 +136,7 @@ public class ConquestObjectExcelT
{ {
public long Id { get; set; } public long Id { get; set; }
public long EventContentId { get; set; } public long EventContentId { get; set; }
public SCHALE.Common.FlatData.ConquestObjectType ConquestObjectType_ { get; set; } public SCHALE.Common.FlatData.ConquestObjectType ConquestObjectType { get; set; }
public uint Key { get; set; } public uint Key { get; set; }
public string Name { get; set; } public string Name { get; set; }
public string PrefabName { get; set; } public string PrefabName { get; set; }
@ -150,7 +150,7 @@ public class ConquestObjectExcelT
public ConquestObjectExcelT() { public ConquestObjectExcelT() {
this.Id = 0; this.Id = 0;
this.EventContentId = 0; this.EventContentId = 0;
this.ConquestObjectType_ = SCHALE.Common.FlatData.ConquestObjectType.None; this.ConquestObjectType = SCHALE.Common.FlatData.ConquestObjectType.None;
this.Key = 0; this.Key = 0;
this.Name = null; this.Name = null;
this.PrefabName = null; this.PrefabName = null;
@ -171,7 +171,7 @@ static public class ConquestObjectExcelVerify
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*EventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*EventContentId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 8 /*ConquestObjectType_*/, 4 /*SCHALE.Common.FlatData.ConquestObjectType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*ConquestObjectType*/, 4 /*SCHALE.Common.FlatData.ConquestObjectType*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*Key*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 10 /*Key*/, 4 /*uint*/, 4, false)
&& verifier.VerifyString(tablePos, 12 /*Name*/, false) && verifier.VerifyString(tablePos, 12 /*Name*/, false)
&& verifier.VerifyString(tablePos, 14 /*PrefabName*/, false) && verifier.VerifyString(tablePos, 14 /*PrefabName*/, false)

View File

@ -21,7 +21,7 @@ public struct ConquestRewardExcel : IFlatbufferObject
public ConquestRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public ConquestRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long GroupId { 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(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.RewardTag RewardTag_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } public SCHALE.Common.FlatData.RewardTag RewardTag { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } }
public int RewardProb { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int RewardProb { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public SCHALE.Common.FlatData.ParcelType RewardParcelType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } }
public long RewardId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long RewardId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -30,7 +30,7 @@ public struct ConquestRewardExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.ConquestRewardExcel> CreateConquestRewardExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.ConquestRewardExcel> CreateConquestRewardExcel(FlatBufferBuilder builder,
long GroupId = 0, long GroupId = 0,
SCHALE.Common.FlatData.RewardTag RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default, SCHALE.Common.FlatData.RewardTag RewardTag = SCHALE.Common.FlatData.RewardTag.Default,
int RewardProb = 0, int RewardProb = 0,
SCHALE.Common.FlatData.ParcelType RewardParcelType = SCHALE.Common.FlatData.ParcelType.None, SCHALE.Common.FlatData.ParcelType RewardParcelType = SCHALE.Common.FlatData.ParcelType.None,
long RewardId = 0, long RewardId = 0,
@ -42,14 +42,14 @@ public struct ConquestRewardExcel : IFlatbufferObject
ConquestRewardExcel.AddRewardAmount(builder, RewardAmount); ConquestRewardExcel.AddRewardAmount(builder, RewardAmount);
ConquestRewardExcel.AddRewardParcelType(builder, RewardParcelType); ConquestRewardExcel.AddRewardParcelType(builder, RewardParcelType);
ConquestRewardExcel.AddRewardProb(builder, RewardProb); ConquestRewardExcel.AddRewardProb(builder, RewardProb);
ConquestRewardExcel.AddRewardTag_(builder, RewardTag_); ConquestRewardExcel.AddRewardTag(builder, RewardTag);
ConquestRewardExcel.AddIsDisplayed(builder, IsDisplayed); ConquestRewardExcel.AddIsDisplayed(builder, IsDisplayed);
return ConquestRewardExcel.EndConquestRewardExcel(builder); return ConquestRewardExcel.EndConquestRewardExcel(builder);
} }
public static void StartConquestRewardExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void StartConquestRewardExcel(FlatBufferBuilder builder) { builder.StartTable(7); }
public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(0, groupId, 0); } public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(0, groupId, 0); }
public static void AddRewardTag_(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag_) { builder.AddInt(1, (int)rewardTag_, 0); } public static void AddRewardTag(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag) { builder.AddInt(1, (int)rewardTag, 0); }
public static void AddRewardProb(FlatBufferBuilder builder, int rewardProb) { builder.AddInt(2, rewardProb, 0); } public static void AddRewardProb(FlatBufferBuilder builder, int rewardProb) { builder.AddInt(2, rewardProb, 0); }
public static void AddRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType rewardParcelType) { builder.AddInt(3, (int)rewardParcelType, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType rewardParcelType) { builder.AddInt(3, (int)rewardParcelType, 0); }
public static void AddRewardId(FlatBufferBuilder builder, long rewardId) { builder.AddLong(4, rewardId, 0); } public static void AddRewardId(FlatBufferBuilder builder, long rewardId) { builder.AddLong(4, rewardId, 0); }
@ -67,7 +67,7 @@ public struct ConquestRewardExcel : IFlatbufferObject
public void UnPackTo(ConquestRewardExcelT _o) { public void UnPackTo(ConquestRewardExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("ConquestReward"); byte[] key = TableEncryptionService.CreateKey("ConquestReward");
_o.GroupId = TableEncryptionService.Convert(this.GroupId, key); _o.GroupId = TableEncryptionService.Convert(this.GroupId, key);
_o.RewardTag_ = TableEncryptionService.Convert(this.RewardTag_, key); _o.RewardTag = TableEncryptionService.Convert(this.RewardTag, key);
_o.RewardProb = TableEncryptionService.Convert(this.RewardProb, key); _o.RewardProb = TableEncryptionService.Convert(this.RewardProb, key);
_o.RewardParcelType = TableEncryptionService.Convert(this.RewardParcelType, key); _o.RewardParcelType = TableEncryptionService.Convert(this.RewardParcelType, key);
_o.RewardId = TableEncryptionService.Convert(this.RewardId, key); _o.RewardId = TableEncryptionService.Convert(this.RewardId, key);
@ -79,7 +79,7 @@ public struct ConquestRewardExcel : IFlatbufferObject
return CreateConquestRewardExcel( return CreateConquestRewardExcel(
builder, builder,
_o.GroupId, _o.GroupId,
_o.RewardTag_, _o.RewardTag,
_o.RewardProb, _o.RewardProb,
_o.RewardParcelType, _o.RewardParcelType,
_o.RewardId, _o.RewardId,
@ -91,7 +91,7 @@ public struct ConquestRewardExcel : IFlatbufferObject
public class ConquestRewardExcelT public class ConquestRewardExcelT
{ {
public long GroupId { get; set; } public long GroupId { get; set; }
public SCHALE.Common.FlatData.RewardTag RewardTag_ { get; set; } public SCHALE.Common.FlatData.RewardTag RewardTag { get; set; }
public int RewardProb { get; set; } public int RewardProb { get; set; }
public SCHALE.Common.FlatData.ParcelType RewardParcelType { get; set; } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get; set; }
public long RewardId { get; set; } public long RewardId { get; set; }
@ -100,7 +100,7 @@ public class ConquestRewardExcelT
public ConquestRewardExcelT() { public ConquestRewardExcelT() {
this.GroupId = 0; this.GroupId = 0;
this.RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default; this.RewardTag = SCHALE.Common.FlatData.RewardTag.Default;
this.RewardProb = 0; this.RewardProb = 0;
this.RewardParcelType = SCHALE.Common.FlatData.ParcelType.None; this.RewardParcelType = SCHALE.Common.FlatData.ParcelType.None;
this.RewardId = 0; this.RewardId = 0;
@ -116,7 +116,7 @@ static public class ConquestRewardExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*GroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*GroupId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*RewardTag_*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) && verifier.VerifyField(tablePos, 6 /*RewardTag*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*RewardProb*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 8 /*RewardProb*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false)
&& verifier.VerifyField(tablePos, 12 /*RewardId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*RewardId*/, 8 /*long*/, 8, false)

View File

@ -91,11 +91,11 @@ public struct ConquestUnitExcel : IFlatbufferObject
public long EnterScenarioGroupId { get { int o = __p.__offset(52); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EnterScenarioGroupId { get { int o = __p.__offset(52); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long ClearScenarioGroupId { get { int o = __p.__offset(54); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ClearScenarioGroupId { get { int o = __p.__offset(54); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long ConquestRewardId { get { int o = __p.__offset(56); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ConquestRewardId { get { int o = __p.__offset(56); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.StageTopography StageTopography_ { get { int o = __p.__offset(58); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } public SCHALE.Common.FlatData.StageTopography StageTopography { get { int o = __p.__offset(58); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } }
public int RecommandLevel { get { int o = __p.__offset(60); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int RecommandLevel { get { int o = __p.__offset(60); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public long TacticRewardExp { get { int o = __p.__offset(62); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long TacticRewardExp { get { int o = __p.__offset(62); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long FixedEchelonId { get { int o = __p.__offset(64); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long FixedEchelonId { get { int o = __p.__offset(64); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get { int o = __p.__offset(66); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get { int o = __p.__offset(66); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } }
public static Offset<SCHALE.Common.FlatData.ConquestUnitExcel> CreateConquestUnitExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.ConquestUnitExcel> CreateConquestUnitExcel(FlatBufferBuilder builder,
long Id = 0, long Id = 0,
@ -125,11 +125,11 @@ public struct ConquestUnitExcel : IFlatbufferObject
long EnterScenarioGroupId = 0, long EnterScenarioGroupId = 0,
long ClearScenarioGroupId = 0, long ClearScenarioGroupId = 0,
long ConquestRewardId = 0, long ConquestRewardId = 0,
SCHALE.Common.FlatData.StageTopography StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street, SCHALE.Common.FlatData.StageTopography StageTopography = SCHALE.Common.FlatData.StageTopography.Street,
int RecommandLevel = 0, int RecommandLevel = 0,
long TacticRewardExp = 0, long TacticRewardExp = 0,
long FixedEchelonId = 0, long FixedEchelonId = 0,
SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base) { SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base) {
builder.StartTable(32); builder.StartTable(32);
ConquestUnitExcel.AddFixedEchelonId(builder, FixedEchelonId); ConquestUnitExcel.AddFixedEchelonId(builder, FixedEchelonId);
ConquestUnitExcel.AddTacticRewardExp(builder, TacticRewardExp); ConquestUnitExcel.AddTacticRewardExp(builder, TacticRewardExp);
@ -144,9 +144,9 @@ public struct ConquestUnitExcel : IFlatbufferObject
ConquestUnitExcel.AddPrevUnitGroup(builder, PrevUnitGroup); ConquestUnitExcel.AddPrevUnitGroup(builder, PrevUnitGroup);
ConquestUnitExcel.AddUnitGroup(builder, UnitGroup); ConquestUnitExcel.AddUnitGroup(builder, UnitGroup);
ConquestUnitExcel.AddId(builder, Id); ConquestUnitExcel.AddId(builder, Id);
ConquestUnitExcel.AddEchelonExtensionType_(builder, EchelonExtensionType_); ConquestUnitExcel.AddEchelonExtensionType(builder, EchelonExtensionType);
ConquestUnitExcel.AddRecommandLevel(builder, RecommandLevel); ConquestUnitExcel.AddRecommandLevel(builder, RecommandLevel);
ConquestUnitExcel.AddStageTopography_(builder, StageTopography_); ConquestUnitExcel.AddStageTopography(builder, StageTopography);
ConquestUnitExcel.AddManageEchelonStageEnterCostAmount(builder, ManageEchelonStageEnterCostAmount); ConquestUnitExcel.AddManageEchelonStageEnterCostAmount(builder, ManageEchelonStageEnterCostAmount);
ConquestUnitExcel.AddManageEchelonStageEnterCostType(builder, ManageEchelonStageEnterCostType); ConquestUnitExcel.AddManageEchelonStageEnterCostType(builder, ManageEchelonStageEnterCostType);
ConquestUnitExcel.AddStageEnterCostAmount(builder, StageEnterCostAmount); ConquestUnitExcel.AddStageEnterCostAmount(builder, StageEnterCostAmount);
@ -204,11 +204,11 @@ public struct ConquestUnitExcel : IFlatbufferObject
public static void AddEnterScenarioGroupId(FlatBufferBuilder builder, long enterScenarioGroupId) { builder.AddLong(24, enterScenarioGroupId, 0); } public static void AddEnterScenarioGroupId(FlatBufferBuilder builder, long enterScenarioGroupId) { builder.AddLong(24, enterScenarioGroupId, 0); }
public static void AddClearScenarioGroupId(FlatBufferBuilder builder, long clearScenarioGroupId) { builder.AddLong(25, clearScenarioGroupId, 0); } public static void AddClearScenarioGroupId(FlatBufferBuilder builder, long clearScenarioGroupId) { builder.AddLong(25, clearScenarioGroupId, 0); }
public static void AddConquestRewardId(FlatBufferBuilder builder, long conquestRewardId) { builder.AddLong(26, conquestRewardId, 0); } public static void AddConquestRewardId(FlatBufferBuilder builder, long conquestRewardId) { builder.AddLong(26, conquestRewardId, 0); }
public static void AddStageTopography_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography_) { builder.AddInt(27, (int)stageTopography_, 0); } public static void AddStageTopography(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography) { builder.AddInt(27, (int)stageTopography, 0); }
public static void AddRecommandLevel(FlatBufferBuilder builder, int recommandLevel) { builder.AddInt(28, recommandLevel, 0); } public static void AddRecommandLevel(FlatBufferBuilder builder, int recommandLevel) { builder.AddInt(28, recommandLevel, 0); }
public static void AddTacticRewardExp(FlatBufferBuilder builder, long tacticRewardExp) { builder.AddLong(29, tacticRewardExp, 0); } public static void AddTacticRewardExp(FlatBufferBuilder builder, long tacticRewardExp) { builder.AddLong(29, tacticRewardExp, 0); }
public static void AddFixedEchelonId(FlatBufferBuilder builder, long fixedEchelonId) { builder.AddLong(30, fixedEchelonId, 0); } public static void AddFixedEchelonId(FlatBufferBuilder builder, long fixedEchelonId) { builder.AddLong(30, fixedEchelonId, 0); }
public static void AddEchelonExtensionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType_) { builder.AddInt(31, (int)echelonExtensionType_, 0); } public static void AddEchelonExtensionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType) { builder.AddInt(31, (int)echelonExtensionType, 0); }
public static Offset<SCHALE.Common.FlatData.ConquestUnitExcel> EndConquestUnitExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.ConquestUnitExcel> EndConquestUnitExcel(FlatBufferBuilder builder) {
int o = builder.EndTable(); int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.ConquestUnitExcel>(o); return new Offset<SCHALE.Common.FlatData.ConquestUnitExcel>(o);
@ -249,11 +249,11 @@ public struct ConquestUnitExcel : IFlatbufferObject
_o.EnterScenarioGroupId = TableEncryptionService.Convert(this.EnterScenarioGroupId, key); _o.EnterScenarioGroupId = TableEncryptionService.Convert(this.EnterScenarioGroupId, key);
_o.ClearScenarioGroupId = TableEncryptionService.Convert(this.ClearScenarioGroupId, key); _o.ClearScenarioGroupId = TableEncryptionService.Convert(this.ClearScenarioGroupId, key);
_o.ConquestRewardId = TableEncryptionService.Convert(this.ConquestRewardId, key); _o.ConquestRewardId = TableEncryptionService.Convert(this.ConquestRewardId, key);
_o.StageTopography_ = TableEncryptionService.Convert(this.StageTopography_, key); _o.StageTopography = TableEncryptionService.Convert(this.StageTopography, key);
_o.RecommandLevel = TableEncryptionService.Convert(this.RecommandLevel, key); _o.RecommandLevel = TableEncryptionService.Convert(this.RecommandLevel, key);
_o.TacticRewardExp = TableEncryptionService.Convert(this.TacticRewardExp, key); _o.TacticRewardExp = TableEncryptionService.Convert(this.TacticRewardExp, key);
_o.FixedEchelonId = TableEncryptionService.Convert(this.FixedEchelonId, key); _o.FixedEchelonId = TableEncryptionService.Convert(this.FixedEchelonId, key);
_o.EchelonExtensionType_ = TableEncryptionService.Convert(this.EchelonExtensionType_, key); _o.EchelonExtensionType = TableEncryptionService.Convert(this.EchelonExtensionType, key);
} }
public static Offset<SCHALE.Common.FlatData.ConquestUnitExcel> Pack(FlatBufferBuilder builder, ConquestUnitExcelT _o) { public static Offset<SCHALE.Common.FlatData.ConquestUnitExcel> Pack(FlatBufferBuilder builder, ConquestUnitExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.ConquestUnitExcel>); if (_o == null) return default(Offset<SCHALE.Common.FlatData.ConquestUnitExcel>);
@ -301,11 +301,11 @@ public struct ConquestUnitExcel : IFlatbufferObject
_o.EnterScenarioGroupId, _o.EnterScenarioGroupId,
_o.ClearScenarioGroupId, _o.ClearScenarioGroupId,
_o.ConquestRewardId, _o.ConquestRewardId,
_o.StageTopography_, _o.StageTopography,
_o.RecommandLevel, _o.RecommandLevel,
_o.TacticRewardExp, _o.TacticRewardExp,
_o.FixedEchelonId, _o.FixedEchelonId,
_o.EchelonExtensionType_); _o.EchelonExtensionType);
} }
} }
@ -338,11 +338,11 @@ public class ConquestUnitExcelT
public long EnterScenarioGroupId { get; set; } public long EnterScenarioGroupId { get; set; }
public long ClearScenarioGroupId { get; set; } public long ClearScenarioGroupId { get; set; }
public long ConquestRewardId { get; set; } public long ConquestRewardId { get; set; }
public SCHALE.Common.FlatData.StageTopography StageTopography_ { get; set; } public SCHALE.Common.FlatData.StageTopography StageTopography { get; set; }
public int RecommandLevel { get; set; } public int RecommandLevel { get; set; }
public long TacticRewardExp { get; set; } public long TacticRewardExp { get; set; }
public long FixedEchelonId { get; set; } public long FixedEchelonId { get; set; }
public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get; set; } public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get; set; }
public ConquestUnitExcelT() { public ConquestUnitExcelT() {
this.Id = 0; this.Id = 0;
@ -372,11 +372,11 @@ public class ConquestUnitExcelT
this.EnterScenarioGroupId = 0; this.EnterScenarioGroupId = 0;
this.ClearScenarioGroupId = 0; this.ClearScenarioGroupId = 0;
this.ConquestRewardId = 0; this.ConquestRewardId = 0;
this.StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street; this.StageTopography = SCHALE.Common.FlatData.StageTopography.Street;
this.RecommandLevel = 0; this.RecommandLevel = 0;
this.TacticRewardExp = 0; this.TacticRewardExp = 0;
this.FixedEchelonId = 0; this.FixedEchelonId = 0;
this.EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base; this.EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base;
} }
} }
@ -413,11 +413,11 @@ static public class ConquestUnitExcelVerify
&& verifier.VerifyField(tablePos, 52 /*EnterScenarioGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 52 /*EnterScenarioGroupId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 54 /*ClearScenarioGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 54 /*ClearScenarioGroupId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 56 /*ConquestRewardId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 56 /*ConquestRewardId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 58 /*StageTopography_*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) && verifier.VerifyField(tablePos, 58 /*StageTopography*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false)
&& verifier.VerifyField(tablePos, 60 /*RecommandLevel*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 60 /*RecommandLevel*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 62 /*TacticRewardExp*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 62 /*TacticRewardExp*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 64 /*FixedEchelonId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 64 /*FixedEchelonId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 66 /*EchelonExtensionType_*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) && verifier.VerifyField(tablePos, 66 /*EchelonExtensionType*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);
} }
} }

View File

@ -125,6 +125,7 @@ public struct ConstArenaExcel : IFlatbufferObject
#endif #endif
public byte[] GetShowSeasonChangeInfoEndTimeArray() { return __p.__vector_as_array<byte>(64); } public byte[] GetShowSeasonChangeInfoEndTimeArray() { return __p.__vector_as_array<byte>(64); }
public long ShowSeasonId { get { int o = __p.__offset(66); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ShowSeasonId { get { int o = __p.__offset(66); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public int ArenaHistoryQueryLimitDays { get { int o = __p.__offset(68); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public static Offset<SCHALE.Common.FlatData.ConstArenaExcel> CreateConstArenaExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.ConstArenaExcel> CreateConstArenaExcel(FlatBufferBuilder builder,
long AttackCoolTime = 0, long AttackCoolTime = 0,
@ -158,8 +159,9 @@ public struct ConstArenaExcel : IFlatbufferObject
long SkipAllowedTimeMilliSeconds = 0, long SkipAllowedTimeMilliSeconds = 0,
StringOffset ShowSeasonChangeInfoStartTimeOffset = default(StringOffset), StringOffset ShowSeasonChangeInfoStartTimeOffset = default(StringOffset),
StringOffset ShowSeasonChangeInfoEndTimeOffset = default(StringOffset), StringOffset ShowSeasonChangeInfoEndTimeOffset = default(StringOffset),
long ShowSeasonId = 0) { long ShowSeasonId = 0,
builder.StartTable(32); int ArenaHistoryQueryLimitDays = 0) {
builder.StartTable(33);
ConstArenaExcel.AddShowSeasonId(builder, ShowSeasonId); ConstArenaExcel.AddShowSeasonId(builder, ShowSeasonId);
ConstArenaExcel.AddSkipAllowedTimeMilliSeconds(builder, SkipAllowedTimeMilliSeconds); ConstArenaExcel.AddSkipAllowedTimeMilliSeconds(builder, SkipAllowedTimeMilliSeconds);
ConstArenaExcel.AddEchelonSettingIntervalMilliSeconds(builder, EchelonSettingIntervalMilliSeconds); ConstArenaExcel.AddEchelonSettingIntervalMilliSeconds(builder, EchelonSettingIntervalMilliSeconds);
@ -179,6 +181,7 @@ public struct ConstArenaExcel : IFlatbufferObject
ConstArenaExcel.AddDefenseCoolTime(builder, DefenseCoolTime); ConstArenaExcel.AddDefenseCoolTime(builder, DefenseCoolTime);
ConstArenaExcel.AddBattleDuration(builder, BattleDuration); ConstArenaExcel.AddBattleDuration(builder, BattleDuration);
ConstArenaExcel.AddAttackCoolTime(builder, AttackCoolTime); ConstArenaExcel.AddAttackCoolTime(builder, AttackCoolTime);
ConstArenaExcel.AddArenaHistoryQueryLimitDays(builder, ArenaHistoryQueryLimitDays);
ConstArenaExcel.AddShowSeasonChangeInfoEndTime(builder, ShowSeasonChangeInfoEndTimeOffset); ConstArenaExcel.AddShowSeasonChangeInfoEndTime(builder, ShowSeasonChangeInfoEndTimeOffset);
ConstArenaExcel.AddShowSeasonChangeInfoStartTime(builder, ShowSeasonChangeInfoStartTimeOffset); ConstArenaExcel.AddShowSeasonChangeInfoStartTime(builder, ShowSeasonChangeInfoStartTimeOffset);
ConstArenaExcel.AddHiddenCharacterImagePath(builder, HiddenCharacterImagePathOffset); ConstArenaExcel.AddHiddenCharacterImagePath(builder, HiddenCharacterImagePathOffset);
@ -195,7 +198,7 @@ public struct ConstArenaExcel : IFlatbufferObject
return ConstArenaExcel.EndConstArenaExcel(builder); return ConstArenaExcel.EndConstArenaExcel(builder);
} }
public static void StartConstArenaExcel(FlatBufferBuilder builder) { builder.StartTable(32); } public static void StartConstArenaExcel(FlatBufferBuilder builder) { builder.StartTable(33); }
public static void AddAttackCoolTime(FlatBufferBuilder builder, long attackCoolTime) { builder.AddLong(0, attackCoolTime, 0); } public static void AddAttackCoolTime(FlatBufferBuilder builder, long attackCoolTime) { builder.AddLong(0, attackCoolTime, 0); }
public static void AddBattleDuration(FlatBufferBuilder builder, long battleDuration) { builder.AddLong(1, battleDuration, 0); } public static void AddBattleDuration(FlatBufferBuilder builder, long battleDuration) { builder.AddLong(1, battleDuration, 0); }
public static void AddDefenseCoolTime(FlatBufferBuilder builder, long defenseCoolTime) { builder.AddLong(2, defenseCoolTime, 0); } public static void AddDefenseCoolTime(FlatBufferBuilder builder, long defenseCoolTime) { builder.AddLong(2, defenseCoolTime, 0); }
@ -263,6 +266,7 @@ public struct ConstArenaExcel : IFlatbufferObject
public static void AddShowSeasonChangeInfoStartTime(FlatBufferBuilder builder, StringOffset showSeasonChangeInfoStartTimeOffset) { builder.AddOffset(29, showSeasonChangeInfoStartTimeOffset.Value, 0); } public static void AddShowSeasonChangeInfoStartTime(FlatBufferBuilder builder, StringOffset showSeasonChangeInfoStartTimeOffset) { builder.AddOffset(29, showSeasonChangeInfoStartTimeOffset.Value, 0); }
public static void AddShowSeasonChangeInfoEndTime(FlatBufferBuilder builder, StringOffset showSeasonChangeInfoEndTimeOffset) { builder.AddOffset(30, showSeasonChangeInfoEndTimeOffset.Value, 0); } public static void AddShowSeasonChangeInfoEndTime(FlatBufferBuilder builder, StringOffset showSeasonChangeInfoEndTimeOffset) { builder.AddOffset(30, showSeasonChangeInfoEndTimeOffset.Value, 0); }
public static void AddShowSeasonId(FlatBufferBuilder builder, long showSeasonId) { builder.AddLong(31, showSeasonId, 0); } public static void AddShowSeasonId(FlatBufferBuilder builder, long showSeasonId) { builder.AddLong(31, showSeasonId, 0); }
public static void AddArenaHistoryQueryLimitDays(FlatBufferBuilder builder, int arenaHistoryQueryLimitDays) { builder.AddInt(32, arenaHistoryQueryLimitDays, 0); }
public static Offset<SCHALE.Common.FlatData.ConstArenaExcel> EndConstArenaExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.ConstArenaExcel> EndConstArenaExcel(FlatBufferBuilder builder) {
int o = builder.EndTable(); int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.ConstArenaExcel>(o); return new Offset<SCHALE.Common.FlatData.ConstArenaExcel>(o);
@ -313,6 +317,7 @@ public struct ConstArenaExcel : IFlatbufferObject
_o.ShowSeasonChangeInfoStartTime = TableEncryptionService.Convert(this.ShowSeasonChangeInfoStartTime, key); _o.ShowSeasonChangeInfoStartTime = TableEncryptionService.Convert(this.ShowSeasonChangeInfoStartTime, key);
_o.ShowSeasonChangeInfoEndTime = TableEncryptionService.Convert(this.ShowSeasonChangeInfoEndTime, key); _o.ShowSeasonChangeInfoEndTime = TableEncryptionService.Convert(this.ShowSeasonChangeInfoEndTime, key);
_o.ShowSeasonId = TableEncryptionService.Convert(this.ShowSeasonId, key); _o.ShowSeasonId = TableEncryptionService.Convert(this.ShowSeasonId, key);
_o.ArenaHistoryQueryLimitDays = TableEncryptionService.Convert(this.ArenaHistoryQueryLimitDays, key);
} }
public static Offset<SCHALE.Common.FlatData.ConstArenaExcel> Pack(FlatBufferBuilder builder, ConstArenaExcelT _o) { public static Offset<SCHALE.Common.FlatData.ConstArenaExcel> Pack(FlatBufferBuilder builder, ConstArenaExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.ConstArenaExcel>); if (_o == null) return default(Offset<SCHALE.Common.FlatData.ConstArenaExcel>);
@ -390,7 +395,8 @@ public struct ConstArenaExcel : IFlatbufferObject
_o.SkipAllowedTimeMilliSeconds, _o.SkipAllowedTimeMilliSeconds,
_ShowSeasonChangeInfoStartTime, _ShowSeasonChangeInfoStartTime,
_ShowSeasonChangeInfoEndTime, _ShowSeasonChangeInfoEndTime,
_o.ShowSeasonId); _o.ShowSeasonId,
_o.ArenaHistoryQueryLimitDays);
} }
} }
@ -428,6 +434,7 @@ public class ConstArenaExcelT
public string ShowSeasonChangeInfoStartTime { get; set; } public string ShowSeasonChangeInfoStartTime { get; set; }
public string ShowSeasonChangeInfoEndTime { get; set; } public string ShowSeasonChangeInfoEndTime { get; set; }
public long ShowSeasonId { get; set; } public long ShowSeasonId { get; set; }
public int ArenaHistoryQueryLimitDays { get; set; }
public ConstArenaExcelT() { public ConstArenaExcelT() {
this.AttackCoolTime = 0; this.AttackCoolTime = 0;
@ -462,6 +469,7 @@ public class ConstArenaExcelT
this.ShowSeasonChangeInfoStartTime = null; this.ShowSeasonChangeInfoStartTime = null;
this.ShowSeasonChangeInfoEndTime = null; this.ShowSeasonChangeInfoEndTime = null;
this.ShowSeasonId = 0; this.ShowSeasonId = 0;
this.ArenaHistoryQueryLimitDays = 0;
} }
} }
@ -503,6 +511,7 @@ static public class ConstArenaExcelVerify
&& verifier.VerifyString(tablePos, 62 /*ShowSeasonChangeInfoStartTime*/, false) && verifier.VerifyString(tablePos, 62 /*ShowSeasonChangeInfoStartTime*/, false)
&& verifier.VerifyString(tablePos, 64 /*ShowSeasonChangeInfoEndTime*/, false) && verifier.VerifyString(tablePos, 64 /*ShowSeasonChangeInfoEndTime*/, false)
&& verifier.VerifyField(tablePos, 66 /*ShowSeasonId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 66 /*ShowSeasonId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 68 /*ArenaHistoryQueryLimitDays*/, 4 /*int*/, 4, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -21,7 +21,7 @@ public struct ContentEnterCostReduceExcel : IFlatbufferObject
public ContentEnterCostReduceExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public ContentEnterCostReduceExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long EnterCostReduceGroupId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EnterCostReduceGroupId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.ContentType ContentType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } public SCHALE.Common.FlatData.ContentType ContentType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } }
public long StageId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long StageId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.ParcelType ReduceEnterCostType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public SCHALE.Common.FlatData.ParcelType ReduceEnterCostType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } }
public long ReduceEnterCostId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ReduceEnterCostId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -29,7 +29,7 @@ public struct ContentEnterCostReduceExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.ContentEnterCostReduceExcel> CreateContentEnterCostReduceExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.ContentEnterCostReduceExcel> CreateContentEnterCostReduceExcel(FlatBufferBuilder builder,
long EnterCostReduceGroupId = 0, long EnterCostReduceGroupId = 0,
SCHALE.Common.FlatData.ContentType ContentType_ = SCHALE.Common.FlatData.ContentType.None, SCHALE.Common.FlatData.ContentType ContentType = SCHALE.Common.FlatData.ContentType.None,
long StageId = 0, long StageId = 0,
SCHALE.Common.FlatData.ParcelType ReduceEnterCostType = SCHALE.Common.FlatData.ParcelType.None, SCHALE.Common.FlatData.ParcelType ReduceEnterCostType = SCHALE.Common.FlatData.ParcelType.None,
long ReduceEnterCostId = 0, long ReduceEnterCostId = 0,
@ -40,13 +40,13 @@ public struct ContentEnterCostReduceExcel : IFlatbufferObject
ContentEnterCostReduceExcel.AddStageId(builder, StageId); ContentEnterCostReduceExcel.AddStageId(builder, StageId);
ContentEnterCostReduceExcel.AddEnterCostReduceGroupId(builder, EnterCostReduceGroupId); ContentEnterCostReduceExcel.AddEnterCostReduceGroupId(builder, EnterCostReduceGroupId);
ContentEnterCostReduceExcel.AddReduceEnterCostType(builder, ReduceEnterCostType); ContentEnterCostReduceExcel.AddReduceEnterCostType(builder, ReduceEnterCostType);
ContentEnterCostReduceExcel.AddContentType_(builder, ContentType_); ContentEnterCostReduceExcel.AddContentType(builder, ContentType);
return ContentEnterCostReduceExcel.EndContentEnterCostReduceExcel(builder); return ContentEnterCostReduceExcel.EndContentEnterCostReduceExcel(builder);
} }
public static void StartContentEnterCostReduceExcel(FlatBufferBuilder builder) { builder.StartTable(6); } public static void StartContentEnterCostReduceExcel(FlatBufferBuilder builder) { builder.StartTable(6); }
public static void AddEnterCostReduceGroupId(FlatBufferBuilder builder, long enterCostReduceGroupId) { builder.AddLong(0, enterCostReduceGroupId, 0); } public static void AddEnterCostReduceGroupId(FlatBufferBuilder builder, long enterCostReduceGroupId) { builder.AddLong(0, enterCostReduceGroupId, 0); }
public static void AddContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType_) { builder.AddInt(1, (int)contentType_, 0); } public static void AddContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType) { builder.AddInt(1, (int)contentType, 0); }
public static void AddStageId(FlatBufferBuilder builder, long stageId) { builder.AddLong(2, stageId, 0); } public static void AddStageId(FlatBufferBuilder builder, long stageId) { builder.AddLong(2, stageId, 0); }
public static void AddReduceEnterCostType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType reduceEnterCostType) { builder.AddInt(3, (int)reduceEnterCostType, 0); } public static void AddReduceEnterCostType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType reduceEnterCostType) { builder.AddInt(3, (int)reduceEnterCostType, 0); }
public static void AddReduceEnterCostId(FlatBufferBuilder builder, long reduceEnterCostId) { builder.AddLong(4, reduceEnterCostId, 0); } public static void AddReduceEnterCostId(FlatBufferBuilder builder, long reduceEnterCostId) { builder.AddLong(4, reduceEnterCostId, 0); }
@ -63,7 +63,7 @@ public struct ContentEnterCostReduceExcel : IFlatbufferObject
public void UnPackTo(ContentEnterCostReduceExcelT _o) { public void UnPackTo(ContentEnterCostReduceExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("ContentEnterCostReduce"); byte[] key = TableEncryptionService.CreateKey("ContentEnterCostReduce");
_o.EnterCostReduceGroupId = TableEncryptionService.Convert(this.EnterCostReduceGroupId, key); _o.EnterCostReduceGroupId = TableEncryptionService.Convert(this.EnterCostReduceGroupId, key);
_o.ContentType_ = TableEncryptionService.Convert(this.ContentType_, key); _o.ContentType = TableEncryptionService.Convert(this.ContentType, key);
_o.StageId = TableEncryptionService.Convert(this.StageId, key); _o.StageId = TableEncryptionService.Convert(this.StageId, key);
_o.ReduceEnterCostType = TableEncryptionService.Convert(this.ReduceEnterCostType, key); _o.ReduceEnterCostType = TableEncryptionService.Convert(this.ReduceEnterCostType, key);
_o.ReduceEnterCostId = TableEncryptionService.Convert(this.ReduceEnterCostId, key); _o.ReduceEnterCostId = TableEncryptionService.Convert(this.ReduceEnterCostId, key);
@ -74,7 +74,7 @@ public struct ContentEnterCostReduceExcel : IFlatbufferObject
return CreateContentEnterCostReduceExcel( return CreateContentEnterCostReduceExcel(
builder, builder,
_o.EnterCostReduceGroupId, _o.EnterCostReduceGroupId,
_o.ContentType_, _o.ContentType,
_o.StageId, _o.StageId,
_o.ReduceEnterCostType, _o.ReduceEnterCostType,
_o.ReduceEnterCostId, _o.ReduceEnterCostId,
@ -85,7 +85,7 @@ public struct ContentEnterCostReduceExcel : IFlatbufferObject
public class ContentEnterCostReduceExcelT public class ContentEnterCostReduceExcelT
{ {
public long EnterCostReduceGroupId { get; set; } public long EnterCostReduceGroupId { get; set; }
public SCHALE.Common.FlatData.ContentType ContentType_ { get; set; } public SCHALE.Common.FlatData.ContentType ContentType { get; set; }
public long StageId { get; set; } public long StageId { get; set; }
public SCHALE.Common.FlatData.ParcelType ReduceEnterCostType { get; set; } public SCHALE.Common.FlatData.ParcelType ReduceEnterCostType { get; set; }
public long ReduceEnterCostId { get; set; } public long ReduceEnterCostId { get; set; }
@ -93,7 +93,7 @@ public class ContentEnterCostReduceExcelT
public ContentEnterCostReduceExcelT() { public ContentEnterCostReduceExcelT() {
this.EnterCostReduceGroupId = 0; this.EnterCostReduceGroupId = 0;
this.ContentType_ = SCHALE.Common.FlatData.ContentType.None; this.ContentType = SCHALE.Common.FlatData.ContentType.None;
this.StageId = 0; this.StageId = 0;
this.ReduceEnterCostType = SCHALE.Common.FlatData.ParcelType.None; this.ReduceEnterCostType = SCHALE.Common.FlatData.ParcelType.None;
this.ReduceEnterCostId = 0; this.ReduceEnterCostId = 0;
@ -108,7 +108,7 @@ static public class ContentEnterCostReduceExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*EnterCostReduceGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*EnterCostReduceGroupId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*ContentType_*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*ContentType*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*StageId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*StageId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 10 /*ReduceEnterCostType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*ReduceEnterCostType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false)
&& verifier.VerifyField(tablePos, 12 /*ReduceEnterCostId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*ReduceEnterCostId*/, 8 /*long*/, 8, false)

View File

@ -1,88 +0,0 @@
// <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::SCHALE.Common.Crypto;
using global::Google.FlatBuffers;
public struct ContentEnterCostReduceExcelTable : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static ContentEnterCostReduceExcelTable GetRootAsContentEnterCostReduceExcelTable(ByteBuffer _bb) { return GetRootAsContentEnterCostReduceExcelTable(_bb, new ContentEnterCostReduceExcelTable()); }
public static ContentEnterCostReduceExcelTable GetRootAsContentEnterCostReduceExcelTable(ByteBuffer _bb, ContentEnterCostReduceExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public ContentEnterCostReduceExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.ContentEnterCostReduceExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ContentEnterCostReduceExcel?)(new SCHALE.Common.FlatData.ContentEnterCostReduceExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; }
public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } }
public static Offset<SCHALE.Common.FlatData.ContentEnterCostReduceExcelTable> CreateContentEnterCostReduceExcelTable(FlatBufferBuilder builder,
VectorOffset DataListOffset = default(VectorOffset)) {
builder.StartTable(1);
ContentEnterCostReduceExcelTable.AddDataList(builder, DataListOffset);
return ContentEnterCostReduceExcelTable.EndContentEnterCostReduceExcelTable(builder);
}
public static void StartContentEnterCostReduceExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); }
public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); }
public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.ContentEnterCostReduceExcel>[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.ContentEnterCostReduceExcel>[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<SCHALE.Common.FlatData.ContentEnterCostReduceExcel>> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<Offset<SCHALE.Common.FlatData.ContentEnterCostReduceExcel>>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.ContentEnterCostReduceExcelTable> EndContentEnterCostReduceExcelTable(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.ContentEnterCostReduceExcelTable>(o);
}
public ContentEnterCostReduceExcelTableT UnPack() {
var _o = new ContentEnterCostReduceExcelTableT();
this.UnPackTo(_o);
return _o;
}
public void UnPackTo(ContentEnterCostReduceExcelTableT _o) {
byte[] key = TableEncryptionService.CreateKey("ContentEnterCostReduceExcel");
_o.DataList = new List<SCHALE.Common.FlatData.ContentEnterCostReduceExcelT>();
for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);}
}
public static Offset<SCHALE.Common.FlatData.ContentEnterCostReduceExcelTable> Pack(FlatBufferBuilder builder, ContentEnterCostReduceExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.ContentEnterCostReduceExcelTable>);
var _DataList = default(VectorOffset);
if (_o.DataList != null) {
var __DataList = new Offset<SCHALE.Common.FlatData.ContentEnterCostReduceExcel>[_o.DataList.Count];
for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.ContentEnterCostReduceExcel.Pack(builder, _o.DataList[_j]); }
_DataList = CreateDataListVector(builder, __DataList);
}
return CreateContentEnterCostReduceExcelTable(
builder,
_DataList);
}
}
public class ContentEnterCostReduceExcelTableT
{
public List<SCHALE.Common.FlatData.ContentEnterCostReduceExcelT> DataList { get; set; }
public ContentEnterCostReduceExcelTableT() {
this.DataList = null;
}
}
static public class ContentEnterCostReduceExcelTableVerify
{
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{
return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.ContentEnterCostReduceExcelVerify.Verify, false)
&& verifier.VerifyTableEnd(tablePos);
}
}
}

View File

@ -20,7 +20,7 @@ public struct ContentSpoilerPopupExcel : IFlatbufferObject
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public ContentSpoilerPopupExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public ContentSpoilerPopupExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.ContentType ContentType_ { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } public SCHALE.Common.FlatData.ContentType ContentType { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } }
public string SpoilerPopupTitle { get { int o = __p.__offset(6); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string SpoilerPopupTitle { get { int o = __p.__offset(6); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
public Span<byte> GetSpoilerPopupTitleBytes() { return __p.__vector_as_span<byte>(6, 1); } public Span<byte> GetSpoilerPopupTitleBytes() { return __p.__vector_as_span<byte>(6, 1); }
@ -39,7 +39,7 @@ public struct ContentSpoilerPopupExcel : IFlatbufferObject
public long ConditionScenarioModeId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ConditionScenarioModeId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public static Offset<SCHALE.Common.FlatData.ContentSpoilerPopupExcel> CreateContentSpoilerPopupExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.ContentSpoilerPopupExcel> CreateContentSpoilerPopupExcel(FlatBufferBuilder builder,
SCHALE.Common.FlatData.ContentType ContentType_ = SCHALE.Common.FlatData.ContentType.None, SCHALE.Common.FlatData.ContentType ContentType = SCHALE.Common.FlatData.ContentType.None,
StringOffset SpoilerPopupTitleOffset = default(StringOffset), StringOffset SpoilerPopupTitleOffset = default(StringOffset),
StringOffset SpoilerPopupDescriptionOffset = default(StringOffset), StringOffset SpoilerPopupDescriptionOffset = default(StringOffset),
bool IsWarningPopUp = false, bool IsWarningPopUp = false,
@ -48,13 +48,13 @@ public struct ContentSpoilerPopupExcel : IFlatbufferObject
ContentSpoilerPopupExcel.AddConditionScenarioModeId(builder, ConditionScenarioModeId); ContentSpoilerPopupExcel.AddConditionScenarioModeId(builder, ConditionScenarioModeId);
ContentSpoilerPopupExcel.AddSpoilerPopupDescription(builder, SpoilerPopupDescriptionOffset); ContentSpoilerPopupExcel.AddSpoilerPopupDescription(builder, SpoilerPopupDescriptionOffset);
ContentSpoilerPopupExcel.AddSpoilerPopupTitle(builder, SpoilerPopupTitleOffset); ContentSpoilerPopupExcel.AddSpoilerPopupTitle(builder, SpoilerPopupTitleOffset);
ContentSpoilerPopupExcel.AddContentType_(builder, ContentType_); ContentSpoilerPopupExcel.AddContentType(builder, ContentType);
ContentSpoilerPopupExcel.AddIsWarningPopUp(builder, IsWarningPopUp); ContentSpoilerPopupExcel.AddIsWarningPopUp(builder, IsWarningPopUp);
return ContentSpoilerPopupExcel.EndContentSpoilerPopupExcel(builder); return ContentSpoilerPopupExcel.EndContentSpoilerPopupExcel(builder);
} }
public static void StartContentSpoilerPopupExcel(FlatBufferBuilder builder) { builder.StartTable(5); } public static void StartContentSpoilerPopupExcel(FlatBufferBuilder builder) { builder.StartTable(5); }
public static void AddContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType_) { builder.AddInt(0, (int)contentType_, 0); } public static void AddContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType) { builder.AddInt(0, (int)contentType, 0); }
public static void AddSpoilerPopupTitle(FlatBufferBuilder builder, StringOffset spoilerPopupTitleOffset) { builder.AddOffset(1, spoilerPopupTitleOffset.Value, 0); } public static void AddSpoilerPopupTitle(FlatBufferBuilder builder, StringOffset spoilerPopupTitleOffset) { builder.AddOffset(1, spoilerPopupTitleOffset.Value, 0); }
public static void AddSpoilerPopupDescription(FlatBufferBuilder builder, StringOffset spoilerPopupDescriptionOffset) { builder.AddOffset(2, spoilerPopupDescriptionOffset.Value, 0); } public static void AddSpoilerPopupDescription(FlatBufferBuilder builder, StringOffset spoilerPopupDescriptionOffset) { builder.AddOffset(2, spoilerPopupDescriptionOffset.Value, 0); }
public static void AddIsWarningPopUp(FlatBufferBuilder builder, bool isWarningPopUp) { builder.AddBool(3, isWarningPopUp, false); } public static void AddIsWarningPopUp(FlatBufferBuilder builder, bool isWarningPopUp) { builder.AddBool(3, isWarningPopUp, false); }
@ -70,7 +70,7 @@ public struct ContentSpoilerPopupExcel : IFlatbufferObject
} }
public void UnPackTo(ContentSpoilerPopupExcelT _o) { public void UnPackTo(ContentSpoilerPopupExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("ContentSpoilerPopup"); byte[] key = TableEncryptionService.CreateKey("ContentSpoilerPopup");
_o.ContentType_ = TableEncryptionService.Convert(this.ContentType_, key); _o.ContentType = TableEncryptionService.Convert(this.ContentType, key);
_o.SpoilerPopupTitle = TableEncryptionService.Convert(this.SpoilerPopupTitle, key); _o.SpoilerPopupTitle = TableEncryptionService.Convert(this.SpoilerPopupTitle, key);
_o.SpoilerPopupDescription = TableEncryptionService.Convert(this.SpoilerPopupDescription, key); _o.SpoilerPopupDescription = TableEncryptionService.Convert(this.SpoilerPopupDescription, key);
_o.IsWarningPopUp = TableEncryptionService.Convert(this.IsWarningPopUp, key); _o.IsWarningPopUp = TableEncryptionService.Convert(this.IsWarningPopUp, key);
@ -82,7 +82,7 @@ public struct ContentSpoilerPopupExcel : IFlatbufferObject
var _SpoilerPopupDescription = _o.SpoilerPopupDescription == null ? default(StringOffset) : builder.CreateString(_o.SpoilerPopupDescription); var _SpoilerPopupDescription = _o.SpoilerPopupDescription == null ? default(StringOffset) : builder.CreateString(_o.SpoilerPopupDescription);
return CreateContentSpoilerPopupExcel( return CreateContentSpoilerPopupExcel(
builder, builder,
_o.ContentType_, _o.ContentType,
_SpoilerPopupTitle, _SpoilerPopupTitle,
_SpoilerPopupDescription, _SpoilerPopupDescription,
_o.IsWarningPopUp, _o.IsWarningPopUp,
@ -92,14 +92,14 @@ public struct ContentSpoilerPopupExcel : IFlatbufferObject
public class ContentSpoilerPopupExcelT public class ContentSpoilerPopupExcelT
{ {
public SCHALE.Common.FlatData.ContentType ContentType_ { get; set; } public SCHALE.Common.FlatData.ContentType ContentType { get; set; }
public string SpoilerPopupTitle { get; set; } public string SpoilerPopupTitle { get; set; }
public string SpoilerPopupDescription { get; set; } public string SpoilerPopupDescription { get; set; }
public bool IsWarningPopUp { get; set; } public bool IsWarningPopUp { get; set; }
public long ConditionScenarioModeId { get; set; } public long ConditionScenarioModeId { get; set; }
public ContentSpoilerPopupExcelT() { public ContentSpoilerPopupExcelT() {
this.ContentType_ = SCHALE.Common.FlatData.ContentType.None; this.ContentType = SCHALE.Common.FlatData.ContentType.None;
this.SpoilerPopupTitle = null; this.SpoilerPopupTitle = null;
this.SpoilerPopupDescription = null; this.SpoilerPopupDescription = null;
this.IsWarningPopUp = false; this.IsWarningPopUp = false;
@ -113,7 +113,7 @@ static public class ContentSpoilerPopupExcelVerify
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*ContentType_*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) && verifier.VerifyField(tablePos, 4 /*ContentType*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false)
&& verifier.VerifyString(tablePos, 6 /*SpoilerPopupTitle*/, false) && verifier.VerifyString(tablePos, 6 /*SpoilerPopupTitle*/, false)
&& verifier.VerifyString(tablePos, 8 /*SpoilerPopupDescription*/, false) && verifier.VerifyString(tablePos, 8 /*SpoilerPopupDescription*/, false)
&& verifier.VerifyField(tablePos, 10 /*IsWarningPopUp*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 10 /*IsWarningPopUp*/, 1 /*bool*/, 1, false)

View File

@ -23,7 +23,7 @@ public struct ContentsScenarioExcel : IFlatbufferObject
public uint Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public uint Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } }
public uint LocalizeId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public uint LocalizeId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } }
public int DisplayOrder { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int DisplayOrder { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public SCHALE.Common.FlatData.ScenarioContentType ScenarioContentType_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ScenarioContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ScenarioContentType.Prologue; } } public SCHALE.Common.FlatData.ScenarioContentType ScenarioContentType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ScenarioContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ScenarioContentType.Prologue; } }
public long ScenarioGroupId(int j) { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } public long ScenarioGroupId(int j) { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; }
public int ScenarioGroupIdLength { get { int o = __p.__offset(12); return o != 0 ? __p.__vector_len(o) : 0; } } public int ScenarioGroupIdLength { get { int o = __p.__offset(12); return o != 0 ? __p.__vector_len(o) : 0; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
@ -37,11 +37,11 @@ public struct ContentsScenarioExcel : IFlatbufferObject
uint Id = 0, uint Id = 0,
uint LocalizeId = 0, uint LocalizeId = 0,
int DisplayOrder = 0, int DisplayOrder = 0,
SCHALE.Common.FlatData.ScenarioContentType ScenarioContentType_ = SCHALE.Common.FlatData.ScenarioContentType.Prologue, SCHALE.Common.FlatData.ScenarioContentType ScenarioContentType = SCHALE.Common.FlatData.ScenarioContentType.Prologue,
VectorOffset ScenarioGroupIdOffset = default(VectorOffset)) { VectorOffset ScenarioGroupIdOffset = default(VectorOffset)) {
builder.StartTable(5); builder.StartTable(5);
ContentsScenarioExcel.AddScenarioGroupId(builder, ScenarioGroupIdOffset); ContentsScenarioExcel.AddScenarioGroupId(builder, ScenarioGroupIdOffset);
ContentsScenarioExcel.AddScenarioContentType_(builder, ScenarioContentType_); ContentsScenarioExcel.AddScenarioContentType(builder, ScenarioContentType);
ContentsScenarioExcel.AddDisplayOrder(builder, DisplayOrder); ContentsScenarioExcel.AddDisplayOrder(builder, DisplayOrder);
ContentsScenarioExcel.AddLocalizeId(builder, LocalizeId); ContentsScenarioExcel.AddLocalizeId(builder, LocalizeId);
ContentsScenarioExcel.AddId(builder, Id); ContentsScenarioExcel.AddId(builder, Id);
@ -52,7 +52,7 @@ public struct ContentsScenarioExcel : IFlatbufferObject
public static void AddId(FlatBufferBuilder builder, uint id) { builder.AddUint(0, id, 0); } public static void AddId(FlatBufferBuilder builder, uint id) { builder.AddUint(0, id, 0); }
public static void AddLocalizeId(FlatBufferBuilder builder, uint localizeId) { builder.AddUint(1, localizeId, 0); } public static void AddLocalizeId(FlatBufferBuilder builder, uint localizeId) { builder.AddUint(1, localizeId, 0); }
public static void AddDisplayOrder(FlatBufferBuilder builder, int displayOrder) { builder.AddInt(2, displayOrder, 0); } public static void AddDisplayOrder(FlatBufferBuilder builder, int displayOrder) { builder.AddInt(2, displayOrder, 0); }
public static void AddScenarioContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ScenarioContentType scenarioContentType_) { builder.AddInt(3, (int)scenarioContentType_, 0); } public static void AddScenarioContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ScenarioContentType scenarioContentType) { builder.AddInt(3, (int)scenarioContentType, 0); }
public static void AddScenarioGroupId(FlatBufferBuilder builder, VectorOffset scenarioGroupIdOffset) { builder.AddOffset(4, scenarioGroupIdOffset.Value, 0); } public static void AddScenarioGroupId(FlatBufferBuilder builder, VectorOffset scenarioGroupIdOffset) { builder.AddOffset(4, scenarioGroupIdOffset.Value, 0); }
public static VectorOffset CreateScenarioGroupIdVector(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); for (int i = data.Length - 1; i >= 0; i--) builder.AddLong(data[i]); return builder.EndVector(); } public static VectorOffset CreateScenarioGroupIdVector(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); for (int i = data.Length - 1; i >= 0; i--) builder.AddLong(data[i]); return builder.EndVector(); }
public static VectorOffset CreateScenarioGroupIdVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateScenarioGroupIdVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); }
@ -73,7 +73,7 @@ public struct ContentsScenarioExcel : IFlatbufferObject
_o.Id = TableEncryptionService.Convert(this.Id, key); _o.Id = TableEncryptionService.Convert(this.Id, key);
_o.LocalizeId = TableEncryptionService.Convert(this.LocalizeId, key); _o.LocalizeId = TableEncryptionService.Convert(this.LocalizeId, key);
_o.DisplayOrder = TableEncryptionService.Convert(this.DisplayOrder, key); _o.DisplayOrder = TableEncryptionService.Convert(this.DisplayOrder, key);
_o.ScenarioContentType_ = TableEncryptionService.Convert(this.ScenarioContentType_, key); _o.ScenarioContentType = TableEncryptionService.Convert(this.ScenarioContentType, key);
_o.ScenarioGroupId = new List<long>(); _o.ScenarioGroupId = new List<long>();
for (var _j = 0; _j < this.ScenarioGroupIdLength; ++_j) {_o.ScenarioGroupId.Add(TableEncryptionService.Convert(this.ScenarioGroupId(_j), key));} for (var _j = 0; _j < this.ScenarioGroupIdLength; ++_j) {_o.ScenarioGroupId.Add(TableEncryptionService.Convert(this.ScenarioGroupId(_j), key));}
} }
@ -89,7 +89,7 @@ public struct ContentsScenarioExcel : IFlatbufferObject
_o.Id, _o.Id,
_o.LocalizeId, _o.LocalizeId,
_o.DisplayOrder, _o.DisplayOrder,
_o.ScenarioContentType_, _o.ScenarioContentType,
_ScenarioGroupId); _ScenarioGroupId);
} }
} }
@ -99,14 +99,14 @@ public class ContentsScenarioExcelT
public uint Id { get; set; } public uint Id { get; set; }
public uint LocalizeId { get; set; } public uint LocalizeId { get; set; }
public int DisplayOrder { get; set; } public int DisplayOrder { get; set; }
public SCHALE.Common.FlatData.ScenarioContentType ScenarioContentType_ { get; set; } public SCHALE.Common.FlatData.ScenarioContentType ScenarioContentType { get; set; }
public List<long> ScenarioGroupId { get; set; } public List<long> ScenarioGroupId { get; set; }
public ContentsScenarioExcelT() { public ContentsScenarioExcelT() {
this.Id = 0; this.Id = 0;
this.LocalizeId = 0; this.LocalizeId = 0;
this.DisplayOrder = 0; this.DisplayOrder = 0;
this.ScenarioContentType_ = SCHALE.Common.FlatData.ScenarioContentType.Prologue; this.ScenarioContentType = SCHALE.Common.FlatData.ScenarioContentType.Prologue;
this.ScenarioGroupId = null; this.ScenarioGroupId = null;
} }
} }
@ -120,7 +120,7 @@ static public class ContentsScenarioExcelVerify
&& verifier.VerifyField(tablePos, 4 /*Id*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 4 /*Id*/, 4 /*uint*/, 4, false)
&& verifier.VerifyField(tablePos, 6 /*LocalizeId*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 6 /*LocalizeId*/, 4 /*uint*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*DisplayOrder*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 8 /*DisplayOrder*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*ScenarioContentType_*/, 4 /*SCHALE.Common.FlatData.ScenarioContentType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*ScenarioContentType*/, 4 /*SCHALE.Common.FlatData.ScenarioContentType*/, 4, false)
&& verifier.VerifyVectorOfData(tablePos, 12 /*ScenarioGroupId*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 12 /*ScenarioGroupId*/, 8 /*long*/, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);
} }

View File

@ -21,7 +21,7 @@ public struct ContentsShortcutExcel : IFlatbufferObject
public ContentsShortcutExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public ContentsShortcutExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long UniqueId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long UniqueId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.ContentType ContentType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } public SCHALE.Common.FlatData.ContentType ContentType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } }
public long EventContentId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventContentId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long ScenarioModeVolume { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ScenarioModeVolume { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long ScenarioModeChapter { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ScenarioModeChapter { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -55,7 +55,7 @@ public struct ContentsShortcutExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.ContentsShortcutExcel> CreateContentsShortcutExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.ContentsShortcutExcel> CreateContentsShortcutExcel(FlatBufferBuilder builder,
long UniqueId = 0, long UniqueId = 0,
SCHALE.Common.FlatData.ContentType ContentType_ = SCHALE.Common.FlatData.ContentType.None, SCHALE.Common.FlatData.ContentType ContentType = SCHALE.Common.FlatData.ContentType.None,
long EventContentId = 0, long EventContentId = 0,
long ScenarioModeVolume = 0, long ScenarioModeVolume = 0,
long ScenarioModeChapter = 0, long ScenarioModeChapter = 0,
@ -80,13 +80,13 @@ public struct ContentsShortcutExcel : IFlatbufferObject
ContentsShortcutExcel.AddConquestMapDifficulty(builder, ConquestMapDifficulty); ContentsShortcutExcel.AddConquestMapDifficulty(builder, ConquestMapDifficulty);
ContentsShortcutExcel.AddShortcutCloseTime(builder, ShortcutCloseTimeOffset); ContentsShortcutExcel.AddShortcutCloseTime(builder, ShortcutCloseTimeOffset);
ContentsShortcutExcel.AddShortcutOpenTime(builder, ShortcutOpenTimeOffset); ContentsShortcutExcel.AddShortcutOpenTime(builder, ShortcutOpenTimeOffset);
ContentsShortcutExcel.AddContentType_(builder, ContentType_); ContentsShortcutExcel.AddContentType(builder, ContentType);
return ContentsShortcutExcel.EndContentsShortcutExcel(builder); return ContentsShortcutExcel.EndContentsShortcutExcel(builder);
} }
public static void StartContentsShortcutExcel(FlatBufferBuilder builder) { builder.StartTable(13); } public static void StartContentsShortcutExcel(FlatBufferBuilder builder) { builder.StartTable(13); }
public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); } public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); }
public static void AddContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType_) { builder.AddInt(1, (int)contentType_, 0); } public static void AddContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType) { builder.AddInt(1, (int)contentType, 0); }
public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(2, eventContentId, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(2, eventContentId, 0); }
public static void AddScenarioModeVolume(FlatBufferBuilder builder, long scenarioModeVolume) { builder.AddLong(3, scenarioModeVolume, 0); } public static void AddScenarioModeVolume(FlatBufferBuilder builder, long scenarioModeVolume) { builder.AddLong(3, scenarioModeVolume, 0); }
public static void AddScenarioModeChapter(FlatBufferBuilder builder, long scenarioModeChapter) { builder.AddLong(4, scenarioModeChapter, 0); } public static void AddScenarioModeChapter(FlatBufferBuilder builder, long scenarioModeChapter) { builder.AddLong(4, scenarioModeChapter, 0); }
@ -115,7 +115,7 @@ public struct ContentsShortcutExcel : IFlatbufferObject
public void UnPackTo(ContentsShortcutExcelT _o) { public void UnPackTo(ContentsShortcutExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("ContentsShortcut"); byte[] key = TableEncryptionService.CreateKey("ContentsShortcut");
_o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key); _o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key);
_o.ContentType_ = TableEncryptionService.Convert(this.ContentType_, key); _o.ContentType = TableEncryptionService.Convert(this.ContentType, key);
_o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key);
_o.ScenarioModeVolume = TableEncryptionService.Convert(this.ScenarioModeVolume, key); _o.ScenarioModeVolume = TableEncryptionService.Convert(this.ScenarioModeVolume, key);
_o.ScenarioModeChapter = TableEncryptionService.Convert(this.ScenarioModeChapter, key); _o.ScenarioModeChapter = TableEncryptionService.Convert(this.ScenarioModeChapter, key);
@ -143,7 +143,7 @@ public struct ContentsShortcutExcel : IFlatbufferObject
return CreateContentsShortcutExcel( return CreateContentsShortcutExcel(
builder, builder,
_o.UniqueId, _o.UniqueId,
_o.ContentType_, _o.ContentType,
_o.EventContentId, _o.EventContentId,
_o.ScenarioModeVolume, _o.ScenarioModeVolume,
_o.ScenarioModeChapter, _o.ScenarioModeChapter,
@ -161,7 +161,7 @@ public struct ContentsShortcutExcel : IFlatbufferObject
public class ContentsShortcutExcelT public class ContentsShortcutExcelT
{ {
public long UniqueId { get; set; } public long UniqueId { get; set; }
public SCHALE.Common.FlatData.ContentType ContentType_ { get; set; } public SCHALE.Common.FlatData.ContentType ContentType { get; set; }
public long EventContentId { get; set; } public long EventContentId { get; set; }
public long ScenarioModeVolume { get; set; } public long ScenarioModeVolume { get; set; }
public long ScenarioModeChapter { get; set; } public long ScenarioModeChapter { get; set; }
@ -176,7 +176,7 @@ public class ContentsShortcutExcelT
public ContentsShortcutExcelT() { public ContentsShortcutExcelT() {
this.UniqueId = 0; this.UniqueId = 0;
this.ContentType_ = SCHALE.Common.FlatData.ContentType.None; this.ContentType = SCHALE.Common.FlatData.ContentType.None;
this.EventContentId = 0; this.EventContentId = 0;
this.ScenarioModeVolume = 0; this.ScenarioModeVolume = 0;
this.ScenarioModeChapter = 0; this.ScenarioModeChapter = 0;
@ -198,7 +198,7 @@ static public class ContentsShortcutExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*ContentType_*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*ContentType*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*EventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*EventContentId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 10 /*ScenarioModeVolume*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*ScenarioModeVolume*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 12 /*ScenarioModeChapter*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*ScenarioModeChapter*/, 8 /*long*/, 8, false)

View File

@ -29,7 +29,7 @@ public struct CostumeExcel : IFlatbufferObject
public ArraySegment<byte>? GetDevNameBytes() { return __p.__vector_as_arraysegment(8); } public ArraySegment<byte>? GetDevNameBytes() { return __p.__vector_as_arraysegment(8); }
#endif #endif
public byte[] GetDevNameArray() { return __p.__vector_as_array<byte>(8); } public byte[] GetDevNameArray() { return __p.__vector_as_array<byte>(8); }
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 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 bool IsDefault { get { int o = __p.__offset(12); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool IsDefault { get { int o = __p.__offset(12); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public bool CollectionVisible { get { int o = __p.__offset(14); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool CollectionVisible { get { int o = __p.__offset(14); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public string ReleaseDate { get { int o = __p.__offset(16); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string ReleaseDate { get { int o = __p.__offset(16); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
@ -53,7 +53,7 @@ public struct CostumeExcel : IFlatbufferObject
public ArraySegment<byte>? GetCollectionVisibleEndDateBytes() { return __p.__vector_as_arraysegment(20); } public ArraySegment<byte>? GetCollectionVisibleEndDateBytes() { return __p.__vector_as_arraysegment(20); }
#endif #endif
public byte[] GetCollectionVisibleEndDateArray() { return __p.__vector_as_array<byte>(20); } public byte[] GetCollectionVisibleEndDateArray() { return __p.__vector_as_array<byte>(20); }
public SCHALE.Common.FlatData.Rarity Rarity_ { get { int o = __p.__offset(22); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } public SCHALE.Common.FlatData.Rarity Rarity { get { int o = __p.__offset(22); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } }
public long CharacterSkillListGroupId { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long CharacterSkillListGroupId { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public string SpineResourceName { get { int o = __p.__offset(26); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string SpineResourceName { get { int o = __p.__offset(26); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
@ -71,7 +71,7 @@ public struct CostumeExcel : IFlatbufferObject
public byte[] GetSpineResourceNameDioramaArray() { return __p.__vector_as_array<byte>(28); } public byte[] GetSpineResourceNameDioramaArray() { return __p.__vector_as_array<byte>(28); }
public string SpineResourceNameDioramaForFormConversion(int j) { int o = __p.__offset(30); return o != 0 ? __p.__string(__p.__vector(o) + j * 4) : null; } public string SpineResourceNameDioramaForFormConversion(int j) { int o = __p.__offset(30); return o != 0 ? __p.__string(__p.__vector(o) + j * 4) : null; }
public int SpineResourceNameDioramaForFormConversionLength { get { int o = __p.__offset(30); return o != 0 ? __p.__vector_len(o) : 0; } } public int SpineResourceNameDioramaForFormConversionLength { get { int o = __p.__offset(30); return o != 0 ? __p.__vector_len(o) : 0; } }
public SCHALE.Common.FlatData.EntityMaterialType EntityMaterialType_ { get { int o = __p.__offset(32); return o != 0 ? (SCHALE.Common.FlatData.EntityMaterialType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EntityMaterialType.Wood; } } public SCHALE.Common.FlatData.EntityMaterialType EntityMaterialType { get { int o = __p.__offset(32); return o != 0 ? (SCHALE.Common.FlatData.EntityMaterialType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EntityMaterialType.Wood; } }
public string ModelPrefabName { get { int o = __p.__offset(34); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string ModelPrefabName { get { int o = __p.__offset(34); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
public Span<byte> GetModelPrefabNameBytes() { return __p.__vector_as_span<byte>(34, 1); } public Span<byte> GetModelPrefabNameBytes() { return __p.__vector_as_span<byte>(34, 1); }
@ -167,18 +167,18 @@ public struct CostumeExcel : IFlatbufferObject
long CostumeGroupId = 0, long CostumeGroupId = 0,
long CostumeUniqueId = 0, long CostumeUniqueId = 0,
StringOffset DevNameOffset = default(StringOffset), StringOffset DevNameOffset = default(StringOffset),
SCHALE.Common.FlatData.ProductionStep ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo, SCHALE.Common.FlatData.ProductionStep ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo,
bool IsDefault = false, bool IsDefault = false,
bool CollectionVisible = false, bool CollectionVisible = false,
StringOffset ReleaseDateOffset = default(StringOffset), StringOffset ReleaseDateOffset = default(StringOffset),
StringOffset CollectionVisibleStartDateOffset = default(StringOffset), StringOffset CollectionVisibleStartDateOffset = default(StringOffset),
StringOffset CollectionVisibleEndDateOffset = default(StringOffset), StringOffset CollectionVisibleEndDateOffset = default(StringOffset),
SCHALE.Common.FlatData.Rarity Rarity_ = SCHALE.Common.FlatData.Rarity.N, SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N,
long CharacterSkillListGroupId = 0, long CharacterSkillListGroupId = 0,
StringOffset SpineResourceNameOffset = default(StringOffset), StringOffset SpineResourceNameOffset = default(StringOffset),
StringOffset SpineResourceNameDioramaOffset = default(StringOffset), StringOffset SpineResourceNameDioramaOffset = default(StringOffset),
VectorOffset SpineResourceNameDioramaForFormConversionOffset = default(VectorOffset), VectorOffset SpineResourceNameDioramaForFormConversionOffset = default(VectorOffset),
SCHALE.Common.FlatData.EntityMaterialType EntityMaterialType_ = SCHALE.Common.FlatData.EntityMaterialType.Wood, SCHALE.Common.FlatData.EntityMaterialType EntityMaterialType = SCHALE.Common.FlatData.EntityMaterialType.Wood,
StringOffset ModelPrefabNameOffset = default(StringOffset), StringOffset ModelPrefabNameOffset = default(StringOffset),
StringOffset CafeModelPrefabNameOffset = default(StringOffset), StringOffset CafeModelPrefabNameOffset = default(StringOffset),
StringOffset EchelonModelPrefabNameOffset = default(StringOffset), StringOffset EchelonModelPrefabNameOffset = default(StringOffset),
@ -214,15 +214,15 @@ public struct CostumeExcel : IFlatbufferObject
CostumeExcel.AddEchelonModelPrefabName(builder, EchelonModelPrefabNameOffset); CostumeExcel.AddEchelonModelPrefabName(builder, EchelonModelPrefabNameOffset);
CostumeExcel.AddCafeModelPrefabName(builder, CafeModelPrefabNameOffset); CostumeExcel.AddCafeModelPrefabName(builder, CafeModelPrefabNameOffset);
CostumeExcel.AddModelPrefabName(builder, ModelPrefabNameOffset); CostumeExcel.AddModelPrefabName(builder, ModelPrefabNameOffset);
CostumeExcel.AddEntityMaterialType_(builder, EntityMaterialType_); CostumeExcel.AddEntityMaterialType(builder, EntityMaterialType);
CostumeExcel.AddSpineResourceNameDioramaForFormConversion(builder, SpineResourceNameDioramaForFormConversionOffset); CostumeExcel.AddSpineResourceNameDioramaForFormConversion(builder, SpineResourceNameDioramaForFormConversionOffset);
CostumeExcel.AddSpineResourceNameDiorama(builder, SpineResourceNameDioramaOffset); CostumeExcel.AddSpineResourceNameDiorama(builder, SpineResourceNameDioramaOffset);
CostumeExcel.AddSpineResourceName(builder, SpineResourceNameOffset); CostumeExcel.AddSpineResourceName(builder, SpineResourceNameOffset);
CostumeExcel.AddRarity_(builder, Rarity_); CostumeExcel.AddRarity(builder, Rarity);
CostumeExcel.AddCollectionVisibleEndDate(builder, CollectionVisibleEndDateOffset); CostumeExcel.AddCollectionVisibleEndDate(builder, CollectionVisibleEndDateOffset);
CostumeExcel.AddCollectionVisibleStartDate(builder, CollectionVisibleStartDateOffset); CostumeExcel.AddCollectionVisibleStartDate(builder, CollectionVisibleStartDateOffset);
CostumeExcel.AddReleaseDate(builder, ReleaseDateOffset); CostumeExcel.AddReleaseDate(builder, ReleaseDateOffset);
CostumeExcel.AddProductionStep_(builder, ProductionStep_); CostumeExcel.AddProductionStep(builder, ProductionStep);
CostumeExcel.AddDevName(builder, DevNameOffset); CostumeExcel.AddDevName(builder, DevNameOffset);
CostumeExcel.AddShowObjectHpStatus(builder, ShowObjectHpStatus); CostumeExcel.AddShowObjectHpStatus(builder, ShowObjectHpStatus);
CostumeExcel.AddAnimationValidator(builder, AnimationValidator); CostumeExcel.AddAnimationValidator(builder, AnimationValidator);
@ -236,13 +236,13 @@ public struct CostumeExcel : IFlatbufferObject
public static void AddCostumeGroupId(FlatBufferBuilder builder, long costumeGroupId) { builder.AddLong(0, costumeGroupId, 0); } public static void AddCostumeGroupId(FlatBufferBuilder builder, long costumeGroupId) { builder.AddLong(0, costumeGroupId, 0); }
public static void AddCostumeUniqueId(FlatBufferBuilder builder, long costumeUniqueId) { builder.AddLong(1, costumeUniqueId, 0); } public static void AddCostumeUniqueId(FlatBufferBuilder builder, long costumeUniqueId) { builder.AddLong(1, costumeUniqueId, 0); }
public static void AddDevName(FlatBufferBuilder builder, StringOffset devNameOffset) { builder.AddOffset(2, devNameOffset.Value, 0); } public static void AddDevName(FlatBufferBuilder builder, StringOffset devNameOffset) { builder.AddOffset(2, devNameOffset.Value, 0); }
public static void AddProductionStep_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep_) { builder.AddInt(3, (int)productionStep_, 0); } public static void AddProductionStep(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep) { builder.AddInt(3, (int)productionStep, 0); }
public static void AddIsDefault(FlatBufferBuilder builder, bool isDefault) { builder.AddBool(4, isDefault, false); } public static void AddIsDefault(FlatBufferBuilder builder, bool isDefault) { builder.AddBool(4, isDefault, false); }
public static void AddCollectionVisible(FlatBufferBuilder builder, bool collectionVisible) { builder.AddBool(5, collectionVisible, false); } public static void AddCollectionVisible(FlatBufferBuilder builder, bool collectionVisible) { builder.AddBool(5, collectionVisible, false); }
public static void AddReleaseDate(FlatBufferBuilder builder, StringOffset releaseDateOffset) { builder.AddOffset(6, releaseDateOffset.Value, 0); } public static void AddReleaseDate(FlatBufferBuilder builder, StringOffset releaseDateOffset) { builder.AddOffset(6, releaseDateOffset.Value, 0); }
public static void AddCollectionVisibleStartDate(FlatBufferBuilder builder, StringOffset collectionVisibleStartDateOffset) { builder.AddOffset(7, collectionVisibleStartDateOffset.Value, 0); } public static void AddCollectionVisibleStartDate(FlatBufferBuilder builder, StringOffset collectionVisibleStartDateOffset) { builder.AddOffset(7, collectionVisibleStartDateOffset.Value, 0); }
public static void AddCollectionVisibleEndDate(FlatBufferBuilder builder, StringOffset collectionVisibleEndDateOffset) { builder.AddOffset(8, collectionVisibleEndDateOffset.Value, 0); } public static void AddCollectionVisibleEndDate(FlatBufferBuilder builder, StringOffset collectionVisibleEndDateOffset) { builder.AddOffset(8, collectionVisibleEndDateOffset.Value, 0); }
public static void AddRarity_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity_) { builder.AddInt(9, (int)rarity_, 0); } public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(9, (int)rarity, 0); }
public static void AddCharacterSkillListGroupId(FlatBufferBuilder builder, long characterSkillListGroupId) { builder.AddLong(10, characterSkillListGroupId, 0); } public static void AddCharacterSkillListGroupId(FlatBufferBuilder builder, long characterSkillListGroupId) { builder.AddLong(10, characterSkillListGroupId, 0); }
public static void AddSpineResourceName(FlatBufferBuilder builder, StringOffset spineResourceNameOffset) { builder.AddOffset(11, spineResourceNameOffset.Value, 0); } public static void AddSpineResourceName(FlatBufferBuilder builder, StringOffset spineResourceNameOffset) { builder.AddOffset(11, spineResourceNameOffset.Value, 0); }
public static void AddSpineResourceNameDiorama(FlatBufferBuilder builder, StringOffset spineResourceNameDioramaOffset) { builder.AddOffset(12, spineResourceNameDioramaOffset.Value, 0); } public static void AddSpineResourceNameDiorama(FlatBufferBuilder builder, StringOffset spineResourceNameDioramaOffset) { builder.AddOffset(12, spineResourceNameDioramaOffset.Value, 0); }
@ -252,7 +252,7 @@ public struct CostumeExcel : IFlatbufferObject
public static VectorOffset CreateSpineResourceNameDioramaForFormConversionVectorBlock(FlatBufferBuilder builder, ArraySegment<StringOffset> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateSpineResourceNameDioramaForFormConversionVectorBlock(FlatBufferBuilder builder, ArraySegment<StringOffset> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateSpineResourceNameDioramaForFormConversionVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<StringOffset>(dataPtr, sizeInBytes); return builder.EndVector(); } public static VectorOffset CreateSpineResourceNameDioramaForFormConversionVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<StringOffset>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartSpineResourceNameDioramaForFormConversionVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } public static void StartSpineResourceNameDioramaForFormConversionVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static void AddEntityMaterialType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EntityMaterialType entityMaterialType_) { builder.AddInt(14, (int)entityMaterialType_, 0); } public static void AddEntityMaterialType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EntityMaterialType entityMaterialType) { builder.AddInt(14, (int)entityMaterialType, 0); }
public static void AddModelPrefabName(FlatBufferBuilder builder, StringOffset modelPrefabNameOffset) { builder.AddOffset(15, modelPrefabNameOffset.Value, 0); } public static void AddModelPrefabName(FlatBufferBuilder builder, StringOffset modelPrefabNameOffset) { builder.AddOffset(15, modelPrefabNameOffset.Value, 0); }
public static void AddCafeModelPrefabName(FlatBufferBuilder builder, StringOffset cafeModelPrefabNameOffset) { builder.AddOffset(16, cafeModelPrefabNameOffset.Value, 0); } public static void AddCafeModelPrefabName(FlatBufferBuilder builder, StringOffset cafeModelPrefabNameOffset) { builder.AddOffset(16, cafeModelPrefabNameOffset.Value, 0); }
public static void AddEchelonModelPrefabName(FlatBufferBuilder builder, StringOffset echelonModelPrefabNameOffset) { builder.AddOffset(17, echelonModelPrefabNameOffset.Value, 0); } public static void AddEchelonModelPrefabName(FlatBufferBuilder builder, StringOffset echelonModelPrefabNameOffset) { builder.AddOffset(17, echelonModelPrefabNameOffset.Value, 0); }
@ -289,19 +289,19 @@ public struct CostumeExcel : IFlatbufferObject
_o.CostumeGroupId = TableEncryptionService.Convert(this.CostumeGroupId, key); _o.CostumeGroupId = TableEncryptionService.Convert(this.CostumeGroupId, key);
_o.CostumeUniqueId = TableEncryptionService.Convert(this.CostumeUniqueId, key); _o.CostumeUniqueId = TableEncryptionService.Convert(this.CostumeUniqueId, key);
_o.DevName = TableEncryptionService.Convert(this.DevName, key); _o.DevName = TableEncryptionService.Convert(this.DevName, key);
_o.ProductionStep_ = TableEncryptionService.Convert(this.ProductionStep_, key); _o.ProductionStep = TableEncryptionService.Convert(this.ProductionStep, key);
_o.IsDefault = TableEncryptionService.Convert(this.IsDefault, key); _o.IsDefault = TableEncryptionService.Convert(this.IsDefault, key);
_o.CollectionVisible = TableEncryptionService.Convert(this.CollectionVisible, key); _o.CollectionVisible = TableEncryptionService.Convert(this.CollectionVisible, key);
_o.ReleaseDate = TableEncryptionService.Convert(this.ReleaseDate, key); _o.ReleaseDate = TableEncryptionService.Convert(this.ReleaseDate, key);
_o.CollectionVisibleStartDate = TableEncryptionService.Convert(this.CollectionVisibleStartDate, key); _o.CollectionVisibleStartDate = TableEncryptionService.Convert(this.CollectionVisibleStartDate, key);
_o.CollectionVisibleEndDate = TableEncryptionService.Convert(this.CollectionVisibleEndDate, key); _o.CollectionVisibleEndDate = TableEncryptionService.Convert(this.CollectionVisibleEndDate, key);
_o.Rarity_ = TableEncryptionService.Convert(this.Rarity_, key); _o.Rarity = TableEncryptionService.Convert(this.Rarity, key);
_o.CharacterSkillListGroupId = TableEncryptionService.Convert(this.CharacterSkillListGroupId, key); _o.CharacterSkillListGroupId = TableEncryptionService.Convert(this.CharacterSkillListGroupId, key);
_o.SpineResourceName = TableEncryptionService.Convert(this.SpineResourceName, key); _o.SpineResourceName = TableEncryptionService.Convert(this.SpineResourceName, key);
_o.SpineResourceNameDiorama = TableEncryptionService.Convert(this.SpineResourceNameDiorama, key); _o.SpineResourceNameDiorama = TableEncryptionService.Convert(this.SpineResourceNameDiorama, key);
_o.SpineResourceNameDioramaForFormConversion = new List<string>(); _o.SpineResourceNameDioramaForFormConversion = new List<string>();
for (var _j = 0; _j < this.SpineResourceNameDioramaForFormConversionLength; ++_j) {_o.SpineResourceNameDioramaForFormConversion.Add(TableEncryptionService.Convert(this.SpineResourceNameDioramaForFormConversion(_j), key));} for (var _j = 0; _j < this.SpineResourceNameDioramaForFormConversionLength; ++_j) {_o.SpineResourceNameDioramaForFormConversion.Add(TableEncryptionService.Convert(this.SpineResourceNameDioramaForFormConversion(_j), key));}
_o.EntityMaterialType_ = TableEncryptionService.Convert(this.EntityMaterialType_, key); _o.EntityMaterialType = TableEncryptionService.Convert(this.EntityMaterialType, key);
_o.ModelPrefabName = TableEncryptionService.Convert(this.ModelPrefabName, key); _o.ModelPrefabName = TableEncryptionService.Convert(this.ModelPrefabName, key);
_o.CafeModelPrefabName = TableEncryptionService.Convert(this.CafeModelPrefabName, key); _o.CafeModelPrefabName = TableEncryptionService.Convert(this.CafeModelPrefabName, key);
_o.EchelonModelPrefabName = TableEncryptionService.Convert(this.EchelonModelPrefabName, key); _o.EchelonModelPrefabName = TableEncryptionService.Convert(this.EchelonModelPrefabName, key);
@ -358,18 +358,18 @@ public struct CostumeExcel : IFlatbufferObject
_o.CostumeGroupId, _o.CostumeGroupId,
_o.CostumeUniqueId, _o.CostumeUniqueId,
_DevName, _DevName,
_o.ProductionStep_, _o.ProductionStep,
_o.IsDefault, _o.IsDefault,
_o.CollectionVisible, _o.CollectionVisible,
_ReleaseDate, _ReleaseDate,
_CollectionVisibleStartDate, _CollectionVisibleStartDate,
_CollectionVisibleEndDate, _CollectionVisibleEndDate,
_o.Rarity_, _o.Rarity,
_o.CharacterSkillListGroupId, _o.CharacterSkillListGroupId,
_SpineResourceName, _SpineResourceName,
_SpineResourceNameDiorama, _SpineResourceNameDiorama,
_SpineResourceNameDioramaForFormConversion, _SpineResourceNameDioramaForFormConversion,
_o.EntityMaterialType_, _o.EntityMaterialType,
_ModelPrefabName, _ModelPrefabName,
_CafeModelPrefabName, _CafeModelPrefabName,
_EchelonModelPrefabName, _EchelonModelPrefabName,
@ -395,18 +395,18 @@ public class CostumeExcelT
public long CostumeGroupId { get; set; } public long CostumeGroupId { get; set; }
public long CostumeUniqueId { get; set; } public long CostumeUniqueId { get; set; }
public string DevName { get; set; } public string DevName { get; set; }
public SCHALE.Common.FlatData.ProductionStep ProductionStep_ { get; set; } public SCHALE.Common.FlatData.ProductionStep ProductionStep { get; set; }
public bool IsDefault { get; set; } public bool IsDefault { get; set; }
public bool CollectionVisible { get; set; } public bool CollectionVisible { get; set; }
public string ReleaseDate { get; set; } public string ReleaseDate { get; set; }
public string CollectionVisibleStartDate { get; set; } public string CollectionVisibleStartDate { get; set; }
public string CollectionVisibleEndDate { get; set; } public string CollectionVisibleEndDate { get; set; }
public SCHALE.Common.FlatData.Rarity Rarity_ { get; set; } public SCHALE.Common.FlatData.Rarity Rarity { get; set; }
public long CharacterSkillListGroupId { get; set; } public long CharacterSkillListGroupId { get; set; }
public string SpineResourceName { get; set; } public string SpineResourceName { get; set; }
public string SpineResourceNameDiorama { get; set; } public string SpineResourceNameDiorama { get; set; }
public List<string> SpineResourceNameDioramaForFormConversion { get; set; } public List<string> SpineResourceNameDioramaForFormConversion { get; set; }
public SCHALE.Common.FlatData.EntityMaterialType EntityMaterialType_ { get; set; } public SCHALE.Common.FlatData.EntityMaterialType EntityMaterialType { get; set; }
public string ModelPrefabName { get; set; } public string ModelPrefabName { get; set; }
public string CafeModelPrefabName { get; set; } public string CafeModelPrefabName { get; set; }
public string EchelonModelPrefabName { get; set; } public string EchelonModelPrefabName { get; set; }
@ -429,18 +429,18 @@ public class CostumeExcelT
this.CostumeGroupId = 0; this.CostumeGroupId = 0;
this.CostumeUniqueId = 0; this.CostumeUniqueId = 0;
this.DevName = null; this.DevName = null;
this.ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo; this.ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo;
this.IsDefault = false; this.IsDefault = false;
this.CollectionVisible = false; this.CollectionVisible = false;
this.ReleaseDate = null; this.ReleaseDate = null;
this.CollectionVisibleStartDate = null; this.CollectionVisibleStartDate = null;
this.CollectionVisibleEndDate = null; this.CollectionVisibleEndDate = null;
this.Rarity_ = SCHALE.Common.FlatData.Rarity.N; this.Rarity = SCHALE.Common.FlatData.Rarity.N;
this.CharacterSkillListGroupId = 0; this.CharacterSkillListGroupId = 0;
this.SpineResourceName = null; this.SpineResourceName = null;
this.SpineResourceNameDiorama = null; this.SpineResourceNameDiorama = null;
this.SpineResourceNameDioramaForFormConversion = null; this.SpineResourceNameDioramaForFormConversion = null;
this.EntityMaterialType_ = SCHALE.Common.FlatData.EntityMaterialType.Wood; this.EntityMaterialType = SCHALE.Common.FlatData.EntityMaterialType.Wood;
this.ModelPrefabName = null; this.ModelPrefabName = null;
this.CafeModelPrefabName = null; this.CafeModelPrefabName = null;
this.EchelonModelPrefabName = null; this.EchelonModelPrefabName = null;
@ -470,18 +470,18 @@ static public class CostumeExcelVerify
&& verifier.VerifyField(tablePos, 4 /*CostumeGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*CostumeGroupId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*CostumeUniqueId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*CostumeUniqueId*/, 8 /*long*/, 8, false)
&& verifier.VerifyString(tablePos, 8 /*DevName*/, false) && verifier.VerifyString(tablePos, 8 /*DevName*/, false)
&& verifier.VerifyField(tablePos, 10 /*ProductionStep_*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false) && verifier.VerifyField(tablePos, 10 /*ProductionStep*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false)
&& verifier.VerifyField(tablePos, 12 /*IsDefault*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 12 /*IsDefault*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 14 /*CollectionVisible*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 14 /*CollectionVisible*/, 1 /*bool*/, 1, false)
&& verifier.VerifyString(tablePos, 16 /*ReleaseDate*/, false) && verifier.VerifyString(tablePos, 16 /*ReleaseDate*/, false)
&& verifier.VerifyString(tablePos, 18 /*CollectionVisibleStartDate*/, false) && verifier.VerifyString(tablePos, 18 /*CollectionVisibleStartDate*/, false)
&& verifier.VerifyString(tablePos, 20 /*CollectionVisibleEndDate*/, false) && verifier.VerifyString(tablePos, 20 /*CollectionVisibleEndDate*/, false)
&& verifier.VerifyField(tablePos, 22 /*Rarity_*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) && verifier.VerifyField(tablePos, 22 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false)
&& verifier.VerifyField(tablePos, 24 /*CharacterSkillListGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 24 /*CharacterSkillListGroupId*/, 8 /*long*/, 8, false)
&& verifier.VerifyString(tablePos, 26 /*SpineResourceName*/, false) && verifier.VerifyString(tablePos, 26 /*SpineResourceName*/, false)
&& verifier.VerifyString(tablePos, 28 /*SpineResourceNameDiorama*/, false) && verifier.VerifyString(tablePos, 28 /*SpineResourceNameDiorama*/, false)
&& verifier.VerifyVectorOfStrings(tablePos, 30 /*SpineResourceNameDioramaForFormConversion*/, false) && verifier.VerifyVectorOfStrings(tablePos, 30 /*SpineResourceNameDioramaForFormConversion*/, false)
&& verifier.VerifyField(tablePos, 32 /*EntityMaterialType_*/, 4 /*SCHALE.Common.FlatData.EntityMaterialType*/, 4, false) && verifier.VerifyField(tablePos, 32 /*EntityMaterialType*/, 4 /*SCHALE.Common.FlatData.EntityMaterialType*/, 4, false)
&& verifier.VerifyString(tablePos, 34 /*ModelPrefabName*/, false) && verifier.VerifyString(tablePos, 34 /*ModelPrefabName*/, false)
&& verifier.VerifyString(tablePos, 36 /*CafeModelPrefabName*/, false) && verifier.VerifyString(tablePos, 36 /*CafeModelPrefabName*/, false)
&& verifier.VerifyString(tablePos, 38 /*EchelonModelPrefabName*/, false) && verifier.VerifyString(tablePos, 38 /*EchelonModelPrefabName*/, false)

View File

@ -21,7 +21,7 @@ public struct CouponStuffExcel : IFlatbufferObject
public CouponStuffExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public CouponStuffExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long StuffId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long StuffId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.ParcelType ParcelType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public SCHALE.Common.FlatData.ParcelType ParcelType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } }
public long ParcelId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ParcelId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public int LimitAmount { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int LimitAmount { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public string CouponStuffNameLocalizeKey { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string CouponStuffNameLocalizeKey { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
@ -34,7 +34,7 @@ public struct CouponStuffExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.CouponStuffExcel> CreateCouponStuffExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.CouponStuffExcel> CreateCouponStuffExcel(FlatBufferBuilder builder,
long StuffId = 0, long StuffId = 0,
SCHALE.Common.FlatData.ParcelType ParcelType_ = SCHALE.Common.FlatData.ParcelType.None, SCHALE.Common.FlatData.ParcelType ParcelType = SCHALE.Common.FlatData.ParcelType.None,
long ParcelId = 0, long ParcelId = 0,
int LimitAmount = 0, int LimitAmount = 0,
StringOffset CouponStuffNameLocalizeKeyOffset = default(StringOffset)) { StringOffset CouponStuffNameLocalizeKeyOffset = default(StringOffset)) {
@ -43,13 +43,13 @@ public struct CouponStuffExcel : IFlatbufferObject
CouponStuffExcel.AddStuffId(builder, StuffId); CouponStuffExcel.AddStuffId(builder, StuffId);
CouponStuffExcel.AddCouponStuffNameLocalizeKey(builder, CouponStuffNameLocalizeKeyOffset); CouponStuffExcel.AddCouponStuffNameLocalizeKey(builder, CouponStuffNameLocalizeKeyOffset);
CouponStuffExcel.AddLimitAmount(builder, LimitAmount); CouponStuffExcel.AddLimitAmount(builder, LimitAmount);
CouponStuffExcel.AddParcelType_(builder, ParcelType_); CouponStuffExcel.AddParcelType(builder, ParcelType);
return CouponStuffExcel.EndCouponStuffExcel(builder); return CouponStuffExcel.EndCouponStuffExcel(builder);
} }
public static void StartCouponStuffExcel(FlatBufferBuilder builder) { builder.StartTable(5); } public static void StartCouponStuffExcel(FlatBufferBuilder builder) { builder.StartTable(5); }
public static void AddStuffId(FlatBufferBuilder builder, long stuffId) { builder.AddLong(0, stuffId, 0); } public static void AddStuffId(FlatBufferBuilder builder, long stuffId) { builder.AddLong(0, stuffId, 0); }
public static void AddParcelType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType_) { builder.AddInt(1, (int)parcelType_, 0); } public static void AddParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType) { builder.AddInt(1, (int)parcelType, 0); }
public static void AddParcelId(FlatBufferBuilder builder, long parcelId) { builder.AddLong(2, parcelId, 0); } public static void AddParcelId(FlatBufferBuilder builder, long parcelId) { builder.AddLong(2, parcelId, 0); }
public static void AddLimitAmount(FlatBufferBuilder builder, int limitAmount) { builder.AddInt(3, limitAmount, 0); } public static void AddLimitAmount(FlatBufferBuilder builder, int limitAmount) { builder.AddInt(3, limitAmount, 0); }
public static void AddCouponStuffNameLocalizeKey(FlatBufferBuilder builder, StringOffset couponStuffNameLocalizeKeyOffset) { builder.AddOffset(4, couponStuffNameLocalizeKeyOffset.Value, 0); } public static void AddCouponStuffNameLocalizeKey(FlatBufferBuilder builder, StringOffset couponStuffNameLocalizeKeyOffset) { builder.AddOffset(4, couponStuffNameLocalizeKeyOffset.Value, 0); }
@ -65,7 +65,7 @@ public struct CouponStuffExcel : IFlatbufferObject
public void UnPackTo(CouponStuffExcelT _o) { public void UnPackTo(CouponStuffExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("CouponStuff"); byte[] key = TableEncryptionService.CreateKey("CouponStuff");
_o.StuffId = TableEncryptionService.Convert(this.StuffId, key); _o.StuffId = TableEncryptionService.Convert(this.StuffId, key);
_o.ParcelType_ = TableEncryptionService.Convert(this.ParcelType_, key); _o.ParcelType = TableEncryptionService.Convert(this.ParcelType, key);
_o.ParcelId = TableEncryptionService.Convert(this.ParcelId, key); _o.ParcelId = TableEncryptionService.Convert(this.ParcelId, key);
_o.LimitAmount = TableEncryptionService.Convert(this.LimitAmount, key); _o.LimitAmount = TableEncryptionService.Convert(this.LimitAmount, key);
_o.CouponStuffNameLocalizeKey = TableEncryptionService.Convert(this.CouponStuffNameLocalizeKey, key); _o.CouponStuffNameLocalizeKey = TableEncryptionService.Convert(this.CouponStuffNameLocalizeKey, key);
@ -76,7 +76,7 @@ public struct CouponStuffExcel : IFlatbufferObject
return CreateCouponStuffExcel( return CreateCouponStuffExcel(
builder, builder,
_o.StuffId, _o.StuffId,
_o.ParcelType_, _o.ParcelType,
_o.ParcelId, _o.ParcelId,
_o.LimitAmount, _o.LimitAmount,
_CouponStuffNameLocalizeKey); _CouponStuffNameLocalizeKey);
@ -86,14 +86,14 @@ public struct CouponStuffExcel : IFlatbufferObject
public class CouponStuffExcelT public class CouponStuffExcelT
{ {
public long StuffId { get; set; } public long StuffId { get; set; }
public SCHALE.Common.FlatData.ParcelType ParcelType_ { get; set; } public SCHALE.Common.FlatData.ParcelType ParcelType { get; set; }
public long ParcelId { get; set; } public long ParcelId { get; set; }
public int LimitAmount { get; set; } public int LimitAmount { get; set; }
public string CouponStuffNameLocalizeKey { get; set; } public string CouponStuffNameLocalizeKey { get; set; }
public CouponStuffExcelT() { public CouponStuffExcelT() {
this.StuffId = 0; this.StuffId = 0;
this.ParcelType_ = SCHALE.Common.FlatData.ParcelType.None; this.ParcelType = SCHALE.Common.FlatData.ParcelType.None;
this.ParcelId = 0; this.ParcelId = 0;
this.LimitAmount = 0; this.LimitAmount = 0;
this.CouponStuffNameLocalizeKey = null; this.CouponStuffNameLocalizeKey = null;
@ -107,7 +107,7 @@ static public class CouponStuffExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*StuffId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*StuffId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*ParcelType_*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*ParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*ParcelId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*ParcelId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 10 /*LimitAmount*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 10 /*LimitAmount*/, 4 /*int*/, 4, false)
&& verifier.VerifyString(tablePos, 12 /*CouponStuffNameLocalizeKey*/, false) && verifier.VerifyString(tablePos, 12 /*CouponStuffNameLocalizeKey*/, false)

View File

@ -37,11 +37,11 @@ public struct CurrencyExcel : IFlatbufferObject
public ArraySegment<byte>? GetIconBytes() { return __p.__vector_as_arraysegment(12); } public ArraySegment<byte>? GetIconBytes() { return __p.__vector_as_arraysegment(12); }
#endif #endif
public byte[] GetIconArray() { return __p.__vector_as_array<byte>(12); } public byte[] GetIconArray() { return __p.__vector_as_array<byte>(12); }
public SCHALE.Common.FlatData.Rarity Rarity_ { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } public SCHALE.Common.FlatData.Rarity Rarity { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } }
public int AutoChargeMsc { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int AutoChargeMsc { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public int AutoChargeAmount { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int AutoChargeAmount { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public SCHALE.Common.FlatData.CurrencyOverChargeType CurrencyOverChargeType_ { get { int o = __p.__offset(20); return o != 0 ? (SCHALE.Common.FlatData.CurrencyOverChargeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CurrencyOverChargeType.CanNotCharge; } } public SCHALE.Common.FlatData.CurrencyOverChargeType CurrencyOverChargeType { get { int o = __p.__offset(20); return o != 0 ? (SCHALE.Common.FlatData.CurrencyOverChargeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CurrencyOverChargeType.CanNotCharge; } }
public SCHALE.Common.FlatData.CurrencyAdditionalChargeType CurrencyAdditionalChargeType_ { get { int o = __p.__offset(22); return o != 0 ? (SCHALE.Common.FlatData.CurrencyAdditionalChargeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CurrencyAdditionalChargeType.EnableAutoChargeOverLimit; } } public SCHALE.Common.FlatData.CurrencyAdditionalChargeType CurrencyAdditionalChargeType { get { int o = __p.__offset(22); return o != 0 ? (SCHALE.Common.FlatData.CurrencyAdditionalChargeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CurrencyAdditionalChargeType.EnableAutoChargeOverLimit; } }
public long ChargeLimit { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ChargeLimit { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long OverChargeLimit { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long OverChargeLimit { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public string SpriteName { get { int o = __p.__offset(28); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string SpriteName { get { int o = __p.__offset(28); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
@ -51,7 +51,7 @@ public struct CurrencyExcel : IFlatbufferObject
public ArraySegment<byte>? GetSpriteNameBytes() { return __p.__vector_as_arraysegment(28); } public ArraySegment<byte>? GetSpriteNameBytes() { return __p.__vector_as_arraysegment(28); }
#endif #endif
public byte[] GetSpriteNameArray() { return __p.__vector_as_array<byte>(28); } public byte[] GetSpriteNameArray() { return __p.__vector_as_array<byte>(28); }
public SCHALE.Common.FlatData.DailyRefillType DailyRefillType_ { get { int o = __p.__offset(30); return o != 0 ? (SCHALE.Common.FlatData.DailyRefillType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DailyRefillType.None; } } public SCHALE.Common.FlatData.DailyRefillType DailyRefillType { get { int o = __p.__offset(30); return o != 0 ? (SCHALE.Common.FlatData.DailyRefillType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DailyRefillType.None; } }
public long DailyRefillAmount { get { int o = __p.__offset(32); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long DailyRefillAmount { get { int o = __p.__offset(32); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long DailyRefillTime(int j) { int o = __p.__offset(34); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } public long DailyRefillTime(int j) { int o = __p.__offset(34); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; }
public int DailyRefillTimeLength { get { int o = __p.__offset(34); return o != 0 ? __p.__vector_len(o) : 0; } } public int DailyRefillTimeLength { get { int o = __p.__offset(34); return o != 0 ? __p.__vector_len(o) : 0; } }
@ -79,15 +79,15 @@ public struct CurrencyExcel : IFlatbufferObject
SCHALE.Common.FlatData.CurrencyTypes CurrencyType = SCHALE.Common.FlatData.CurrencyTypes.Invalid, SCHALE.Common.FlatData.CurrencyTypes CurrencyType = SCHALE.Common.FlatData.CurrencyTypes.Invalid,
StringOffset CurrencyNameOffset = default(StringOffset), StringOffset CurrencyNameOffset = default(StringOffset),
StringOffset IconOffset = default(StringOffset), StringOffset IconOffset = default(StringOffset),
SCHALE.Common.FlatData.Rarity Rarity_ = SCHALE.Common.FlatData.Rarity.N, SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N,
int AutoChargeMsc = 0, int AutoChargeMsc = 0,
int AutoChargeAmount = 0, int AutoChargeAmount = 0,
SCHALE.Common.FlatData.CurrencyOverChargeType CurrencyOverChargeType_ = SCHALE.Common.FlatData.CurrencyOverChargeType.CanNotCharge, SCHALE.Common.FlatData.CurrencyOverChargeType CurrencyOverChargeType = SCHALE.Common.FlatData.CurrencyOverChargeType.CanNotCharge,
SCHALE.Common.FlatData.CurrencyAdditionalChargeType CurrencyAdditionalChargeType_ = SCHALE.Common.FlatData.CurrencyAdditionalChargeType.EnableAutoChargeOverLimit, SCHALE.Common.FlatData.CurrencyAdditionalChargeType CurrencyAdditionalChargeType = SCHALE.Common.FlatData.CurrencyAdditionalChargeType.EnableAutoChargeOverLimit,
long ChargeLimit = 0, long ChargeLimit = 0,
long OverChargeLimit = 0, long OverChargeLimit = 0,
StringOffset SpriteNameOffset = default(StringOffset), StringOffset SpriteNameOffset = default(StringOffset),
SCHALE.Common.FlatData.DailyRefillType DailyRefillType_ = SCHALE.Common.FlatData.DailyRefillType.None, SCHALE.Common.FlatData.DailyRefillType DailyRefillType = SCHALE.Common.FlatData.DailyRefillType.None,
long DailyRefillAmount = 0, long DailyRefillAmount = 0,
VectorOffset DailyRefillTimeOffset = default(VectorOffset), VectorOffset DailyRefillTimeOffset = default(VectorOffset),
StringOffset ExpirationDateTimeOffset = default(StringOffset), StringOffset ExpirationDateTimeOffset = default(StringOffset),
@ -106,13 +106,13 @@ public struct CurrencyExcel : IFlatbufferObject
CurrencyExcel.AddExpirationNotifyDateIn(builder, ExpirationNotifyDateIn); CurrencyExcel.AddExpirationNotifyDateIn(builder, ExpirationNotifyDateIn);
CurrencyExcel.AddExpirationDateTime(builder, ExpirationDateTimeOffset); CurrencyExcel.AddExpirationDateTime(builder, ExpirationDateTimeOffset);
CurrencyExcel.AddDailyRefillTime(builder, DailyRefillTimeOffset); CurrencyExcel.AddDailyRefillTime(builder, DailyRefillTimeOffset);
CurrencyExcel.AddDailyRefillType_(builder, DailyRefillType_); CurrencyExcel.AddDailyRefillType(builder, DailyRefillType);
CurrencyExcel.AddSpriteName(builder, SpriteNameOffset); CurrencyExcel.AddSpriteName(builder, SpriteNameOffset);
CurrencyExcel.AddCurrencyAdditionalChargeType_(builder, CurrencyAdditionalChargeType_); CurrencyExcel.AddCurrencyAdditionalChargeType(builder, CurrencyAdditionalChargeType);
CurrencyExcel.AddCurrencyOverChargeType_(builder, CurrencyOverChargeType_); CurrencyExcel.AddCurrencyOverChargeType(builder, CurrencyOverChargeType);
CurrencyExcel.AddAutoChargeAmount(builder, AutoChargeAmount); CurrencyExcel.AddAutoChargeAmount(builder, AutoChargeAmount);
CurrencyExcel.AddAutoChargeMsc(builder, AutoChargeMsc); CurrencyExcel.AddAutoChargeMsc(builder, AutoChargeMsc);
CurrencyExcel.AddRarity_(builder, Rarity_); CurrencyExcel.AddRarity(builder, Rarity);
CurrencyExcel.AddIcon(builder, IconOffset); CurrencyExcel.AddIcon(builder, IconOffset);
CurrencyExcel.AddCurrencyName(builder, CurrencyNameOffset); CurrencyExcel.AddCurrencyName(builder, CurrencyNameOffset);
CurrencyExcel.AddCurrencyType(builder, CurrencyType); CurrencyExcel.AddCurrencyType(builder, CurrencyType);
@ -126,15 +126,15 @@ public struct CurrencyExcel : IFlatbufferObject
public static void AddCurrencyType(FlatBufferBuilder builder, SCHALE.Common.FlatData.CurrencyTypes currencyType) { builder.AddInt(2, (int)currencyType, 0); } public static void AddCurrencyType(FlatBufferBuilder builder, SCHALE.Common.FlatData.CurrencyTypes currencyType) { builder.AddInt(2, (int)currencyType, 0); }
public static void AddCurrencyName(FlatBufferBuilder builder, StringOffset currencyNameOffset) { builder.AddOffset(3, currencyNameOffset.Value, 0); } public static void AddCurrencyName(FlatBufferBuilder builder, StringOffset currencyNameOffset) { builder.AddOffset(3, currencyNameOffset.Value, 0); }
public static void AddIcon(FlatBufferBuilder builder, StringOffset iconOffset) { builder.AddOffset(4, iconOffset.Value, 0); } public static void AddIcon(FlatBufferBuilder builder, StringOffset iconOffset) { builder.AddOffset(4, iconOffset.Value, 0); }
public static void AddRarity_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity_) { builder.AddInt(5, (int)rarity_, 0); } public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(5, (int)rarity, 0); }
public static void AddAutoChargeMsc(FlatBufferBuilder builder, int autoChargeMsc) { builder.AddInt(6, autoChargeMsc, 0); } public static void AddAutoChargeMsc(FlatBufferBuilder builder, int autoChargeMsc) { builder.AddInt(6, autoChargeMsc, 0); }
public static void AddAutoChargeAmount(FlatBufferBuilder builder, int autoChargeAmount) { builder.AddInt(7, autoChargeAmount, 0); } public static void AddAutoChargeAmount(FlatBufferBuilder builder, int autoChargeAmount) { builder.AddInt(7, autoChargeAmount, 0); }
public static void AddCurrencyOverChargeType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.CurrencyOverChargeType currencyOverChargeType_) { builder.AddInt(8, (int)currencyOverChargeType_, 0); } public static void AddCurrencyOverChargeType(FlatBufferBuilder builder, SCHALE.Common.FlatData.CurrencyOverChargeType currencyOverChargeType) { builder.AddInt(8, (int)currencyOverChargeType, 0); }
public static void AddCurrencyAdditionalChargeType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.CurrencyAdditionalChargeType currencyAdditionalChargeType_) { builder.AddInt(9, (int)currencyAdditionalChargeType_, 0); } public static void AddCurrencyAdditionalChargeType(FlatBufferBuilder builder, SCHALE.Common.FlatData.CurrencyAdditionalChargeType currencyAdditionalChargeType) { builder.AddInt(9, (int)currencyAdditionalChargeType, 0); }
public static void AddChargeLimit(FlatBufferBuilder builder, long chargeLimit) { builder.AddLong(10, chargeLimit, 0); } public static void AddChargeLimit(FlatBufferBuilder builder, long chargeLimit) { builder.AddLong(10, chargeLimit, 0); }
public static void AddOverChargeLimit(FlatBufferBuilder builder, long overChargeLimit) { builder.AddLong(11, overChargeLimit, 0); } public static void AddOverChargeLimit(FlatBufferBuilder builder, long overChargeLimit) { builder.AddLong(11, overChargeLimit, 0); }
public static void AddSpriteName(FlatBufferBuilder builder, StringOffset spriteNameOffset) { builder.AddOffset(12, spriteNameOffset.Value, 0); } public static void AddSpriteName(FlatBufferBuilder builder, StringOffset spriteNameOffset) { builder.AddOffset(12, spriteNameOffset.Value, 0); }
public static void AddDailyRefillType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DailyRefillType dailyRefillType_) { builder.AddInt(13, (int)dailyRefillType_, 0); } public static void AddDailyRefillType(FlatBufferBuilder builder, SCHALE.Common.FlatData.DailyRefillType dailyRefillType) { builder.AddInt(13, (int)dailyRefillType, 0); }
public static void AddDailyRefillAmount(FlatBufferBuilder builder, long dailyRefillAmount) { builder.AddLong(14, dailyRefillAmount, 0); } public static void AddDailyRefillAmount(FlatBufferBuilder builder, long dailyRefillAmount) { builder.AddLong(14, dailyRefillAmount, 0); }
public static void AddDailyRefillTime(FlatBufferBuilder builder, VectorOffset dailyRefillTimeOffset) { builder.AddOffset(15, dailyRefillTimeOffset.Value, 0); } public static void AddDailyRefillTime(FlatBufferBuilder builder, VectorOffset dailyRefillTimeOffset) { builder.AddOffset(15, dailyRefillTimeOffset.Value, 0); }
public static VectorOffset CreateDailyRefillTimeVector(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); for (int i = data.Length - 1; i >= 0; i--) builder.AddLong(data[i]); return builder.EndVector(); } public static VectorOffset CreateDailyRefillTimeVector(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); for (int i = data.Length - 1; i >= 0; i--) builder.AddLong(data[i]); return builder.EndVector(); }
@ -163,15 +163,15 @@ public struct CurrencyExcel : IFlatbufferObject
_o.CurrencyType = TableEncryptionService.Convert(this.CurrencyType, key); _o.CurrencyType = TableEncryptionService.Convert(this.CurrencyType, key);
_o.CurrencyName = TableEncryptionService.Convert(this.CurrencyName, key); _o.CurrencyName = TableEncryptionService.Convert(this.CurrencyName, key);
_o.Icon = TableEncryptionService.Convert(this.Icon, key); _o.Icon = TableEncryptionService.Convert(this.Icon, key);
_o.Rarity_ = TableEncryptionService.Convert(this.Rarity_, key); _o.Rarity = TableEncryptionService.Convert(this.Rarity, key);
_o.AutoChargeMsc = TableEncryptionService.Convert(this.AutoChargeMsc, key); _o.AutoChargeMsc = TableEncryptionService.Convert(this.AutoChargeMsc, key);
_o.AutoChargeAmount = TableEncryptionService.Convert(this.AutoChargeAmount, key); _o.AutoChargeAmount = TableEncryptionService.Convert(this.AutoChargeAmount, key);
_o.CurrencyOverChargeType_ = TableEncryptionService.Convert(this.CurrencyOverChargeType_, key); _o.CurrencyOverChargeType = TableEncryptionService.Convert(this.CurrencyOverChargeType, key);
_o.CurrencyAdditionalChargeType_ = TableEncryptionService.Convert(this.CurrencyAdditionalChargeType_, key); _o.CurrencyAdditionalChargeType = TableEncryptionService.Convert(this.CurrencyAdditionalChargeType, key);
_o.ChargeLimit = TableEncryptionService.Convert(this.ChargeLimit, key); _o.ChargeLimit = TableEncryptionService.Convert(this.ChargeLimit, key);
_o.OverChargeLimit = TableEncryptionService.Convert(this.OverChargeLimit, key); _o.OverChargeLimit = TableEncryptionService.Convert(this.OverChargeLimit, key);
_o.SpriteName = TableEncryptionService.Convert(this.SpriteName, key); _o.SpriteName = TableEncryptionService.Convert(this.SpriteName, key);
_o.DailyRefillType_ = TableEncryptionService.Convert(this.DailyRefillType_, key); _o.DailyRefillType = TableEncryptionService.Convert(this.DailyRefillType, key);
_o.DailyRefillAmount = TableEncryptionService.Convert(this.DailyRefillAmount, key); _o.DailyRefillAmount = TableEncryptionService.Convert(this.DailyRefillAmount, key);
_o.DailyRefillTime = new List<long>(); _o.DailyRefillTime = new List<long>();
for (var _j = 0; _j < this.DailyRefillTimeLength; ++_j) {_o.DailyRefillTime.Add(TableEncryptionService.Convert(this.DailyRefillTime(_j), key));} for (var _j = 0; _j < this.DailyRefillTimeLength; ++_j) {_o.DailyRefillTime.Add(TableEncryptionService.Convert(this.DailyRefillTime(_j), key));}
@ -199,15 +199,15 @@ public struct CurrencyExcel : IFlatbufferObject
_o.CurrencyType, _o.CurrencyType,
_CurrencyName, _CurrencyName,
_Icon, _Icon,
_o.Rarity_, _o.Rarity,
_o.AutoChargeMsc, _o.AutoChargeMsc,
_o.AutoChargeAmount, _o.AutoChargeAmount,
_o.CurrencyOverChargeType_, _o.CurrencyOverChargeType,
_o.CurrencyAdditionalChargeType_, _o.CurrencyAdditionalChargeType,
_o.ChargeLimit, _o.ChargeLimit,
_o.OverChargeLimit, _o.OverChargeLimit,
_SpriteName, _SpriteName,
_o.DailyRefillType_, _o.DailyRefillType,
_o.DailyRefillAmount, _o.DailyRefillAmount,
_DailyRefillTime, _DailyRefillTime,
_ExpirationDateTime, _ExpirationDateTime,
@ -225,15 +225,15 @@ public class CurrencyExcelT
public SCHALE.Common.FlatData.CurrencyTypes CurrencyType { get; set; } public SCHALE.Common.FlatData.CurrencyTypes CurrencyType { get; set; }
public string CurrencyName { get; set; } public string CurrencyName { get; set; }
public string Icon { get; set; } public string Icon { get; set; }
public SCHALE.Common.FlatData.Rarity Rarity_ { get; set; } public SCHALE.Common.FlatData.Rarity Rarity { get; set; }
public int AutoChargeMsc { get; set; } public int AutoChargeMsc { get; set; }
public int AutoChargeAmount { get; set; } public int AutoChargeAmount { get; set; }
public SCHALE.Common.FlatData.CurrencyOverChargeType CurrencyOverChargeType_ { get; set; } public SCHALE.Common.FlatData.CurrencyOverChargeType CurrencyOverChargeType { get; set; }
public SCHALE.Common.FlatData.CurrencyAdditionalChargeType CurrencyAdditionalChargeType_ { get; set; } public SCHALE.Common.FlatData.CurrencyAdditionalChargeType CurrencyAdditionalChargeType { get; set; }
public long ChargeLimit { get; set; } public long ChargeLimit { get; set; }
public long OverChargeLimit { get; set; } public long OverChargeLimit { get; set; }
public string SpriteName { get; set; } public string SpriteName { get; set; }
public SCHALE.Common.FlatData.DailyRefillType DailyRefillType_ { get; set; } public SCHALE.Common.FlatData.DailyRefillType DailyRefillType { get; set; }
public long DailyRefillAmount { get; set; } public long DailyRefillAmount { get; set; }
public List<long> DailyRefillTime { get; set; } public List<long> DailyRefillTime { get; set; }
public string ExpirationDateTime { get; set; } public string ExpirationDateTime { get; set; }
@ -248,15 +248,15 @@ public class CurrencyExcelT
this.CurrencyType = SCHALE.Common.FlatData.CurrencyTypes.Invalid; this.CurrencyType = SCHALE.Common.FlatData.CurrencyTypes.Invalid;
this.CurrencyName = null; this.CurrencyName = null;
this.Icon = null; this.Icon = null;
this.Rarity_ = SCHALE.Common.FlatData.Rarity.N; this.Rarity = SCHALE.Common.FlatData.Rarity.N;
this.AutoChargeMsc = 0; this.AutoChargeMsc = 0;
this.AutoChargeAmount = 0; this.AutoChargeAmount = 0;
this.CurrencyOverChargeType_ = SCHALE.Common.FlatData.CurrencyOverChargeType.CanNotCharge; this.CurrencyOverChargeType = SCHALE.Common.FlatData.CurrencyOverChargeType.CanNotCharge;
this.CurrencyAdditionalChargeType_ = SCHALE.Common.FlatData.CurrencyAdditionalChargeType.EnableAutoChargeOverLimit; this.CurrencyAdditionalChargeType = SCHALE.Common.FlatData.CurrencyAdditionalChargeType.EnableAutoChargeOverLimit;
this.ChargeLimit = 0; this.ChargeLimit = 0;
this.OverChargeLimit = 0; this.OverChargeLimit = 0;
this.SpriteName = null; this.SpriteName = null;
this.DailyRefillType_ = SCHALE.Common.FlatData.DailyRefillType.None; this.DailyRefillType = SCHALE.Common.FlatData.DailyRefillType.None;
this.DailyRefillAmount = 0; this.DailyRefillAmount = 0;
this.DailyRefillTime = null; this.DailyRefillTime = null;
this.ExpirationDateTime = null; this.ExpirationDateTime = null;
@ -278,15 +278,15 @@ static public class CurrencyExcelVerify
&& verifier.VerifyField(tablePos, 8 /*CurrencyType*/, 4 /*SCHALE.Common.FlatData.CurrencyTypes*/, 4, false) && verifier.VerifyField(tablePos, 8 /*CurrencyType*/, 4 /*SCHALE.Common.FlatData.CurrencyTypes*/, 4, false)
&& verifier.VerifyString(tablePos, 10 /*CurrencyName*/, false) && verifier.VerifyString(tablePos, 10 /*CurrencyName*/, false)
&& verifier.VerifyString(tablePos, 12 /*Icon*/, false) && verifier.VerifyString(tablePos, 12 /*Icon*/, false)
&& verifier.VerifyField(tablePos, 14 /*Rarity_*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) && verifier.VerifyField(tablePos, 14 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false)
&& verifier.VerifyField(tablePos, 16 /*AutoChargeMsc*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 16 /*AutoChargeMsc*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 18 /*AutoChargeAmount*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 18 /*AutoChargeAmount*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 20 /*CurrencyOverChargeType_*/, 4 /*SCHALE.Common.FlatData.CurrencyOverChargeType*/, 4, false) && verifier.VerifyField(tablePos, 20 /*CurrencyOverChargeType*/, 4 /*SCHALE.Common.FlatData.CurrencyOverChargeType*/, 4, false)
&& verifier.VerifyField(tablePos, 22 /*CurrencyAdditionalChargeType_*/, 4 /*SCHALE.Common.FlatData.CurrencyAdditionalChargeType*/, 4, false) && verifier.VerifyField(tablePos, 22 /*CurrencyAdditionalChargeType*/, 4 /*SCHALE.Common.FlatData.CurrencyAdditionalChargeType*/, 4, false)
&& verifier.VerifyField(tablePos, 24 /*ChargeLimit*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 24 /*ChargeLimit*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 26 /*OverChargeLimit*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 26 /*OverChargeLimit*/, 8 /*long*/, 8, false)
&& verifier.VerifyString(tablePos, 28 /*SpriteName*/, false) && verifier.VerifyString(tablePos, 28 /*SpriteName*/, false)
&& verifier.VerifyField(tablePos, 30 /*DailyRefillType_*/, 4 /*SCHALE.Common.FlatData.DailyRefillType*/, 4, false) && verifier.VerifyField(tablePos, 30 /*DailyRefillType*/, 4 /*SCHALE.Common.FlatData.DailyRefillType*/, 4, false)
&& verifier.VerifyField(tablePos, 32 /*DailyRefillAmount*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 32 /*DailyRefillAmount*/, 8 /*long*/, 8, false)
&& verifier.VerifyVectorOfData(tablePos, 34 /*DailyRefillTime*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 34 /*DailyRefillTime*/, 8 /*long*/, false)
&& verifier.VerifyString(tablePos, 36 /*ExpirationDateTime*/, false) && verifier.VerifyString(tablePos, 36 /*ExpirationDateTime*/, false)

View File

@ -1,88 +0,0 @@
// <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::SCHALE.Common.Crypto;
using global::Google.FlatBuffers;
public struct CurrencyExcelTable : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static CurrencyExcelTable GetRootAsCurrencyExcelTable(ByteBuffer _bb) { return GetRootAsCurrencyExcelTable(_bb, new CurrencyExcelTable()); }
public static CurrencyExcelTable GetRootAsCurrencyExcelTable(ByteBuffer _bb, CurrencyExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public CurrencyExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.CurrencyExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.CurrencyExcel?)(new SCHALE.Common.FlatData.CurrencyExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; }
public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } }
public static Offset<SCHALE.Common.FlatData.CurrencyExcelTable> CreateCurrencyExcelTable(FlatBufferBuilder builder,
VectorOffset DataListOffset = default(VectorOffset)) {
builder.StartTable(1);
CurrencyExcelTable.AddDataList(builder, DataListOffset);
return CurrencyExcelTable.EndCurrencyExcelTable(builder);
}
public static void StartCurrencyExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); }
public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); }
public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.CurrencyExcel>[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.CurrencyExcel>[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<SCHALE.Common.FlatData.CurrencyExcel>> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<Offset<SCHALE.Common.FlatData.CurrencyExcel>>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.CurrencyExcelTable> EndCurrencyExcelTable(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.CurrencyExcelTable>(o);
}
public CurrencyExcelTableT UnPack() {
var _o = new CurrencyExcelTableT();
this.UnPackTo(_o);
return _o;
}
public void UnPackTo(CurrencyExcelTableT _o) {
byte[] key = TableEncryptionService.CreateKey("CurrencyExcel");
_o.DataList = new List<SCHALE.Common.FlatData.CurrencyExcelT>();
for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);}
}
public static Offset<SCHALE.Common.FlatData.CurrencyExcelTable> Pack(FlatBufferBuilder builder, CurrencyExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.CurrencyExcelTable>);
var _DataList = default(VectorOffset);
if (_o.DataList != null) {
var __DataList = new Offset<SCHALE.Common.FlatData.CurrencyExcel>[_o.DataList.Count];
for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.CurrencyExcel.Pack(builder, _o.DataList[_j]); }
_DataList = CreateDataListVector(builder, __DataList);
}
return CreateCurrencyExcelTable(
builder,
_DataList);
}
}
public class CurrencyExcelTableT
{
public List<SCHALE.Common.FlatData.CurrencyExcelT> DataList { get; set; }
public CurrencyExcelTableT() {
this.DataList = null;
}
}
static public class CurrencyExcelTableVerify
{
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{
return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.CurrencyExcelVerify.Verify, false)
&& verifier.VerifyTableEnd(tablePos);
}
}
}

View File

@ -22,7 +22,7 @@ public struct DefaultMailExcel : IFlatbufferObject
public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public uint LocalizeCodeId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public uint LocalizeCodeId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } }
public SCHALE.Common.FlatData.MailType MailType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.MailType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MailType.System; } } public SCHALE.Common.FlatData.MailType MailType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.MailType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MailType.System; } }
public string MailSendPeriodFrom { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string MailSendPeriodFrom { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
public Span<byte> GetMailSendPeriodFromBytes() { return __p.__vector_as_span<byte>(10, 1); } public Span<byte> GetMailSendPeriodFromBytes() { return __p.__vector_as_span<byte>(10, 1); }
@ -65,7 +65,7 @@ public struct DefaultMailExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.DefaultMailExcel> CreateDefaultMailExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.DefaultMailExcel> CreateDefaultMailExcel(FlatBufferBuilder builder,
long Id = 0, long Id = 0,
uint LocalizeCodeId = 0, uint LocalizeCodeId = 0,
SCHALE.Common.FlatData.MailType MailType_ = SCHALE.Common.FlatData.MailType.System, SCHALE.Common.FlatData.MailType MailType = SCHALE.Common.FlatData.MailType.System,
StringOffset MailSendPeriodFromOffset = default(StringOffset), StringOffset MailSendPeriodFromOffset = default(StringOffset),
StringOffset MailSendPeriodToOffset = default(StringOffset), StringOffset MailSendPeriodToOffset = default(StringOffset),
VectorOffset RewardParcelTypeOffset = default(VectorOffset), VectorOffset RewardParcelTypeOffset = default(VectorOffset),
@ -78,7 +78,7 @@ public struct DefaultMailExcel : IFlatbufferObject
DefaultMailExcel.AddRewardParcelType(builder, RewardParcelTypeOffset); DefaultMailExcel.AddRewardParcelType(builder, RewardParcelTypeOffset);
DefaultMailExcel.AddMailSendPeriodTo(builder, MailSendPeriodToOffset); DefaultMailExcel.AddMailSendPeriodTo(builder, MailSendPeriodToOffset);
DefaultMailExcel.AddMailSendPeriodFrom(builder, MailSendPeriodFromOffset); DefaultMailExcel.AddMailSendPeriodFrom(builder, MailSendPeriodFromOffset);
DefaultMailExcel.AddMailType_(builder, MailType_); DefaultMailExcel.AddMailType(builder, MailType);
DefaultMailExcel.AddLocalizeCodeId(builder, LocalizeCodeId); DefaultMailExcel.AddLocalizeCodeId(builder, LocalizeCodeId);
return DefaultMailExcel.EndDefaultMailExcel(builder); return DefaultMailExcel.EndDefaultMailExcel(builder);
} }
@ -86,7 +86,7 @@ public struct DefaultMailExcel : IFlatbufferObject
public static void StartDefaultMailExcel(FlatBufferBuilder builder) { builder.StartTable(8); } public static void StartDefaultMailExcel(FlatBufferBuilder builder) { builder.StartTable(8); }
public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); }
public static void AddLocalizeCodeId(FlatBufferBuilder builder, uint localizeCodeId) { builder.AddUint(1, localizeCodeId, 0); } public static void AddLocalizeCodeId(FlatBufferBuilder builder, uint localizeCodeId) { builder.AddUint(1, localizeCodeId, 0); }
public static void AddMailType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.MailType mailType_) { builder.AddInt(2, (int)mailType_, 0); } public static void AddMailType(FlatBufferBuilder builder, SCHALE.Common.FlatData.MailType mailType) { builder.AddInt(2, (int)mailType, 0); }
public static void AddMailSendPeriodFrom(FlatBufferBuilder builder, StringOffset mailSendPeriodFromOffset) { builder.AddOffset(3, mailSendPeriodFromOffset.Value, 0); } public static void AddMailSendPeriodFrom(FlatBufferBuilder builder, StringOffset mailSendPeriodFromOffset) { builder.AddOffset(3, mailSendPeriodFromOffset.Value, 0); }
public static void AddMailSendPeriodTo(FlatBufferBuilder builder, StringOffset mailSendPeriodToOffset) { builder.AddOffset(4, mailSendPeriodToOffset.Value, 0); } public static void AddMailSendPeriodTo(FlatBufferBuilder builder, StringOffset mailSendPeriodToOffset) { builder.AddOffset(4, mailSendPeriodToOffset.Value, 0); }
public static void AddRewardParcelType(FlatBufferBuilder builder, VectorOffset rewardParcelTypeOffset) { builder.AddOffset(5, rewardParcelTypeOffset.Value, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, VectorOffset rewardParcelTypeOffset) { builder.AddOffset(5, rewardParcelTypeOffset.Value, 0); }
@ -120,7 +120,7 @@ public struct DefaultMailExcel : IFlatbufferObject
byte[] key = TableEncryptionService.CreateKey("DefaultMail"); byte[] key = TableEncryptionService.CreateKey("DefaultMail");
_o.Id = TableEncryptionService.Convert(this.Id, key); _o.Id = TableEncryptionService.Convert(this.Id, key);
_o.LocalizeCodeId = TableEncryptionService.Convert(this.LocalizeCodeId, key); _o.LocalizeCodeId = TableEncryptionService.Convert(this.LocalizeCodeId, key);
_o.MailType_ = TableEncryptionService.Convert(this.MailType_, key); _o.MailType = TableEncryptionService.Convert(this.MailType, key);
_o.MailSendPeriodFrom = TableEncryptionService.Convert(this.MailSendPeriodFrom, key); _o.MailSendPeriodFrom = TableEncryptionService.Convert(this.MailSendPeriodFrom, key);
_o.MailSendPeriodTo = TableEncryptionService.Convert(this.MailSendPeriodTo, key); _o.MailSendPeriodTo = TableEncryptionService.Convert(this.MailSendPeriodTo, key);
_o.RewardParcelType = new List<SCHALE.Common.FlatData.ParcelType>(); _o.RewardParcelType = new List<SCHALE.Common.FlatData.ParcelType>();
@ -153,7 +153,7 @@ public struct DefaultMailExcel : IFlatbufferObject
builder, builder,
_o.Id, _o.Id,
_o.LocalizeCodeId, _o.LocalizeCodeId,
_o.MailType_, _o.MailType,
_MailSendPeriodFrom, _MailSendPeriodFrom,
_MailSendPeriodTo, _MailSendPeriodTo,
_RewardParcelType, _RewardParcelType,
@ -166,7 +166,7 @@ public class DefaultMailExcelT
{ {
public long Id { get; set; } public long Id { get; set; }
public uint LocalizeCodeId { get; set; } public uint LocalizeCodeId { get; set; }
public SCHALE.Common.FlatData.MailType MailType_ { get; set; } public SCHALE.Common.FlatData.MailType MailType { get; set; }
public string MailSendPeriodFrom { get; set; } public string MailSendPeriodFrom { get; set; }
public string MailSendPeriodTo { get; set; } public string MailSendPeriodTo { get; set; }
public List<SCHALE.Common.FlatData.ParcelType> RewardParcelType { get; set; } public List<SCHALE.Common.FlatData.ParcelType> RewardParcelType { get; set; }
@ -176,7 +176,7 @@ public class DefaultMailExcelT
public DefaultMailExcelT() { public DefaultMailExcelT() {
this.Id = 0; this.Id = 0;
this.LocalizeCodeId = 0; this.LocalizeCodeId = 0;
this.MailType_ = SCHALE.Common.FlatData.MailType.System; this.MailType = SCHALE.Common.FlatData.MailType.System;
this.MailSendPeriodFrom = null; this.MailSendPeriodFrom = null;
this.MailSendPeriodTo = null; this.MailSendPeriodTo = null;
this.RewardParcelType = null; this.RewardParcelType = null;
@ -193,7 +193,7 @@ static public class DefaultMailExcelVerify
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*LocalizeCodeId*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 6 /*LocalizeCodeId*/, 4 /*uint*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*MailType_*/, 4 /*SCHALE.Common.FlatData.MailType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*MailType*/, 4 /*SCHALE.Common.FlatData.MailType*/, 4, false)
&& verifier.VerifyString(tablePos, 10 /*MailSendPeriodFrom*/, false) && verifier.VerifyString(tablePos, 10 /*MailSendPeriodFrom*/, false)
&& verifier.VerifyString(tablePos, 12 /*MailSendPeriodTo*/, false) && verifier.VerifyString(tablePos, 12 /*MailSendPeriodTo*/, false)
&& verifier.VerifyVectorOfData(tablePos, 14 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false) && verifier.VerifyVectorOfData(tablePos, 14 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false)

View File

@ -20,23 +20,23 @@ public struct DefaultParcelExcel : IFlatbufferObject
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public DefaultParcelExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public DefaultParcelExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.ParcelType ParcelType_ { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public SCHALE.Common.FlatData.ParcelType ParcelType { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } }
public long ParcelId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ParcelId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long ParcelAmount { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ParcelAmount { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public static Offset<SCHALE.Common.FlatData.DefaultParcelExcel> CreateDefaultParcelExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.DefaultParcelExcel> CreateDefaultParcelExcel(FlatBufferBuilder builder,
SCHALE.Common.FlatData.ParcelType ParcelType_ = SCHALE.Common.FlatData.ParcelType.None, SCHALE.Common.FlatData.ParcelType ParcelType = SCHALE.Common.FlatData.ParcelType.None,
long ParcelId = 0, long ParcelId = 0,
long ParcelAmount = 0) { long ParcelAmount = 0) {
builder.StartTable(3); builder.StartTable(3);
DefaultParcelExcel.AddParcelAmount(builder, ParcelAmount); DefaultParcelExcel.AddParcelAmount(builder, ParcelAmount);
DefaultParcelExcel.AddParcelId(builder, ParcelId); DefaultParcelExcel.AddParcelId(builder, ParcelId);
DefaultParcelExcel.AddParcelType_(builder, ParcelType_); DefaultParcelExcel.AddParcelType(builder, ParcelType);
return DefaultParcelExcel.EndDefaultParcelExcel(builder); return DefaultParcelExcel.EndDefaultParcelExcel(builder);
} }
public static void StartDefaultParcelExcel(FlatBufferBuilder builder) { builder.StartTable(3); } public static void StartDefaultParcelExcel(FlatBufferBuilder builder) { builder.StartTable(3); }
public static void AddParcelType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType_) { builder.AddInt(0, (int)parcelType_, 0); } public static void AddParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType) { builder.AddInt(0, (int)parcelType, 0); }
public static void AddParcelId(FlatBufferBuilder builder, long parcelId) { builder.AddLong(1, parcelId, 0); } public static void AddParcelId(FlatBufferBuilder builder, long parcelId) { builder.AddLong(1, parcelId, 0); }
public static void AddParcelAmount(FlatBufferBuilder builder, long parcelAmount) { builder.AddLong(2, parcelAmount, 0); } public static void AddParcelAmount(FlatBufferBuilder builder, long parcelAmount) { builder.AddLong(2, parcelAmount, 0); }
public static Offset<SCHALE.Common.FlatData.DefaultParcelExcel> EndDefaultParcelExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.DefaultParcelExcel> EndDefaultParcelExcel(FlatBufferBuilder builder) {
@ -50,7 +50,7 @@ public struct DefaultParcelExcel : IFlatbufferObject
} }
public void UnPackTo(DefaultParcelExcelT _o) { public void UnPackTo(DefaultParcelExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("DefaultParcel"); byte[] key = TableEncryptionService.CreateKey("DefaultParcel");
_o.ParcelType_ = TableEncryptionService.Convert(this.ParcelType_, key); _o.ParcelType = TableEncryptionService.Convert(this.ParcelType, key);
_o.ParcelId = TableEncryptionService.Convert(this.ParcelId, key); _o.ParcelId = TableEncryptionService.Convert(this.ParcelId, key);
_o.ParcelAmount = TableEncryptionService.Convert(this.ParcelAmount, key); _o.ParcelAmount = TableEncryptionService.Convert(this.ParcelAmount, key);
} }
@ -58,7 +58,7 @@ public struct DefaultParcelExcel : IFlatbufferObject
if (_o == null) return default(Offset<SCHALE.Common.FlatData.DefaultParcelExcel>); if (_o == null) return default(Offset<SCHALE.Common.FlatData.DefaultParcelExcel>);
return CreateDefaultParcelExcel( return CreateDefaultParcelExcel(
builder, builder,
_o.ParcelType_, _o.ParcelType,
_o.ParcelId, _o.ParcelId,
_o.ParcelAmount); _o.ParcelAmount);
} }
@ -66,12 +66,12 @@ public struct DefaultParcelExcel : IFlatbufferObject
public class DefaultParcelExcelT public class DefaultParcelExcelT
{ {
public SCHALE.Common.FlatData.ParcelType ParcelType_ { get; set; } public SCHALE.Common.FlatData.ParcelType ParcelType { get; set; }
public long ParcelId { get; set; } public long ParcelId { get; set; }
public long ParcelAmount { get; set; } public long ParcelAmount { get; set; }
public DefaultParcelExcelT() { public DefaultParcelExcelT() {
this.ParcelType_ = SCHALE.Common.FlatData.ParcelType.None; this.ParcelType = SCHALE.Common.FlatData.ParcelType.None;
this.ParcelId = 0; this.ParcelId = 0;
this.ParcelAmount = 0; this.ParcelAmount = 0;
} }
@ -83,7 +83,7 @@ static public class DefaultParcelExcelVerify
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*ParcelType_*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 4 /*ParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false)
&& verifier.VerifyField(tablePos, 6 /*ParcelId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*ParcelId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 8 /*ParcelAmount*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*ParcelAmount*/, 8 /*long*/, 8, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);

View File

@ -21,7 +21,7 @@ public struct DuplicateBonusExcel : IFlatbufferObject
public DuplicateBonusExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public DuplicateBonusExcel __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 Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.ItemCategory ItemCategory_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ItemCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ItemCategory.Coin; } } public SCHALE.Common.FlatData.ItemCategory ItemCategory { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ItemCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ItemCategory.Coin; } }
public long ItemId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ItemId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long CharacterId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long CharacterId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.ParcelType RewardParcelType { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } }
@ -30,7 +30,7 @@ public struct DuplicateBonusExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.DuplicateBonusExcel> CreateDuplicateBonusExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.DuplicateBonusExcel> CreateDuplicateBonusExcel(FlatBufferBuilder builder,
long Id = 0, long Id = 0,
SCHALE.Common.FlatData.ItemCategory ItemCategory_ = SCHALE.Common.FlatData.ItemCategory.Coin, SCHALE.Common.FlatData.ItemCategory ItemCategory = SCHALE.Common.FlatData.ItemCategory.Coin,
long ItemId = 0, long ItemId = 0,
long CharacterId = 0, long CharacterId = 0,
SCHALE.Common.FlatData.ParcelType RewardParcelType = SCHALE.Common.FlatData.ParcelType.None, SCHALE.Common.FlatData.ParcelType RewardParcelType = SCHALE.Common.FlatData.ParcelType.None,
@ -43,13 +43,13 @@ public struct DuplicateBonusExcel : IFlatbufferObject
DuplicateBonusExcel.AddItemId(builder, ItemId); DuplicateBonusExcel.AddItemId(builder, ItemId);
DuplicateBonusExcel.AddId(builder, Id); DuplicateBonusExcel.AddId(builder, Id);
DuplicateBonusExcel.AddRewardParcelType(builder, RewardParcelType); DuplicateBonusExcel.AddRewardParcelType(builder, RewardParcelType);
DuplicateBonusExcel.AddItemCategory_(builder, ItemCategory_); DuplicateBonusExcel.AddItemCategory(builder, ItemCategory);
return DuplicateBonusExcel.EndDuplicateBonusExcel(builder); return DuplicateBonusExcel.EndDuplicateBonusExcel(builder);
} }
public static void StartDuplicateBonusExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void StartDuplicateBonusExcel(FlatBufferBuilder builder) { builder.StartTable(7); }
public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); }
public static void AddItemCategory_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ItemCategory itemCategory_) { builder.AddInt(1, (int)itemCategory_, 0); } public static void AddItemCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.ItemCategory itemCategory) { builder.AddInt(1, (int)itemCategory, 0); }
public static void AddItemId(FlatBufferBuilder builder, long itemId) { builder.AddLong(2, itemId, 0); } public static void AddItemId(FlatBufferBuilder builder, long itemId) { builder.AddLong(2, itemId, 0); }
public static void AddCharacterId(FlatBufferBuilder builder, long characterId) { builder.AddLong(3, characterId, 0); } public static void AddCharacterId(FlatBufferBuilder builder, long characterId) { builder.AddLong(3, characterId, 0); }
public static void AddRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType rewardParcelType) { builder.AddInt(4, (int)rewardParcelType, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType rewardParcelType) { builder.AddInt(4, (int)rewardParcelType, 0); }
@ -67,7 +67,7 @@ public struct DuplicateBonusExcel : IFlatbufferObject
public void UnPackTo(DuplicateBonusExcelT _o) { public void UnPackTo(DuplicateBonusExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("DuplicateBonus"); byte[] key = TableEncryptionService.CreateKey("DuplicateBonus");
_o.Id = TableEncryptionService.Convert(this.Id, key); _o.Id = TableEncryptionService.Convert(this.Id, key);
_o.ItemCategory_ = TableEncryptionService.Convert(this.ItemCategory_, key); _o.ItemCategory = TableEncryptionService.Convert(this.ItemCategory, key);
_o.ItemId = TableEncryptionService.Convert(this.ItemId, key); _o.ItemId = TableEncryptionService.Convert(this.ItemId, key);
_o.CharacterId = TableEncryptionService.Convert(this.CharacterId, key); _o.CharacterId = TableEncryptionService.Convert(this.CharacterId, key);
_o.RewardParcelType = TableEncryptionService.Convert(this.RewardParcelType, key); _o.RewardParcelType = TableEncryptionService.Convert(this.RewardParcelType, key);
@ -79,7 +79,7 @@ public struct DuplicateBonusExcel : IFlatbufferObject
return CreateDuplicateBonusExcel( return CreateDuplicateBonusExcel(
builder, builder,
_o.Id, _o.Id,
_o.ItemCategory_, _o.ItemCategory,
_o.ItemId, _o.ItemId,
_o.CharacterId, _o.CharacterId,
_o.RewardParcelType, _o.RewardParcelType,
@ -91,7 +91,7 @@ public struct DuplicateBonusExcel : IFlatbufferObject
public class DuplicateBonusExcelT public class DuplicateBonusExcelT
{ {
public long Id { get; set; } public long Id { get; set; }
public SCHALE.Common.FlatData.ItemCategory ItemCategory_ { get; set; } public SCHALE.Common.FlatData.ItemCategory ItemCategory { get; set; }
public long ItemId { get; set; } public long ItemId { get; set; }
public long CharacterId { get; set; } public long CharacterId { get; set; }
public SCHALE.Common.FlatData.ParcelType RewardParcelType { get; set; } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get; set; }
@ -100,7 +100,7 @@ public class DuplicateBonusExcelT
public DuplicateBonusExcelT() { public DuplicateBonusExcelT() {
this.Id = 0; this.Id = 0;
this.ItemCategory_ = SCHALE.Common.FlatData.ItemCategory.Coin; this.ItemCategory = SCHALE.Common.FlatData.ItemCategory.Coin;
this.ItemId = 0; this.ItemId = 0;
this.CharacterId = 0; this.CharacterId = 0;
this.RewardParcelType = SCHALE.Common.FlatData.ParcelType.None; this.RewardParcelType = SCHALE.Common.FlatData.ParcelType.None;
@ -116,7 +116,7 @@ static public class DuplicateBonusExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*ItemCategory_*/, 4 /*SCHALE.Common.FlatData.ItemCategory*/, 4, false) && verifier.VerifyField(tablePos, 6 /*ItemCategory*/, 4 /*SCHALE.Common.FlatData.ItemCategory*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*ItemId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*ItemId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 10 /*CharacterId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*CharacterId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 12 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 12 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false)

View File

@ -38,9 +38,9 @@ public struct EchelonConstraintExcel : IFlatbufferObject
public ArraySegment<byte>? GetPersonalityIdBytes() { return __p.__vector_as_arraysegment(10); } public ArraySegment<byte>? GetPersonalityIdBytes() { return __p.__vector_as_arraysegment(10); }
#endif #endif
public long[] GetPersonalityIdArray() { return __p.__vector_as_array<long>(10); } public long[] GetPersonalityIdArray() { return __p.__vector_as_array<long>(10); }
public SCHALE.Common.FlatData.WeaponType WeaponType_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.WeaponType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeaponType.None; } } public SCHALE.Common.FlatData.WeaponType WeaponType { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.WeaponType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeaponType.None; } }
public SCHALE.Common.FlatData.School School_ { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.School)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.School.None; } } public SCHALE.Common.FlatData.School School { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.School)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.School.None; } }
public SCHALE.Common.FlatData.Club Club_ { get { int o = __p.__offset(16); return o != 0 ? (SCHALE.Common.FlatData.Club)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Club.None; } } public SCHALE.Common.FlatData.Club Club { get { int o = __p.__offset(16); return o != 0 ? (SCHALE.Common.FlatData.Club)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Club.None; } }
public SCHALE.Common.FlatData.TacticRole Role { get { int o = __p.__offset(18); return o != 0 ? (SCHALE.Common.FlatData.TacticRole)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticRole.None; } } public SCHALE.Common.FlatData.TacticRole Role { get { int o = __p.__offset(18); return o != 0 ? (SCHALE.Common.FlatData.TacticRole)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticRole.None; } }
public static Offset<SCHALE.Common.FlatData.EchelonConstraintExcel> CreateEchelonConstraintExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.EchelonConstraintExcel> CreateEchelonConstraintExcel(FlatBufferBuilder builder,
@ -48,16 +48,16 @@ public struct EchelonConstraintExcel : IFlatbufferObject
bool IsWhiteList = false, bool IsWhiteList = false,
VectorOffset CharacterIdOffset = default(VectorOffset), VectorOffset CharacterIdOffset = default(VectorOffset),
VectorOffset PersonalityIdOffset = default(VectorOffset), VectorOffset PersonalityIdOffset = default(VectorOffset),
SCHALE.Common.FlatData.WeaponType WeaponType_ = SCHALE.Common.FlatData.WeaponType.None, SCHALE.Common.FlatData.WeaponType WeaponType = SCHALE.Common.FlatData.WeaponType.None,
SCHALE.Common.FlatData.School School_ = SCHALE.Common.FlatData.School.None, SCHALE.Common.FlatData.School School = SCHALE.Common.FlatData.School.None,
SCHALE.Common.FlatData.Club Club_ = SCHALE.Common.FlatData.Club.None, SCHALE.Common.FlatData.Club Club = SCHALE.Common.FlatData.Club.None,
SCHALE.Common.FlatData.TacticRole Role = SCHALE.Common.FlatData.TacticRole.None) { SCHALE.Common.FlatData.TacticRole Role = SCHALE.Common.FlatData.TacticRole.None) {
builder.StartTable(8); builder.StartTable(8);
EchelonConstraintExcel.AddGroupId(builder, GroupId); EchelonConstraintExcel.AddGroupId(builder, GroupId);
EchelonConstraintExcel.AddRole(builder, Role); EchelonConstraintExcel.AddRole(builder, Role);
EchelonConstraintExcel.AddClub_(builder, Club_); EchelonConstraintExcel.AddClub(builder, Club);
EchelonConstraintExcel.AddSchool_(builder, School_); EchelonConstraintExcel.AddSchool(builder, School);
EchelonConstraintExcel.AddWeaponType_(builder, WeaponType_); EchelonConstraintExcel.AddWeaponType(builder, WeaponType);
EchelonConstraintExcel.AddPersonalityId(builder, PersonalityIdOffset); EchelonConstraintExcel.AddPersonalityId(builder, PersonalityIdOffset);
EchelonConstraintExcel.AddCharacterId(builder, CharacterIdOffset); EchelonConstraintExcel.AddCharacterId(builder, CharacterIdOffset);
EchelonConstraintExcel.AddIsWhiteList(builder, IsWhiteList); EchelonConstraintExcel.AddIsWhiteList(builder, IsWhiteList);
@ -79,9 +79,9 @@ public struct EchelonConstraintExcel : IFlatbufferObject
public static VectorOffset CreatePersonalityIdVectorBlock(FlatBufferBuilder builder, ArraySegment<long> data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreatePersonalityIdVectorBlock(FlatBufferBuilder builder, ArraySegment<long> data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreatePersonalityIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<long>(dataPtr, sizeInBytes); return builder.EndVector(); } public static VectorOffset CreatePersonalityIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<long>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartPersonalityIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } public static void StartPersonalityIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); }
public static void AddWeaponType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeaponType weaponType_) { builder.AddInt(4, (int)weaponType_, 0); } public static void AddWeaponType(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeaponType weaponType) { builder.AddInt(4, (int)weaponType, 0); }
public static void AddSchool_(FlatBufferBuilder builder, SCHALE.Common.FlatData.School school_) { builder.AddInt(5, (int)school_, 0); } public static void AddSchool(FlatBufferBuilder builder, SCHALE.Common.FlatData.School school) { builder.AddInt(5, (int)school, 0); }
public static void AddClub_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Club club_) { builder.AddInt(6, (int)club_, 0); } public static void AddClub(FlatBufferBuilder builder, SCHALE.Common.FlatData.Club club) { builder.AddInt(6, (int)club, 0); }
public static void AddRole(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticRole role) { builder.AddInt(7, (int)role, 0); } public static void AddRole(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticRole role) { builder.AddInt(7, (int)role, 0); }
public static Offset<SCHALE.Common.FlatData.EchelonConstraintExcel> EndEchelonConstraintExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.EchelonConstraintExcel> EndEchelonConstraintExcel(FlatBufferBuilder builder) {
int o = builder.EndTable(); int o = builder.EndTable();
@ -100,9 +100,9 @@ public struct EchelonConstraintExcel : IFlatbufferObject
for (var _j = 0; _j < this.CharacterIdLength; ++_j) {_o.CharacterId.Add(TableEncryptionService.Convert(this.CharacterId(_j), key));} for (var _j = 0; _j < this.CharacterIdLength; ++_j) {_o.CharacterId.Add(TableEncryptionService.Convert(this.CharacterId(_j), key));}
_o.PersonalityId = new List<long>(); _o.PersonalityId = new List<long>();
for (var _j = 0; _j < this.PersonalityIdLength; ++_j) {_o.PersonalityId.Add(TableEncryptionService.Convert(this.PersonalityId(_j), key));} for (var _j = 0; _j < this.PersonalityIdLength; ++_j) {_o.PersonalityId.Add(TableEncryptionService.Convert(this.PersonalityId(_j), key));}
_o.WeaponType_ = TableEncryptionService.Convert(this.WeaponType_, key); _o.WeaponType = TableEncryptionService.Convert(this.WeaponType, key);
_o.School_ = TableEncryptionService.Convert(this.School_, key); _o.School = TableEncryptionService.Convert(this.School, key);
_o.Club_ = TableEncryptionService.Convert(this.Club_, key); _o.Club = TableEncryptionService.Convert(this.Club, key);
_o.Role = TableEncryptionService.Convert(this.Role, key); _o.Role = TableEncryptionService.Convert(this.Role, key);
} }
public static Offset<SCHALE.Common.FlatData.EchelonConstraintExcel> Pack(FlatBufferBuilder builder, EchelonConstraintExcelT _o) { public static Offset<SCHALE.Common.FlatData.EchelonConstraintExcel> Pack(FlatBufferBuilder builder, EchelonConstraintExcelT _o) {
@ -123,9 +123,9 @@ public struct EchelonConstraintExcel : IFlatbufferObject
_o.IsWhiteList, _o.IsWhiteList,
_CharacterId, _CharacterId,
_PersonalityId, _PersonalityId,
_o.WeaponType_, _o.WeaponType,
_o.School_, _o.School,
_o.Club_, _o.Club,
_o.Role); _o.Role);
} }
} }
@ -136,9 +136,9 @@ public class EchelonConstraintExcelT
public bool IsWhiteList { get; set; } public bool IsWhiteList { get; set; }
public List<long> CharacterId { get; set; } public List<long> CharacterId { get; set; }
public List<long> PersonalityId { get; set; } public List<long> PersonalityId { get; set; }
public SCHALE.Common.FlatData.WeaponType WeaponType_ { get; set; } public SCHALE.Common.FlatData.WeaponType WeaponType { get; set; }
public SCHALE.Common.FlatData.School School_ { get; set; } public SCHALE.Common.FlatData.School School { get; set; }
public SCHALE.Common.FlatData.Club Club_ { get; set; } public SCHALE.Common.FlatData.Club Club { get; set; }
public SCHALE.Common.FlatData.TacticRole Role { get; set; } public SCHALE.Common.FlatData.TacticRole Role { get; set; }
public EchelonConstraintExcelT() { public EchelonConstraintExcelT() {
@ -146,9 +146,9 @@ public class EchelonConstraintExcelT
this.IsWhiteList = false; this.IsWhiteList = false;
this.CharacterId = null; this.CharacterId = null;
this.PersonalityId = null; this.PersonalityId = null;
this.WeaponType_ = SCHALE.Common.FlatData.WeaponType.None; this.WeaponType = SCHALE.Common.FlatData.WeaponType.None;
this.School_ = SCHALE.Common.FlatData.School.None; this.School = SCHALE.Common.FlatData.School.None;
this.Club_ = SCHALE.Common.FlatData.Club.None; this.Club = SCHALE.Common.FlatData.Club.None;
this.Role = SCHALE.Common.FlatData.TacticRole.None; this.Role = SCHALE.Common.FlatData.TacticRole.None;
} }
} }
@ -163,9 +163,9 @@ static public class EchelonConstraintExcelVerify
&& verifier.VerifyField(tablePos, 6 /*IsWhiteList*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 6 /*IsWhiteList*/, 1 /*bool*/, 1, false)
&& verifier.VerifyVectorOfData(tablePos, 8 /*CharacterId*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 8 /*CharacterId*/, 8 /*long*/, false)
&& verifier.VerifyVectorOfData(tablePos, 10 /*PersonalityId*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 10 /*PersonalityId*/, 8 /*long*/, false)
&& verifier.VerifyField(tablePos, 12 /*WeaponType_*/, 4 /*SCHALE.Common.FlatData.WeaponType*/, 4, false) && verifier.VerifyField(tablePos, 12 /*WeaponType*/, 4 /*SCHALE.Common.FlatData.WeaponType*/, 4, false)
&& verifier.VerifyField(tablePos, 14 /*School_*/, 4 /*SCHALE.Common.FlatData.School*/, 4, false) && verifier.VerifyField(tablePos, 14 /*School*/, 4 /*SCHALE.Common.FlatData.School*/, 4, false)
&& verifier.VerifyField(tablePos, 16 /*Club_*/, 4 /*SCHALE.Common.FlatData.Club*/, 4, false) && verifier.VerifyField(tablePos, 16 /*Club*/, 4 /*SCHALE.Common.FlatData.Club*/, 4, false)
&& verifier.VerifyField(tablePos, 18 /*Role*/, 4 /*SCHALE.Common.FlatData.TacticRole*/, 4, false) && verifier.VerifyField(tablePos, 18 /*Role*/, 4 /*SCHALE.Common.FlatData.TacticRole*/, 4, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);
} }

View File

@ -63,7 +63,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject
public ArraySegment<byte>? GetBossCharacterIdBytes() { return __p.__vector_as_arraysegment(26); } public ArraySegment<byte>? GetBossCharacterIdBytes() { return __p.__vector_as_arraysegment(26); }
#endif #endif
public long[] GetBossCharacterIdArray() { return __p.__vector_as_array<long>(26); } public long[] GetBossCharacterIdArray() { return __p.__vector_as_array<long>(26); }
public SCHALE.Common.FlatData.Difficulty Difficulty_ { get { int o = __p.__offset(28); return o != 0 ? (SCHALE.Common.FlatData.Difficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Difficulty.Normal; } } public SCHALE.Common.FlatData.Difficulty Difficulty { get { int o = __p.__offset(28); return o != 0 ? (SCHALE.Common.FlatData.Difficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Difficulty.Normal; } }
public bool IsOpen { get { int o = __p.__offset(30); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool IsOpen { get { int o = __p.__offset(30); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public long MaxPlayerCount { get { int o = __p.__offset(32); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long MaxPlayerCount { get { int o = __p.__offset(32); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public int RaidRoomLifeTime { get { int o = __p.__offset(34); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int RaidRoomLifeTime { get { int o = __p.__offset(34); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
@ -83,7 +83,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject
public ArraySegment<byte>? GetEnterTimeLineBytes() { return __p.__vector_as_arraysegment(42); } public ArraySegment<byte>? GetEnterTimeLineBytes() { return __p.__vector_as_arraysegment(42); }
#endif #endif
public byte[] GetEnterTimeLineArray() { return __p.__vector_as_array<byte>(42); } public byte[] GetEnterTimeLineArray() { return __p.__vector_as_array<byte>(42); }
public SCHALE.Common.FlatData.TacticEnvironment TacticEnvironment_ { get { int o = __p.__offset(44); return o != 0 ? (SCHALE.Common.FlatData.TacticEnvironment)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEnvironment.None; } } public SCHALE.Common.FlatData.TacticEnvironment TacticEnvironment { get { int o = __p.__offset(44); return o != 0 ? (SCHALE.Common.FlatData.TacticEnvironment)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEnvironment.None; } }
public long DefaultClearScore { get { int o = __p.__offset(46); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long DefaultClearScore { get { int o = __p.__offset(46); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long MaximumScore { get { int o = __p.__offset(48); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long MaximumScore { get { int o = __p.__offset(48); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long PerSecondMinusScore { get { int o = __p.__offset(50); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long PerSecondMinusScore { get { int o = __p.__offset(50); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -128,7 +128,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject
public uint ClearScenarioKey { get { int o = __p.__offset(74); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public uint ClearScenarioKey { get { int o = __p.__offset(74); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } }
public bool ShowSkillCard { get { int o = __p.__offset(76); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool ShowSkillCard { get { int o = __p.__offset(76); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public uint BossBGInfoKey { get { int o = __p.__offset(78); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public uint BossBGInfoKey { get { int o = __p.__offset(78); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } }
public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get { int o = __p.__offset(80); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get { int o = __p.__offset(80); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } }
public static Offset<SCHALE.Common.FlatData.EliminateRaidStageExcel> CreateEliminateRaidStageExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.EliminateRaidStageExcel> CreateEliminateRaidStageExcel(FlatBufferBuilder builder,
long Id = 0, long Id = 0,
@ -143,7 +143,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject
StringOffset BGPathOffset = default(StringOffset), StringOffset BGPathOffset = default(StringOffset),
long RaidCharacterId = 0, long RaidCharacterId = 0,
VectorOffset BossCharacterIdOffset = default(VectorOffset), VectorOffset BossCharacterIdOffset = default(VectorOffset),
SCHALE.Common.FlatData.Difficulty Difficulty_ = SCHALE.Common.FlatData.Difficulty.Normal, SCHALE.Common.FlatData.Difficulty Difficulty = SCHALE.Common.FlatData.Difficulty.Normal,
bool IsOpen = false, bool IsOpen = false,
long MaxPlayerCount = 0, long MaxPlayerCount = 0,
int RaidRoomLifeTime = 0, int RaidRoomLifeTime = 0,
@ -151,7 +151,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject
long GroundId = 0, long GroundId = 0,
StringOffset GroundDevNameOffset = default(StringOffset), StringOffset GroundDevNameOffset = default(StringOffset),
StringOffset EnterTimeLineOffset = default(StringOffset), StringOffset EnterTimeLineOffset = default(StringOffset),
SCHALE.Common.FlatData.TacticEnvironment TacticEnvironment_ = SCHALE.Common.FlatData.TacticEnvironment.None, SCHALE.Common.FlatData.TacticEnvironment TacticEnvironment = SCHALE.Common.FlatData.TacticEnvironment.None,
long DefaultClearScore = 0, long DefaultClearScore = 0,
long MaximumScore = 0, long MaximumScore = 0,
long PerSecondMinusScore = 0, long PerSecondMinusScore = 0,
@ -169,7 +169,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject
uint ClearScenarioKey = 0, uint ClearScenarioKey = 0,
bool ShowSkillCard = false, bool ShowSkillCard = false,
uint BossBGInfoKey = 0, uint BossBGInfoKey = 0,
SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base) { SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base) {
builder.StartTable(39); builder.StartTable(39);
EliminateRaidStageExcel.AddTimeLinePhase(builder, TimeLinePhase); EliminateRaidStageExcel.AddTimeLinePhase(builder, TimeLinePhase);
EliminateRaidStageExcel.AddRaidRewardGroupId(builder, RaidRewardGroupId); EliminateRaidStageExcel.AddRaidRewardGroupId(builder, RaidRewardGroupId);
@ -185,7 +185,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject
EliminateRaidStageExcel.AddRaidCharacterId(builder, RaidCharacterId); EliminateRaidStageExcel.AddRaidCharacterId(builder, RaidCharacterId);
EliminateRaidStageExcel.AddRaidEnterCostId(builder, RaidEnterCostId); EliminateRaidStageExcel.AddRaidEnterCostId(builder, RaidEnterCostId);
EliminateRaidStageExcel.AddId(builder, Id); EliminateRaidStageExcel.AddId(builder, Id);
EliminateRaidStageExcel.AddEchelonExtensionType_(builder, EchelonExtensionType_); EliminateRaidStageExcel.AddEchelonExtensionType(builder, EchelonExtensionType);
EliminateRaidStageExcel.AddBossBGInfoKey(builder, BossBGInfoKey); EliminateRaidStageExcel.AddBossBGInfoKey(builder, BossBGInfoKey);
EliminateRaidStageExcel.AddClearScenarioKey(builder, ClearScenarioKey); EliminateRaidStageExcel.AddClearScenarioKey(builder, ClearScenarioKey);
EliminateRaidStageExcel.AddEnterScenarioKey(builder, EnterScenarioKey); EliminateRaidStageExcel.AddEnterScenarioKey(builder, EnterScenarioKey);
@ -194,11 +194,11 @@ public struct EliminateRaidStageExcel : IFlatbufferObject
EliminateRaidStageExcel.AddBattleReadyTimelinePhaseEnd(builder, BattleReadyTimelinePhaseEndOffset); EliminateRaidStageExcel.AddBattleReadyTimelinePhaseEnd(builder, BattleReadyTimelinePhaseEndOffset);
EliminateRaidStageExcel.AddBattleReadyTimelinePhaseStart(builder, BattleReadyTimelinePhaseStartOffset); EliminateRaidStageExcel.AddBattleReadyTimelinePhaseStart(builder, BattleReadyTimelinePhaseStartOffset);
EliminateRaidStageExcel.AddBattleReadyTimelinePath(builder, BattleReadyTimelinePathOffset); EliminateRaidStageExcel.AddBattleReadyTimelinePath(builder, BattleReadyTimelinePathOffset);
EliminateRaidStageExcel.AddTacticEnvironment_(builder, TacticEnvironment_); EliminateRaidStageExcel.AddTacticEnvironment(builder, TacticEnvironment);
EliminateRaidStageExcel.AddEnterTimeLine(builder, EnterTimeLineOffset); EliminateRaidStageExcel.AddEnterTimeLine(builder, EnterTimeLineOffset);
EliminateRaidStageExcel.AddGroundDevName(builder, GroundDevNameOffset); EliminateRaidStageExcel.AddGroundDevName(builder, GroundDevNameOffset);
EliminateRaidStageExcel.AddRaidRoomLifeTime(builder, RaidRoomLifeTime); EliminateRaidStageExcel.AddRaidRoomLifeTime(builder, RaidRoomLifeTime);
EliminateRaidStageExcel.AddDifficulty_(builder, Difficulty_); EliminateRaidStageExcel.AddDifficulty(builder, Difficulty);
EliminateRaidStageExcel.AddBossCharacterId(builder, BossCharacterIdOffset); EliminateRaidStageExcel.AddBossCharacterId(builder, BossCharacterIdOffset);
EliminateRaidStageExcel.AddBGPath(builder, BGPathOffset); EliminateRaidStageExcel.AddBGPath(builder, BGPathOffset);
EliminateRaidStageExcel.AddPortraitPath(builder, PortraitPathOffset); EliminateRaidStageExcel.AddPortraitPath(builder, PortraitPathOffset);
@ -231,7 +231,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject
public static VectorOffset CreateBossCharacterIdVectorBlock(FlatBufferBuilder builder, ArraySegment<long> data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateBossCharacterIdVectorBlock(FlatBufferBuilder builder, ArraySegment<long> data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateBossCharacterIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<long>(dataPtr, sizeInBytes); return builder.EndVector(); } public static VectorOffset CreateBossCharacterIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<long>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartBossCharacterIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } public static void StartBossCharacterIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); }
public static void AddDifficulty_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Difficulty difficulty_) { builder.AddInt(12, (int)difficulty_, 0); } public static void AddDifficulty(FlatBufferBuilder builder, SCHALE.Common.FlatData.Difficulty difficulty) { builder.AddInt(12, (int)difficulty, 0); }
public static void AddIsOpen(FlatBufferBuilder builder, bool isOpen) { builder.AddBool(13, isOpen, false); } public static void AddIsOpen(FlatBufferBuilder builder, bool isOpen) { builder.AddBool(13, isOpen, false); }
public static void AddMaxPlayerCount(FlatBufferBuilder builder, long maxPlayerCount) { builder.AddLong(14, maxPlayerCount, 0); } public static void AddMaxPlayerCount(FlatBufferBuilder builder, long maxPlayerCount) { builder.AddLong(14, maxPlayerCount, 0); }
public static void AddRaidRoomLifeTime(FlatBufferBuilder builder, int raidRoomLifeTime) { builder.AddInt(15, raidRoomLifeTime, 0); } public static void AddRaidRoomLifeTime(FlatBufferBuilder builder, int raidRoomLifeTime) { builder.AddInt(15, raidRoomLifeTime, 0); }
@ -239,7 +239,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject
public static void AddGroundId(FlatBufferBuilder builder, long groundId) { builder.AddLong(17, groundId, 0); } public static void AddGroundId(FlatBufferBuilder builder, long groundId) { builder.AddLong(17, groundId, 0); }
public static void AddGroundDevName(FlatBufferBuilder builder, StringOffset groundDevNameOffset) { builder.AddOffset(18, groundDevNameOffset.Value, 0); } public static void AddGroundDevName(FlatBufferBuilder builder, StringOffset groundDevNameOffset) { builder.AddOffset(18, groundDevNameOffset.Value, 0); }
public static void AddEnterTimeLine(FlatBufferBuilder builder, StringOffset enterTimeLineOffset) { builder.AddOffset(19, enterTimeLineOffset.Value, 0); } public static void AddEnterTimeLine(FlatBufferBuilder builder, StringOffset enterTimeLineOffset) { builder.AddOffset(19, enterTimeLineOffset.Value, 0); }
public static void AddTacticEnvironment_(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEnvironment tacticEnvironment_) { builder.AddInt(20, (int)tacticEnvironment_, 0); } public static void AddTacticEnvironment(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEnvironment tacticEnvironment) { builder.AddInt(20, (int)tacticEnvironment, 0); }
public static void AddDefaultClearScore(FlatBufferBuilder builder, long defaultClearScore) { builder.AddLong(21, defaultClearScore, 0); } public static void AddDefaultClearScore(FlatBufferBuilder builder, long defaultClearScore) { builder.AddLong(21, defaultClearScore, 0); }
public static void AddMaximumScore(FlatBufferBuilder builder, long maximumScore) { builder.AddLong(22, maximumScore, 0); } public static void AddMaximumScore(FlatBufferBuilder builder, long maximumScore) { builder.AddLong(22, maximumScore, 0); }
public static void AddPerSecondMinusScore(FlatBufferBuilder builder, long perSecondMinusScore) { builder.AddLong(23, perSecondMinusScore, 0); } public static void AddPerSecondMinusScore(FlatBufferBuilder builder, long perSecondMinusScore) { builder.AddLong(23, perSecondMinusScore, 0); }
@ -272,7 +272,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject
public static void AddClearScenarioKey(FlatBufferBuilder builder, uint clearScenarioKey) { builder.AddUint(35, clearScenarioKey, 0); } public static void AddClearScenarioKey(FlatBufferBuilder builder, uint clearScenarioKey) { builder.AddUint(35, clearScenarioKey, 0); }
public static void AddShowSkillCard(FlatBufferBuilder builder, bool showSkillCard) { builder.AddBool(36, showSkillCard, false); } public static void AddShowSkillCard(FlatBufferBuilder builder, bool showSkillCard) { builder.AddBool(36, showSkillCard, false); }
public static void AddBossBGInfoKey(FlatBufferBuilder builder, uint bossBGInfoKey) { builder.AddUint(37, bossBGInfoKey, 0); } public static void AddBossBGInfoKey(FlatBufferBuilder builder, uint bossBGInfoKey) { builder.AddUint(37, bossBGInfoKey, 0); }
public static void AddEchelonExtensionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType_) { builder.AddInt(38, (int)echelonExtensionType_, 0); } public static void AddEchelonExtensionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType) { builder.AddInt(38, (int)echelonExtensionType, 0); }
public static Offset<SCHALE.Common.FlatData.EliminateRaidStageExcel> EndEliminateRaidStageExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.EliminateRaidStageExcel> EndEliminateRaidStageExcel(FlatBufferBuilder builder) {
int o = builder.EndTable(); int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.EliminateRaidStageExcel>(o); return new Offset<SCHALE.Common.FlatData.EliminateRaidStageExcel>(o);
@ -297,7 +297,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject
_o.RaidCharacterId = TableEncryptionService.Convert(this.RaidCharacterId, key); _o.RaidCharacterId = TableEncryptionService.Convert(this.RaidCharacterId, key);
_o.BossCharacterId = new List<long>(); _o.BossCharacterId = new List<long>();
for (var _j = 0; _j < this.BossCharacterIdLength; ++_j) {_o.BossCharacterId.Add(TableEncryptionService.Convert(this.BossCharacterId(_j), key));} for (var _j = 0; _j < this.BossCharacterIdLength; ++_j) {_o.BossCharacterId.Add(TableEncryptionService.Convert(this.BossCharacterId(_j), key));}
_o.Difficulty_ = TableEncryptionService.Convert(this.Difficulty_, key); _o.Difficulty = TableEncryptionService.Convert(this.Difficulty, key);
_o.IsOpen = TableEncryptionService.Convert(this.IsOpen, key); _o.IsOpen = TableEncryptionService.Convert(this.IsOpen, key);
_o.MaxPlayerCount = TableEncryptionService.Convert(this.MaxPlayerCount, key); _o.MaxPlayerCount = TableEncryptionService.Convert(this.MaxPlayerCount, key);
_o.RaidRoomLifeTime = TableEncryptionService.Convert(this.RaidRoomLifeTime, key); _o.RaidRoomLifeTime = TableEncryptionService.Convert(this.RaidRoomLifeTime, key);
@ -305,7 +305,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject
_o.GroundId = TableEncryptionService.Convert(this.GroundId, key); _o.GroundId = TableEncryptionService.Convert(this.GroundId, key);
_o.GroundDevName = TableEncryptionService.Convert(this.GroundDevName, key); _o.GroundDevName = TableEncryptionService.Convert(this.GroundDevName, key);
_o.EnterTimeLine = TableEncryptionService.Convert(this.EnterTimeLine, key); _o.EnterTimeLine = TableEncryptionService.Convert(this.EnterTimeLine, key);
_o.TacticEnvironment_ = TableEncryptionService.Convert(this.TacticEnvironment_, key); _o.TacticEnvironment = TableEncryptionService.Convert(this.TacticEnvironment, key);
_o.DefaultClearScore = TableEncryptionService.Convert(this.DefaultClearScore, key); _o.DefaultClearScore = TableEncryptionService.Convert(this.DefaultClearScore, key);
_o.MaximumScore = TableEncryptionService.Convert(this.MaximumScore, key); _o.MaximumScore = TableEncryptionService.Convert(this.MaximumScore, key);
_o.PerSecondMinusScore = TableEncryptionService.Convert(this.PerSecondMinusScore, key); _o.PerSecondMinusScore = TableEncryptionService.Convert(this.PerSecondMinusScore, key);
@ -326,7 +326,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject
_o.ClearScenarioKey = TableEncryptionService.Convert(this.ClearScenarioKey, key); _o.ClearScenarioKey = TableEncryptionService.Convert(this.ClearScenarioKey, key);
_o.ShowSkillCard = TableEncryptionService.Convert(this.ShowSkillCard, key); _o.ShowSkillCard = TableEncryptionService.Convert(this.ShowSkillCard, key);
_o.BossBGInfoKey = TableEncryptionService.Convert(this.BossBGInfoKey, key); _o.BossBGInfoKey = TableEncryptionService.Convert(this.BossBGInfoKey, key);
_o.EchelonExtensionType_ = TableEncryptionService.Convert(this.EchelonExtensionType_, key); _o.EchelonExtensionType = TableEncryptionService.Convert(this.EchelonExtensionType, key);
} }
public static Offset<SCHALE.Common.FlatData.EliminateRaidStageExcel> Pack(FlatBufferBuilder builder, EliminateRaidStageExcelT _o) { public static Offset<SCHALE.Common.FlatData.EliminateRaidStageExcel> Pack(FlatBufferBuilder builder, EliminateRaidStageExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.EliminateRaidStageExcel>); if (_o == null) return default(Offset<SCHALE.Common.FlatData.EliminateRaidStageExcel>);
@ -373,7 +373,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject
_BGPath, _BGPath,
_o.RaidCharacterId, _o.RaidCharacterId,
_BossCharacterId, _BossCharacterId,
_o.Difficulty_, _o.Difficulty,
_o.IsOpen, _o.IsOpen,
_o.MaxPlayerCount, _o.MaxPlayerCount,
_o.RaidRoomLifeTime, _o.RaidRoomLifeTime,
@ -381,7 +381,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject
_o.GroundId, _o.GroundId,
_GroundDevName, _GroundDevName,
_EnterTimeLine, _EnterTimeLine,
_o.TacticEnvironment_, _o.TacticEnvironment,
_o.DefaultClearScore, _o.DefaultClearScore,
_o.MaximumScore, _o.MaximumScore,
_o.PerSecondMinusScore, _o.PerSecondMinusScore,
@ -399,7 +399,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject
_o.ClearScenarioKey, _o.ClearScenarioKey,
_o.ShowSkillCard, _o.ShowSkillCard,
_o.BossBGInfoKey, _o.BossBGInfoKey,
_o.EchelonExtensionType_); _o.EchelonExtensionType);
} }
} }
@ -417,7 +417,7 @@ public class EliminateRaidStageExcelT
public string BGPath { get; set; } public string BGPath { get; set; }
public long RaidCharacterId { get; set; } public long RaidCharacterId { get; set; }
public List<long> BossCharacterId { get; set; } public List<long> BossCharacterId { get; set; }
public SCHALE.Common.FlatData.Difficulty Difficulty_ { get; set; } public SCHALE.Common.FlatData.Difficulty Difficulty { get; set; }
public bool IsOpen { get; set; } public bool IsOpen { get; set; }
public long MaxPlayerCount { get; set; } public long MaxPlayerCount { get; set; }
public int RaidRoomLifeTime { get; set; } public int RaidRoomLifeTime { get; set; }
@ -425,7 +425,7 @@ public class EliminateRaidStageExcelT
public long GroundId { get; set; } public long GroundId { get; set; }
public string GroundDevName { get; set; } public string GroundDevName { get; set; }
public string EnterTimeLine { get; set; } public string EnterTimeLine { get; set; }
public SCHALE.Common.FlatData.TacticEnvironment TacticEnvironment_ { get; set; } public SCHALE.Common.FlatData.TacticEnvironment TacticEnvironment { get; set; }
public long DefaultClearScore { get; set; } public long DefaultClearScore { get; set; }
public long MaximumScore { get; set; } public long MaximumScore { get; set; }
public long PerSecondMinusScore { get; set; } public long PerSecondMinusScore { get; set; }
@ -443,7 +443,7 @@ public class EliminateRaidStageExcelT
public uint ClearScenarioKey { get; set; } public uint ClearScenarioKey { get; set; }
public bool ShowSkillCard { get; set; } public bool ShowSkillCard { get; set; }
public uint BossBGInfoKey { get; set; } public uint BossBGInfoKey { get; set; }
public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get; set; } public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get; set; }
public EliminateRaidStageExcelT() { public EliminateRaidStageExcelT() {
this.Id = 0; this.Id = 0;
@ -458,7 +458,7 @@ public class EliminateRaidStageExcelT
this.BGPath = null; this.BGPath = null;
this.RaidCharacterId = 0; this.RaidCharacterId = 0;
this.BossCharacterId = null; this.BossCharacterId = null;
this.Difficulty_ = SCHALE.Common.FlatData.Difficulty.Normal; this.Difficulty = SCHALE.Common.FlatData.Difficulty.Normal;
this.IsOpen = false; this.IsOpen = false;
this.MaxPlayerCount = 0; this.MaxPlayerCount = 0;
this.RaidRoomLifeTime = 0; this.RaidRoomLifeTime = 0;
@ -466,7 +466,7 @@ public class EliminateRaidStageExcelT
this.GroundId = 0; this.GroundId = 0;
this.GroundDevName = null; this.GroundDevName = null;
this.EnterTimeLine = null; this.EnterTimeLine = null;
this.TacticEnvironment_ = SCHALE.Common.FlatData.TacticEnvironment.None; this.TacticEnvironment = SCHALE.Common.FlatData.TacticEnvironment.None;
this.DefaultClearScore = 0; this.DefaultClearScore = 0;
this.MaximumScore = 0; this.MaximumScore = 0;
this.PerSecondMinusScore = 0; this.PerSecondMinusScore = 0;
@ -484,7 +484,7 @@ public class EliminateRaidStageExcelT
this.ClearScenarioKey = 0; this.ClearScenarioKey = 0;
this.ShowSkillCard = false; this.ShowSkillCard = false;
this.BossBGInfoKey = 0; this.BossBGInfoKey = 0;
this.EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base; this.EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base;
} }
} }
@ -506,7 +506,7 @@ static public class EliminateRaidStageExcelVerify
&& verifier.VerifyString(tablePos, 22 /*BGPath*/, false) && verifier.VerifyString(tablePos, 22 /*BGPath*/, false)
&& verifier.VerifyField(tablePos, 24 /*RaidCharacterId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 24 /*RaidCharacterId*/, 8 /*long*/, 8, false)
&& verifier.VerifyVectorOfData(tablePos, 26 /*BossCharacterId*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 26 /*BossCharacterId*/, 8 /*long*/, false)
&& verifier.VerifyField(tablePos, 28 /*Difficulty_*/, 4 /*SCHALE.Common.FlatData.Difficulty*/, 4, false) && verifier.VerifyField(tablePos, 28 /*Difficulty*/, 4 /*SCHALE.Common.FlatData.Difficulty*/, 4, false)
&& verifier.VerifyField(tablePos, 30 /*IsOpen*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 30 /*IsOpen*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 32 /*MaxPlayerCount*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 32 /*MaxPlayerCount*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 34 /*RaidRoomLifeTime*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 34 /*RaidRoomLifeTime*/, 4 /*int*/, 4, false)
@ -514,7 +514,7 @@ static public class EliminateRaidStageExcelVerify
&& verifier.VerifyField(tablePos, 38 /*GroundId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 38 /*GroundId*/, 8 /*long*/, 8, false)
&& verifier.VerifyString(tablePos, 40 /*GroundDevName*/, false) && verifier.VerifyString(tablePos, 40 /*GroundDevName*/, false)
&& verifier.VerifyString(tablePos, 42 /*EnterTimeLine*/, false) && verifier.VerifyString(tablePos, 42 /*EnterTimeLine*/, false)
&& verifier.VerifyField(tablePos, 44 /*TacticEnvironment_*/, 4 /*SCHALE.Common.FlatData.TacticEnvironment*/, 4, false) && verifier.VerifyField(tablePos, 44 /*TacticEnvironment*/, 4 /*SCHALE.Common.FlatData.TacticEnvironment*/, 4, false)
&& verifier.VerifyField(tablePos, 46 /*DefaultClearScore*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 46 /*DefaultClearScore*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 48 /*MaximumScore*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 48 /*MaximumScore*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 50 /*PerSecondMinusScore*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 50 /*PerSecondMinusScore*/, 8 /*long*/, 8, false)
@ -532,7 +532,7 @@ static public class EliminateRaidStageExcelVerify
&& verifier.VerifyField(tablePos, 74 /*ClearScenarioKey*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 74 /*ClearScenarioKey*/, 4 /*uint*/, 4, false)
&& verifier.VerifyField(tablePos, 76 /*ShowSkillCard*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 76 /*ShowSkillCard*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 78 /*BossBGInfoKey*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 78 /*BossBGInfoKey*/, 4 /*uint*/, 4, false)
&& verifier.VerifyField(tablePos, 80 /*EchelonExtensionType_*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) && verifier.VerifyField(tablePos, 80 /*EchelonExtensionType*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);
} }
} }

View File

@ -22,7 +22,7 @@ public struct EmblemExcel : IFlatbufferObject
public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.EmblemCategory Category { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EmblemCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EmblemCategory.None; } } public SCHALE.Common.FlatData.EmblemCategory Category { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EmblemCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EmblemCategory.None; } }
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.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 long DisplayOrder { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long DisplayOrder { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public uint LocalizeEtcId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public uint LocalizeEtcId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } }
public uint LocalizeCodeId { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public uint LocalizeCodeId { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } }
@ -87,7 +87,7 @@ public struct EmblemExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.EmblemExcel> CreateEmblemExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.EmblemExcel> CreateEmblemExcel(FlatBufferBuilder builder,
long Id = 0, long Id = 0,
SCHALE.Common.FlatData.EmblemCategory Category = SCHALE.Common.FlatData.EmblemCategory.None, SCHALE.Common.FlatData.EmblemCategory Category = SCHALE.Common.FlatData.EmblemCategory.None,
SCHALE.Common.FlatData.Rarity Rarity_ = SCHALE.Common.FlatData.Rarity.N, SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N,
long DisplayOrder = 0, long DisplayOrder = 0,
uint LocalizeEtcId = 0, uint LocalizeEtcId = 0,
uint LocalizeCodeId = 0, uint LocalizeCodeId = 0,
@ -125,7 +125,7 @@ public struct EmblemExcel : IFlatbufferObject
EmblemExcel.AddIconPath(builder, IconPathOffset); EmblemExcel.AddIconPath(builder, IconPathOffset);
EmblemExcel.AddLocalizeCodeId(builder, LocalizeCodeId); EmblemExcel.AddLocalizeCodeId(builder, LocalizeCodeId);
EmblemExcel.AddLocalizeEtcId(builder, LocalizeEtcId); EmblemExcel.AddLocalizeEtcId(builder, LocalizeEtcId);
EmblemExcel.AddRarity_(builder, Rarity_); EmblemExcel.AddRarity(builder, Rarity);
EmblemExcel.AddCategory(builder, Category); EmblemExcel.AddCategory(builder, Category);
EmblemExcel.AddEmblemTextVisible(builder, EmblemTextVisible); EmblemExcel.AddEmblemTextVisible(builder, EmblemTextVisible);
return EmblemExcel.EndEmblemExcel(builder); return EmblemExcel.EndEmblemExcel(builder);
@ -134,7 +134,7 @@ public struct EmblemExcel : IFlatbufferObject
public static void StartEmblemExcel(FlatBufferBuilder builder) { builder.StartTable(21); } public static void StartEmblemExcel(FlatBufferBuilder builder) { builder.StartTable(21); }
public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); }
public static void AddCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.EmblemCategory category) { builder.AddInt(1, (int)category, 0); } public static void AddCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.EmblemCategory category) { builder.AddInt(1, (int)category, 0); }
public static void AddRarity_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity_) { builder.AddInt(2, (int)rarity_, 0); } public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(2, (int)rarity, 0); }
public static void AddDisplayOrder(FlatBufferBuilder builder, long displayOrder) { builder.AddLong(3, displayOrder, 0); } public static void AddDisplayOrder(FlatBufferBuilder builder, long displayOrder) { builder.AddLong(3, displayOrder, 0); }
public static void AddLocalizeEtcId(FlatBufferBuilder builder, uint localizeEtcId) { builder.AddUint(4, localizeEtcId, 0); } public static void AddLocalizeEtcId(FlatBufferBuilder builder, uint localizeEtcId) { builder.AddUint(4, localizeEtcId, 0); }
public static void AddLocalizeCodeId(FlatBufferBuilder builder, uint localizeCodeId) { builder.AddUint(5, localizeCodeId, 0); } public static void AddLocalizeCodeId(FlatBufferBuilder builder, uint localizeCodeId) { builder.AddUint(5, localizeCodeId, 0); }
@ -166,7 +166,7 @@ public struct EmblemExcel : IFlatbufferObject
byte[] key = TableEncryptionService.CreateKey("Emblem"); byte[] key = TableEncryptionService.CreateKey("Emblem");
_o.Id = TableEncryptionService.Convert(this.Id, key); _o.Id = TableEncryptionService.Convert(this.Id, key);
_o.Category = TableEncryptionService.Convert(this.Category, key); _o.Category = TableEncryptionService.Convert(this.Category, key);
_o.Rarity_ = TableEncryptionService.Convert(this.Rarity_, key); _o.Rarity = TableEncryptionService.Convert(this.Rarity, key);
_o.DisplayOrder = TableEncryptionService.Convert(this.DisplayOrder, key); _o.DisplayOrder = TableEncryptionService.Convert(this.DisplayOrder, key);
_o.LocalizeEtcId = TableEncryptionService.Convert(this.LocalizeEtcId, key); _o.LocalizeEtcId = TableEncryptionService.Convert(this.LocalizeEtcId, key);
_o.LocalizeCodeId = TableEncryptionService.Convert(this.LocalizeCodeId, key); _o.LocalizeCodeId = TableEncryptionService.Convert(this.LocalizeCodeId, key);
@ -199,7 +199,7 @@ public struct EmblemExcel : IFlatbufferObject
builder, builder,
_o.Id, _o.Id,
_o.Category, _o.Category,
_o.Rarity_, _o.Rarity,
_o.DisplayOrder, _o.DisplayOrder,
_o.LocalizeEtcId, _o.LocalizeEtcId,
_o.LocalizeCodeId, _o.LocalizeCodeId,
@ -225,7 +225,7 @@ public class EmblemExcelT
{ {
public long Id { get; set; } public long Id { get; set; }
public SCHALE.Common.FlatData.EmblemCategory Category { get; set; } public SCHALE.Common.FlatData.EmblemCategory Category { get; set; }
public SCHALE.Common.FlatData.Rarity Rarity_ { get; set; } public SCHALE.Common.FlatData.Rarity Rarity { get; set; }
public long DisplayOrder { get; set; } public long DisplayOrder { get; set; }
public uint LocalizeEtcId { get; set; } public uint LocalizeEtcId { get; set; }
public uint LocalizeCodeId { get; set; } public uint LocalizeCodeId { get; set; }
@ -248,7 +248,7 @@ public class EmblemExcelT
public EmblemExcelT() { public EmblemExcelT() {
this.Id = 0; this.Id = 0;
this.Category = SCHALE.Common.FlatData.EmblemCategory.None; this.Category = SCHALE.Common.FlatData.EmblemCategory.None;
this.Rarity_ = SCHALE.Common.FlatData.Rarity.N; this.Rarity = SCHALE.Common.FlatData.Rarity.N;
this.DisplayOrder = 0; this.DisplayOrder = 0;
this.LocalizeEtcId = 0; this.LocalizeEtcId = 0;
this.LocalizeCodeId = 0; this.LocalizeCodeId = 0;
@ -278,7 +278,7 @@ static public class EmblemExcelVerify
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*Category*/, 4 /*SCHALE.Common.FlatData.EmblemCategory*/, 4, false) && verifier.VerifyField(tablePos, 6 /*Category*/, 4 /*SCHALE.Common.FlatData.EmblemCategory*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*Rarity_*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) && verifier.VerifyField(tablePos, 8 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*DisplayOrder*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*DisplayOrder*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 12 /*LocalizeEtcId*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 12 /*LocalizeEtcId*/, 4 /*uint*/, 4, false)
&& verifier.VerifyField(tablePos, 14 /*LocalizeCodeId*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 14 /*LocalizeCodeId*/, 4 /*uint*/, 4, false)

View File

@ -1,88 +0,0 @@
// <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::SCHALE.Common.Crypto;
using global::Google.FlatBuffers;
public struct EmblemExcelTable : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static EmblemExcelTable GetRootAsEmblemExcelTable(ByteBuffer _bb) { return GetRootAsEmblemExcelTable(_bb, new EmblemExcelTable()); }
public static EmblemExcelTable GetRootAsEmblemExcelTable(ByteBuffer _bb, EmblemExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public EmblemExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.EmblemExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.EmblemExcel?)(new SCHALE.Common.FlatData.EmblemExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; }
public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } }
public static Offset<SCHALE.Common.FlatData.EmblemExcelTable> CreateEmblemExcelTable(FlatBufferBuilder builder,
VectorOffset DataListOffset = default(VectorOffset)) {
builder.StartTable(1);
EmblemExcelTable.AddDataList(builder, DataListOffset);
return EmblemExcelTable.EndEmblemExcelTable(builder);
}
public static void StartEmblemExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); }
public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); }
public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.EmblemExcel>[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.EmblemExcel>[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<SCHALE.Common.FlatData.EmblemExcel>> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<Offset<SCHALE.Common.FlatData.EmblemExcel>>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.EmblemExcelTable> EndEmblemExcelTable(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.EmblemExcelTable>(o);
}
public EmblemExcelTableT UnPack() {
var _o = new EmblemExcelTableT();
this.UnPackTo(_o);
return _o;
}
public void UnPackTo(EmblemExcelTableT _o) {
byte[] key = TableEncryptionService.CreateKey("EmblemExcel");
_o.DataList = new List<SCHALE.Common.FlatData.EmblemExcelT>();
for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);}
}
public static Offset<SCHALE.Common.FlatData.EmblemExcelTable> Pack(FlatBufferBuilder builder, EmblemExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.EmblemExcelTable>);
var _DataList = default(VectorOffset);
if (_o.DataList != null) {
var __DataList = new Offset<SCHALE.Common.FlatData.EmblemExcel>[_o.DataList.Count];
for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.EmblemExcel.Pack(builder, _o.DataList[_j]); }
_DataList = CreateDataListVector(builder, __DataList);
}
return CreateEmblemExcelTable(
builder,
_DataList);
}
}
public class EmblemExcelTableT
{
public List<SCHALE.Common.FlatData.EmblemExcelT> DataList { get; set; }
public EmblemExcelTableT() {
this.DataList = null;
}
}
static public class EmblemExcelTableVerify
{
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{
return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.EmblemExcelVerify.Verify, false)
&& verifier.VerifyTableEnd(tablePos);
}
}
}

View File

@ -21,8 +21,8 @@ public struct EquipmentExcel : IFlatbufferObject
public EquipmentExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public EquipmentExcel __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 Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EquipmentCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EquipmentCategory.Unable; } } public SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EquipmentCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EquipmentCategory.Unable; } }
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.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 uint LocalizeEtcId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public uint LocalizeEtcId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } }
public bool Wear { get { int o = __p.__offset(12); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool Wear { get { int o = __p.__offset(12); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public int MaxLevel { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int MaxLevel { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
@ -68,8 +68,8 @@ public struct EquipmentExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.EquipmentExcel> CreateEquipmentExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.EquipmentExcel> CreateEquipmentExcel(FlatBufferBuilder builder,
long Id = 0, long Id = 0,
SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory_ = SCHALE.Common.FlatData.EquipmentCategory.Unable, SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory = SCHALE.Common.FlatData.EquipmentCategory.Unable,
SCHALE.Common.FlatData.Rarity Rarity_ = SCHALE.Common.FlatData.Rarity.N, SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N,
uint LocalizeEtcId = 0, uint LocalizeEtcId = 0,
bool Wear = false, bool Wear = false,
int MaxLevel = 0, int MaxLevel = 0,
@ -103,16 +103,16 @@ public struct EquipmentExcel : IFlatbufferObject
EquipmentExcel.AddRecipeId(builder, RecipeId); EquipmentExcel.AddRecipeId(builder, RecipeId);
EquipmentExcel.AddMaxLevel(builder, MaxLevel); EquipmentExcel.AddMaxLevel(builder, MaxLevel);
EquipmentExcel.AddLocalizeEtcId(builder, LocalizeEtcId); EquipmentExcel.AddLocalizeEtcId(builder, LocalizeEtcId);
EquipmentExcel.AddRarity_(builder, Rarity_); EquipmentExcel.AddRarity(builder, Rarity);
EquipmentExcel.AddEquipmentCategory_(builder, EquipmentCategory_); EquipmentExcel.AddEquipmentCategory(builder, EquipmentCategory);
EquipmentExcel.AddWear(builder, Wear); EquipmentExcel.AddWear(builder, Wear);
return EquipmentExcel.EndEquipmentExcel(builder); return EquipmentExcel.EndEquipmentExcel(builder);
} }
public static void StartEquipmentExcel(FlatBufferBuilder builder) { builder.StartTable(19); } public static void StartEquipmentExcel(FlatBufferBuilder builder) { builder.StartTable(19); }
public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); }
public static void AddEquipmentCategory_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EquipmentCategory equipmentCategory_) { builder.AddInt(1, (int)equipmentCategory_, 0); } public static void AddEquipmentCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.EquipmentCategory equipmentCategory) { builder.AddInt(1, (int)equipmentCategory, 0); }
public static void AddRarity_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity_) { builder.AddInt(2, (int)rarity_, 0); } public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(2, (int)rarity, 0); }
public static void AddLocalizeEtcId(FlatBufferBuilder builder, uint localizeEtcId) { builder.AddUint(3, localizeEtcId, 0); } public static void AddLocalizeEtcId(FlatBufferBuilder builder, uint localizeEtcId) { builder.AddUint(3, localizeEtcId, 0); }
public static void AddWear(FlatBufferBuilder builder, bool wear) { builder.AddBool(4, wear, false); } public static void AddWear(FlatBufferBuilder builder, bool wear) { builder.AddBool(4, wear, false); }
public static void AddMaxLevel(FlatBufferBuilder builder, int maxLevel) { builder.AddInt(5, maxLevel, 0); } public static void AddMaxLevel(FlatBufferBuilder builder, int maxLevel) { builder.AddInt(5, maxLevel, 0); }
@ -151,8 +151,8 @@ public struct EquipmentExcel : IFlatbufferObject
public void UnPackTo(EquipmentExcelT _o) { public void UnPackTo(EquipmentExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("Equipment"); byte[] key = TableEncryptionService.CreateKey("Equipment");
_o.Id = TableEncryptionService.Convert(this.Id, key); _o.Id = TableEncryptionService.Convert(this.Id, key);
_o.EquipmentCategory_ = TableEncryptionService.Convert(this.EquipmentCategory_, key); _o.EquipmentCategory = TableEncryptionService.Convert(this.EquipmentCategory, key);
_o.Rarity_ = TableEncryptionService.Convert(this.Rarity_, key); _o.Rarity = TableEncryptionService.Convert(this.Rarity, key);
_o.LocalizeEtcId = TableEncryptionService.Convert(this.LocalizeEtcId, key); _o.LocalizeEtcId = TableEncryptionService.Convert(this.LocalizeEtcId, key);
_o.Wear = TableEncryptionService.Convert(this.Wear, key); _o.Wear = TableEncryptionService.Convert(this.Wear, key);
_o.MaxLevel = TableEncryptionService.Convert(this.MaxLevel, key); _o.MaxLevel = TableEncryptionService.Convert(this.MaxLevel, key);
@ -189,8 +189,8 @@ public struct EquipmentExcel : IFlatbufferObject
return CreateEquipmentExcel( return CreateEquipmentExcel(
builder, builder,
_o.Id, _o.Id,
_o.EquipmentCategory_, _o.EquipmentCategory,
_o.Rarity_, _o.Rarity,
_o.LocalizeEtcId, _o.LocalizeEtcId,
_o.Wear, _o.Wear,
_o.MaxLevel, _o.MaxLevel,
@ -213,8 +213,8 @@ public struct EquipmentExcel : IFlatbufferObject
public class EquipmentExcelT public class EquipmentExcelT
{ {
public long Id { get; set; } public long Id { get; set; }
public SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory_ { get; set; } public SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory { get; set; }
public SCHALE.Common.FlatData.Rarity Rarity_ { get; set; } public SCHALE.Common.FlatData.Rarity Rarity { get; set; }
public uint LocalizeEtcId { get; set; } public uint LocalizeEtcId { get; set; }
public bool Wear { get; set; } public bool Wear { get; set; }
public int MaxLevel { get; set; } public int MaxLevel { get; set; }
@ -234,8 +234,8 @@ public class EquipmentExcelT
public EquipmentExcelT() { public EquipmentExcelT() {
this.Id = 0; this.Id = 0;
this.EquipmentCategory_ = SCHALE.Common.FlatData.EquipmentCategory.Unable; this.EquipmentCategory = SCHALE.Common.FlatData.EquipmentCategory.Unable;
this.Rarity_ = SCHALE.Common.FlatData.Rarity.N; this.Rarity = SCHALE.Common.FlatData.Rarity.N;
this.LocalizeEtcId = 0; this.LocalizeEtcId = 0;
this.Wear = false; this.Wear = false;
this.MaxLevel = 0; this.MaxLevel = 0;
@ -262,8 +262,8 @@ static public class EquipmentExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*EquipmentCategory_*/, 4 /*SCHALE.Common.FlatData.EquipmentCategory*/, 4, false) && verifier.VerifyField(tablePos, 6 /*EquipmentCategory*/, 4 /*SCHALE.Common.FlatData.EquipmentCategory*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*Rarity_*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) && verifier.VerifyField(tablePos, 8 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*LocalizeEtcId*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 10 /*LocalizeEtcId*/, 4 /*uint*/, 4, false)
&& verifier.VerifyField(tablePos, 12 /*Wear*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 12 /*Wear*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 14 /*MaxLevel*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 14 /*MaxLevel*/, 4 /*int*/, 4, false)

View File

@ -21,7 +21,7 @@ public struct EquipmentStatExcel : IFlatbufferObject
public EquipmentStatExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public EquipmentStatExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long EquipmentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EquipmentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.StatLevelUpType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatLevelUpType.Standard; } } public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.StatLevelUpType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatLevelUpType.Standard; } }
public SCHALE.Common.FlatData.EquipmentOptionType StatType(int j) { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.EquipmentOptionType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.EquipmentOptionType)0; } public SCHALE.Common.FlatData.EquipmentOptionType StatType(int j) { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.EquipmentOptionType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.EquipmentOptionType)0; }
public int StatTypeLength { get { int o = __p.__offset(8); return o != 0 ? __p.__vector_len(o) : 0; } } public int StatTypeLength { get { int o = __p.__offset(8); return o != 0 ? __p.__vector_len(o) : 0; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
@ -50,7 +50,7 @@ public struct EquipmentStatExcel : IFlatbufferObject
public long LevelUpFeedExp { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long LevelUpFeedExp { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.CurrencyTypes LevelUpFeedCostCurrency { get { int o = __p.__offset(18); return o != 0 ? (SCHALE.Common.FlatData.CurrencyTypes)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CurrencyTypes.Invalid; } } public SCHALE.Common.FlatData.CurrencyTypes LevelUpFeedCostCurrency { get { int o = __p.__offset(18); return o != 0 ? (SCHALE.Common.FlatData.CurrencyTypes)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CurrencyTypes.Invalid; } }
public long LevelUpFeedCostAmount { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long LevelUpFeedCostAmount { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory_ { get { int o = __p.__offset(22); return o != 0 ? (SCHALE.Common.FlatData.EquipmentCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EquipmentCategory.Unable; } } public SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory { get { int o = __p.__offset(22); return o != 0 ? (SCHALE.Common.FlatData.EquipmentCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EquipmentCategory.Unable; } }
public long LevelUpFeedAddExp { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long LevelUpFeedAddExp { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public int DefaultMaxLevel { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int DefaultMaxLevel { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public int TranscendenceMax { get { int o = __p.__offset(28); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int TranscendenceMax { get { int o = __p.__offset(28); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
@ -64,7 +64,7 @@ public struct EquipmentStatExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.EquipmentStatExcel> CreateEquipmentStatExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.EquipmentStatExcel> CreateEquipmentStatExcel(FlatBufferBuilder builder,
long EquipmentId = 0, long EquipmentId = 0,
SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType_ = SCHALE.Common.FlatData.StatLevelUpType.Standard, SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType = SCHALE.Common.FlatData.StatLevelUpType.Standard,
VectorOffset StatTypeOffset = default(VectorOffset), VectorOffset StatTypeOffset = default(VectorOffset),
VectorOffset MinStatOffset = default(VectorOffset), VectorOffset MinStatOffset = default(VectorOffset),
VectorOffset MaxStatOffset = default(VectorOffset), VectorOffset MaxStatOffset = default(VectorOffset),
@ -72,7 +72,7 @@ public struct EquipmentStatExcel : IFlatbufferObject
long LevelUpFeedExp = 0, long LevelUpFeedExp = 0,
SCHALE.Common.FlatData.CurrencyTypes LevelUpFeedCostCurrency = SCHALE.Common.FlatData.CurrencyTypes.Invalid, SCHALE.Common.FlatData.CurrencyTypes LevelUpFeedCostCurrency = SCHALE.Common.FlatData.CurrencyTypes.Invalid,
long LevelUpFeedCostAmount = 0, long LevelUpFeedCostAmount = 0,
SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory_ = SCHALE.Common.FlatData.EquipmentCategory.Unable, SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory = SCHALE.Common.FlatData.EquipmentCategory.Unable,
long LevelUpFeedAddExp = 0, long LevelUpFeedAddExp = 0,
int DefaultMaxLevel = 0, int DefaultMaxLevel = 0,
int TranscendenceMax = 0, int TranscendenceMax = 0,
@ -85,19 +85,19 @@ public struct EquipmentStatExcel : IFlatbufferObject
EquipmentStatExcel.AddDamageFactorGroupId(builder, DamageFactorGroupIdOffset); EquipmentStatExcel.AddDamageFactorGroupId(builder, DamageFactorGroupIdOffset);
EquipmentStatExcel.AddTranscendenceMax(builder, TranscendenceMax); EquipmentStatExcel.AddTranscendenceMax(builder, TranscendenceMax);
EquipmentStatExcel.AddDefaultMaxLevel(builder, DefaultMaxLevel); EquipmentStatExcel.AddDefaultMaxLevel(builder, DefaultMaxLevel);
EquipmentStatExcel.AddEquipmentCategory_(builder, EquipmentCategory_); EquipmentStatExcel.AddEquipmentCategory(builder, EquipmentCategory);
EquipmentStatExcel.AddLevelUpFeedCostCurrency(builder, LevelUpFeedCostCurrency); EquipmentStatExcel.AddLevelUpFeedCostCurrency(builder, LevelUpFeedCostCurrency);
EquipmentStatExcel.AddLevelUpInsertLimit(builder, LevelUpInsertLimit); EquipmentStatExcel.AddLevelUpInsertLimit(builder, LevelUpInsertLimit);
EquipmentStatExcel.AddMaxStat(builder, MaxStatOffset); EquipmentStatExcel.AddMaxStat(builder, MaxStatOffset);
EquipmentStatExcel.AddMinStat(builder, MinStatOffset); EquipmentStatExcel.AddMinStat(builder, MinStatOffset);
EquipmentStatExcel.AddStatType(builder, StatTypeOffset); EquipmentStatExcel.AddStatType(builder, StatTypeOffset);
EquipmentStatExcel.AddStatLevelUpType_(builder, StatLevelUpType_); EquipmentStatExcel.AddStatLevelUpType(builder, StatLevelUpType);
return EquipmentStatExcel.EndEquipmentStatExcel(builder); return EquipmentStatExcel.EndEquipmentStatExcel(builder);
} }
public static void StartEquipmentStatExcel(FlatBufferBuilder builder) { builder.StartTable(14); } public static void StartEquipmentStatExcel(FlatBufferBuilder builder) { builder.StartTable(14); }
public static void AddEquipmentId(FlatBufferBuilder builder, long equipmentId) { builder.AddLong(0, equipmentId, 0); } public static void AddEquipmentId(FlatBufferBuilder builder, long equipmentId) { builder.AddLong(0, equipmentId, 0); }
public static void AddStatLevelUpType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatLevelUpType statLevelUpType_) { builder.AddInt(1, (int)statLevelUpType_, 0); } public static void AddStatLevelUpType(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatLevelUpType statLevelUpType) { builder.AddInt(1, (int)statLevelUpType, 0); }
public static void AddStatType(FlatBufferBuilder builder, VectorOffset statTypeOffset) { builder.AddOffset(2, statTypeOffset.Value, 0); } public static void AddStatType(FlatBufferBuilder builder, VectorOffset statTypeOffset) { builder.AddOffset(2, statTypeOffset.Value, 0); }
public static VectorOffset CreateStatTypeVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.EquipmentOptionType[] 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 CreateStatTypeVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.EquipmentOptionType[] 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 CreateStatTypeVectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.EquipmentOptionType[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateStatTypeVectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.EquipmentOptionType[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
@ -120,7 +120,7 @@ public struct EquipmentStatExcel : IFlatbufferObject
public static void AddLevelUpFeedExp(FlatBufferBuilder builder, long levelUpFeedExp) { builder.AddLong(6, levelUpFeedExp, 0); } public static void AddLevelUpFeedExp(FlatBufferBuilder builder, long levelUpFeedExp) { builder.AddLong(6, levelUpFeedExp, 0); }
public static void AddLevelUpFeedCostCurrency(FlatBufferBuilder builder, SCHALE.Common.FlatData.CurrencyTypes levelUpFeedCostCurrency) { builder.AddInt(7, (int)levelUpFeedCostCurrency, 0); } public static void AddLevelUpFeedCostCurrency(FlatBufferBuilder builder, SCHALE.Common.FlatData.CurrencyTypes levelUpFeedCostCurrency) { builder.AddInt(7, (int)levelUpFeedCostCurrency, 0); }
public static void AddLevelUpFeedCostAmount(FlatBufferBuilder builder, long levelUpFeedCostAmount) { builder.AddLong(8, levelUpFeedCostAmount, 0); } public static void AddLevelUpFeedCostAmount(FlatBufferBuilder builder, long levelUpFeedCostAmount) { builder.AddLong(8, levelUpFeedCostAmount, 0); }
public static void AddEquipmentCategory_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EquipmentCategory equipmentCategory_) { builder.AddInt(9, (int)equipmentCategory_, 0); } public static void AddEquipmentCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.EquipmentCategory equipmentCategory) { builder.AddInt(9, (int)equipmentCategory, 0); }
public static void AddLevelUpFeedAddExp(FlatBufferBuilder builder, long levelUpFeedAddExp) { builder.AddLong(10, levelUpFeedAddExp, 0); } public static void AddLevelUpFeedAddExp(FlatBufferBuilder builder, long levelUpFeedAddExp) { builder.AddLong(10, levelUpFeedAddExp, 0); }
public static void AddDefaultMaxLevel(FlatBufferBuilder builder, int defaultMaxLevel) { builder.AddInt(11, defaultMaxLevel, 0); } public static void AddDefaultMaxLevel(FlatBufferBuilder builder, int defaultMaxLevel) { builder.AddInt(11, defaultMaxLevel, 0); }
public static void AddTranscendenceMax(FlatBufferBuilder builder, int transcendenceMax) { builder.AddInt(12, transcendenceMax, 0); } public static void AddTranscendenceMax(FlatBufferBuilder builder, int transcendenceMax) { builder.AddInt(12, transcendenceMax, 0); }
@ -137,7 +137,7 @@ public struct EquipmentStatExcel : IFlatbufferObject
public void UnPackTo(EquipmentStatExcelT _o) { public void UnPackTo(EquipmentStatExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("EquipmentStat"); byte[] key = TableEncryptionService.CreateKey("EquipmentStat");
_o.EquipmentId = TableEncryptionService.Convert(this.EquipmentId, key); _o.EquipmentId = TableEncryptionService.Convert(this.EquipmentId, key);
_o.StatLevelUpType_ = TableEncryptionService.Convert(this.StatLevelUpType_, key); _o.StatLevelUpType = TableEncryptionService.Convert(this.StatLevelUpType, key);
_o.StatType = new List<SCHALE.Common.FlatData.EquipmentOptionType>(); _o.StatType = new List<SCHALE.Common.FlatData.EquipmentOptionType>();
for (var _j = 0; _j < this.StatTypeLength; ++_j) {_o.StatType.Add(TableEncryptionService.Convert(this.StatType(_j), key));} for (var _j = 0; _j < this.StatTypeLength; ++_j) {_o.StatType.Add(TableEncryptionService.Convert(this.StatType(_j), key));}
_o.MinStat = new List<long>(); _o.MinStat = new List<long>();
@ -148,7 +148,7 @@ public struct EquipmentStatExcel : IFlatbufferObject
_o.LevelUpFeedExp = TableEncryptionService.Convert(this.LevelUpFeedExp, key); _o.LevelUpFeedExp = TableEncryptionService.Convert(this.LevelUpFeedExp, key);
_o.LevelUpFeedCostCurrency = TableEncryptionService.Convert(this.LevelUpFeedCostCurrency, key); _o.LevelUpFeedCostCurrency = TableEncryptionService.Convert(this.LevelUpFeedCostCurrency, key);
_o.LevelUpFeedCostAmount = TableEncryptionService.Convert(this.LevelUpFeedCostAmount, key); _o.LevelUpFeedCostAmount = TableEncryptionService.Convert(this.LevelUpFeedCostAmount, key);
_o.EquipmentCategory_ = TableEncryptionService.Convert(this.EquipmentCategory_, key); _o.EquipmentCategory = TableEncryptionService.Convert(this.EquipmentCategory, key);
_o.LevelUpFeedAddExp = TableEncryptionService.Convert(this.LevelUpFeedAddExp, key); _o.LevelUpFeedAddExp = TableEncryptionService.Convert(this.LevelUpFeedAddExp, key);
_o.DefaultMaxLevel = TableEncryptionService.Convert(this.DefaultMaxLevel, key); _o.DefaultMaxLevel = TableEncryptionService.Convert(this.DefaultMaxLevel, key);
_o.TranscendenceMax = TableEncryptionService.Convert(this.TranscendenceMax, key); _o.TranscendenceMax = TableEncryptionService.Convert(this.TranscendenceMax, key);
@ -175,7 +175,7 @@ public struct EquipmentStatExcel : IFlatbufferObject
return CreateEquipmentStatExcel( return CreateEquipmentStatExcel(
builder, builder,
_o.EquipmentId, _o.EquipmentId,
_o.StatLevelUpType_, _o.StatLevelUpType,
_StatType, _StatType,
_MinStat, _MinStat,
_MaxStat, _MaxStat,
@ -183,7 +183,7 @@ public struct EquipmentStatExcel : IFlatbufferObject
_o.LevelUpFeedExp, _o.LevelUpFeedExp,
_o.LevelUpFeedCostCurrency, _o.LevelUpFeedCostCurrency,
_o.LevelUpFeedCostAmount, _o.LevelUpFeedCostAmount,
_o.EquipmentCategory_, _o.EquipmentCategory,
_o.LevelUpFeedAddExp, _o.LevelUpFeedAddExp,
_o.DefaultMaxLevel, _o.DefaultMaxLevel,
_o.TranscendenceMax, _o.TranscendenceMax,
@ -194,7 +194,7 @@ public struct EquipmentStatExcel : IFlatbufferObject
public class EquipmentStatExcelT public class EquipmentStatExcelT
{ {
public long EquipmentId { get; set; } public long EquipmentId { get; set; }
public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType_ { get; set; } public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType { get; set; }
public List<SCHALE.Common.FlatData.EquipmentOptionType> StatType { get; set; } public List<SCHALE.Common.FlatData.EquipmentOptionType> StatType { get; set; }
public List<long> MinStat { get; set; } public List<long> MinStat { get; set; }
public List<long> MaxStat { get; set; } public List<long> MaxStat { get; set; }
@ -202,7 +202,7 @@ public class EquipmentStatExcelT
public long LevelUpFeedExp { get; set; } public long LevelUpFeedExp { get; set; }
public SCHALE.Common.FlatData.CurrencyTypes LevelUpFeedCostCurrency { get; set; } public SCHALE.Common.FlatData.CurrencyTypes LevelUpFeedCostCurrency { get; set; }
public long LevelUpFeedCostAmount { get; set; } public long LevelUpFeedCostAmount { get; set; }
public SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory_ { get; set; } public SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory { get; set; }
public long LevelUpFeedAddExp { get; set; } public long LevelUpFeedAddExp { get; set; }
public int DefaultMaxLevel { get; set; } public int DefaultMaxLevel { get; set; }
public int TranscendenceMax { get; set; } public int TranscendenceMax { get; set; }
@ -210,7 +210,7 @@ public class EquipmentStatExcelT
public EquipmentStatExcelT() { public EquipmentStatExcelT() {
this.EquipmentId = 0; this.EquipmentId = 0;
this.StatLevelUpType_ = SCHALE.Common.FlatData.StatLevelUpType.Standard; this.StatLevelUpType = SCHALE.Common.FlatData.StatLevelUpType.Standard;
this.StatType = null; this.StatType = null;
this.MinStat = null; this.MinStat = null;
this.MaxStat = null; this.MaxStat = null;
@ -218,7 +218,7 @@ public class EquipmentStatExcelT
this.LevelUpFeedExp = 0; this.LevelUpFeedExp = 0;
this.LevelUpFeedCostCurrency = SCHALE.Common.FlatData.CurrencyTypes.Invalid; this.LevelUpFeedCostCurrency = SCHALE.Common.FlatData.CurrencyTypes.Invalid;
this.LevelUpFeedCostAmount = 0; this.LevelUpFeedCostAmount = 0;
this.EquipmentCategory_ = SCHALE.Common.FlatData.EquipmentCategory.Unable; this.EquipmentCategory = SCHALE.Common.FlatData.EquipmentCategory.Unable;
this.LevelUpFeedAddExp = 0; this.LevelUpFeedAddExp = 0;
this.DefaultMaxLevel = 0; this.DefaultMaxLevel = 0;
this.TranscendenceMax = 0; this.TranscendenceMax = 0;
@ -233,7 +233,7 @@ static public class EquipmentStatExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*EquipmentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*EquipmentId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*StatLevelUpType_*/, 4 /*SCHALE.Common.FlatData.StatLevelUpType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*StatLevelUpType*/, 4 /*SCHALE.Common.FlatData.StatLevelUpType*/, 4, false)
&& verifier.VerifyVectorOfData(tablePos, 8 /*StatType*/, 4 /*SCHALE.Common.FlatData.EquipmentOptionType*/, false) && verifier.VerifyVectorOfData(tablePos, 8 /*StatType*/, 4 /*SCHALE.Common.FlatData.EquipmentOptionType*/, false)
&& verifier.VerifyVectorOfData(tablePos, 10 /*MinStat*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 10 /*MinStat*/, 8 /*long*/, false)
&& verifier.VerifyVectorOfData(tablePos, 12 /*MaxStat*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 12 /*MaxStat*/, 8 /*long*/, false)
@ -241,7 +241,7 @@ static public class EquipmentStatExcelVerify
&& verifier.VerifyField(tablePos, 16 /*LevelUpFeedExp*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 16 /*LevelUpFeedExp*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 18 /*LevelUpFeedCostCurrency*/, 4 /*SCHALE.Common.FlatData.CurrencyTypes*/, 4, false) && verifier.VerifyField(tablePos, 18 /*LevelUpFeedCostCurrency*/, 4 /*SCHALE.Common.FlatData.CurrencyTypes*/, 4, false)
&& verifier.VerifyField(tablePos, 20 /*LevelUpFeedCostAmount*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 20 /*LevelUpFeedCostAmount*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 22 /*EquipmentCategory_*/, 4 /*SCHALE.Common.FlatData.EquipmentCategory*/, 4, false) && verifier.VerifyField(tablePos, 22 /*EquipmentCategory*/, 4 /*SCHALE.Common.FlatData.EquipmentCategory*/, 4, false)
&& verifier.VerifyField(tablePos, 24 /*LevelUpFeedAddExp*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 24 /*LevelUpFeedAddExp*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 26 /*DefaultMaxLevel*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 26 /*DefaultMaxLevel*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 28 /*TranscendenceMax*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 28 /*TranscendenceMax*/, 4 /*int*/, 4, false)

View File

@ -22,7 +22,7 @@ public struct EventContentCardShopExcel : IFlatbufferObject
public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long Id { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long Id { 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.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 long CostGoodsId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long CostGoodsId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public int CardGroupId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int CardGroupId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public bool IsLegacy { get { int o = __p.__offset(14); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool IsLegacy { get { int o = __p.__offset(14); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
@ -57,7 +57,7 @@ public struct EventContentCardShopExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.EventContentCardShopExcel> CreateEventContentCardShopExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.EventContentCardShopExcel> CreateEventContentCardShopExcel(FlatBufferBuilder builder,
long EventContentId = 0, long EventContentId = 0,
long Id = 0, long Id = 0,
SCHALE.Common.FlatData.Rarity Rarity_ = SCHALE.Common.FlatData.Rarity.N, SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N,
long CostGoodsId = 0, long CostGoodsId = 0,
int CardGroupId = 0, int CardGroupId = 0,
bool IsLegacy = false, bool IsLegacy = false,
@ -78,7 +78,7 @@ public struct EventContentCardShopExcel : IFlatbufferObject
EventContentCardShopExcel.AddProb(builder, Prob); EventContentCardShopExcel.AddProb(builder, Prob);
EventContentCardShopExcel.AddRefreshGroup(builder, RefreshGroup); EventContentCardShopExcel.AddRefreshGroup(builder, RefreshGroup);
EventContentCardShopExcel.AddCardGroupId(builder, CardGroupId); EventContentCardShopExcel.AddCardGroupId(builder, CardGroupId);
EventContentCardShopExcel.AddRarity_(builder, Rarity_); EventContentCardShopExcel.AddRarity(builder, Rarity);
EventContentCardShopExcel.AddIsLegacy(builder, IsLegacy); EventContentCardShopExcel.AddIsLegacy(builder, IsLegacy);
return EventContentCardShopExcel.EndEventContentCardShopExcel(builder); return EventContentCardShopExcel.EndEventContentCardShopExcel(builder);
} }
@ -86,7 +86,7 @@ public struct EventContentCardShopExcel : IFlatbufferObject
public static void StartEventContentCardShopExcel(FlatBufferBuilder builder) { builder.StartTable(12); } public static void StartEventContentCardShopExcel(FlatBufferBuilder builder) { builder.StartTable(12); }
public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); }
public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(1, id, 0); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(1, id, 0); }
public static void AddRarity_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity_) { builder.AddInt(2, (int)rarity_, 0); } public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(2, (int)rarity, 0); }
public static void AddCostGoodsId(FlatBufferBuilder builder, long costGoodsId) { builder.AddLong(3, costGoodsId, 0); } public static void AddCostGoodsId(FlatBufferBuilder builder, long costGoodsId) { builder.AddLong(3, costGoodsId, 0); }
public static void AddCardGroupId(FlatBufferBuilder builder, int cardGroupId) { builder.AddInt(4, cardGroupId, 0); } public static void AddCardGroupId(FlatBufferBuilder builder, int cardGroupId) { builder.AddInt(4, cardGroupId, 0); }
public static void AddIsLegacy(FlatBufferBuilder builder, bool isLegacy) { builder.AddBool(5, isLegacy, false); } public static void AddIsLegacy(FlatBufferBuilder builder, bool isLegacy) { builder.AddBool(5, isLegacy, false); }
@ -124,7 +124,7 @@ public struct EventContentCardShopExcel : IFlatbufferObject
byte[] key = TableEncryptionService.CreateKey("EventContentCardShop"); byte[] key = TableEncryptionService.CreateKey("EventContentCardShop");
_o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key);
_o.Id = TableEncryptionService.Convert(this.Id, key); _o.Id = TableEncryptionService.Convert(this.Id, key);
_o.Rarity_ = TableEncryptionService.Convert(this.Rarity_, key); _o.Rarity = TableEncryptionService.Convert(this.Rarity, key);
_o.CostGoodsId = TableEncryptionService.Convert(this.CostGoodsId, key); _o.CostGoodsId = TableEncryptionService.Convert(this.CostGoodsId, key);
_o.CardGroupId = TableEncryptionService.Convert(this.CardGroupId, key); _o.CardGroupId = TableEncryptionService.Convert(this.CardGroupId, key);
_o.IsLegacy = TableEncryptionService.Convert(this.IsLegacy, key); _o.IsLegacy = TableEncryptionService.Convert(this.IsLegacy, key);
@ -159,7 +159,7 @@ public struct EventContentCardShopExcel : IFlatbufferObject
builder, builder,
_o.EventContentId, _o.EventContentId,
_o.Id, _o.Id,
_o.Rarity_, _o.Rarity,
_o.CostGoodsId, _o.CostGoodsId,
_o.CardGroupId, _o.CardGroupId,
_o.IsLegacy, _o.IsLegacy,
@ -176,7 +176,7 @@ public class EventContentCardShopExcelT
{ {
public long EventContentId { get; set; } public long EventContentId { get; set; }
public long Id { get; set; } public long Id { get; set; }
public SCHALE.Common.FlatData.Rarity Rarity_ { get; set; } public SCHALE.Common.FlatData.Rarity Rarity { get; set; }
public long CostGoodsId { get; set; } public long CostGoodsId { get; set; }
public int CardGroupId { get; set; } public int CardGroupId { get; set; }
public bool IsLegacy { get; set; } public bool IsLegacy { get; set; }
@ -190,7 +190,7 @@ public class EventContentCardShopExcelT
public EventContentCardShopExcelT() { public EventContentCardShopExcelT() {
this.EventContentId = 0; this.EventContentId = 0;
this.Id = 0; this.Id = 0;
this.Rarity_ = SCHALE.Common.FlatData.Rarity.N; this.Rarity = SCHALE.Common.FlatData.Rarity.N;
this.CostGoodsId = 0; this.CostGoodsId = 0;
this.CardGroupId = 0; this.CardGroupId = 0;
this.IsLegacy = false; this.IsLegacy = false;
@ -211,7 +211,7 @@ static public class EventContentCardShopExcelVerify
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*Id*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 8 /*Rarity_*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) && verifier.VerifyField(tablePos, 8 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*CostGoodsId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*CostGoodsId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 12 /*CardGroupId*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 12 /*CardGroupId*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 14 /*IsLegacy*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 14 /*IsLegacy*/, 1 /*bool*/, 1, false)

View File

@ -32,7 +32,7 @@ public struct EventContentCollectionExcel : IFlatbufferObject
public ArraySegment<byte>? GetUnlockConditionParameterBytes() { return __p.__vector_as_arraysegment(12); } public ArraySegment<byte>? GetUnlockConditionParameterBytes() { return __p.__vector_as_arraysegment(12); }
#endif #endif
public long[] GetUnlockConditionParameterArray() { return __p.__vector_as_array<long>(12); } public long[] GetUnlockConditionParameterArray() { return __p.__vector_as_array<long>(12); }
public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType_ { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.MultipleConditionCheckType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MultipleConditionCheckType.And; } } public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.MultipleConditionCheckType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MultipleConditionCheckType.And; } }
public long UnlockConditionCount { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long UnlockConditionCount { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public bool IsObject { get { int o = __p.__offset(18); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool IsObject { get { int o = __p.__offset(18); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public bool IsObjectOnFullResource { get { int o = __p.__offset(20); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool IsObjectOnFullResource { get { int o = __p.__offset(20); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
@ -73,7 +73,7 @@ public struct EventContentCollectionExcel : IFlatbufferObject
long GroupId = 0, long GroupId = 0,
SCHALE.Common.FlatData.CollectionUnlockType UnlockConditionType = SCHALE.Common.FlatData.CollectionUnlockType.None, SCHALE.Common.FlatData.CollectionUnlockType UnlockConditionType = SCHALE.Common.FlatData.CollectionUnlockType.None,
VectorOffset UnlockConditionParameterOffset = default(VectorOffset), VectorOffset UnlockConditionParameterOffset = default(VectorOffset),
SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType_ = SCHALE.Common.FlatData.MultipleConditionCheckType.And, SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType = SCHALE.Common.FlatData.MultipleConditionCheckType.And,
long UnlockConditionCount = 0, long UnlockConditionCount = 0,
bool IsObject = false, bool IsObject = false,
bool IsObjectOnFullResource = false, bool IsObjectOnFullResource = false,
@ -93,7 +93,7 @@ public struct EventContentCollectionExcel : IFlatbufferObject
EventContentCollectionExcel.AddFullResource(builder, FullResourceOffset); EventContentCollectionExcel.AddFullResource(builder, FullResourceOffset);
EventContentCollectionExcel.AddThumbResource(builder, ThumbResourceOffset); EventContentCollectionExcel.AddThumbResource(builder, ThumbResourceOffset);
EventContentCollectionExcel.AddEmblemResource(builder, EmblemResourceOffset); EventContentCollectionExcel.AddEmblemResource(builder, EmblemResourceOffset);
EventContentCollectionExcel.AddMultipleConditionCheckType_(builder, MultipleConditionCheckType_); EventContentCollectionExcel.AddMultipleConditionCheckType(builder, MultipleConditionCheckType);
EventContentCollectionExcel.AddUnlockConditionParameter(builder, UnlockConditionParameterOffset); EventContentCollectionExcel.AddUnlockConditionParameter(builder, UnlockConditionParameterOffset);
EventContentCollectionExcel.AddUnlockConditionType(builder, UnlockConditionType); EventContentCollectionExcel.AddUnlockConditionType(builder, UnlockConditionType);
EventContentCollectionExcel.AddIsHorizon(builder, IsHorizon); EventContentCollectionExcel.AddIsHorizon(builder, IsHorizon);
@ -113,7 +113,7 @@ public struct EventContentCollectionExcel : IFlatbufferObject
public static VectorOffset CreateUnlockConditionParameterVectorBlock(FlatBufferBuilder builder, ArraySegment<long> data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateUnlockConditionParameterVectorBlock(FlatBufferBuilder builder, ArraySegment<long> data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateUnlockConditionParameterVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<long>(dataPtr, sizeInBytes); return builder.EndVector(); } public static VectorOffset CreateUnlockConditionParameterVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<long>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartUnlockConditionParameterVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } public static void StartUnlockConditionParameterVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); }
public static void AddMultipleConditionCheckType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.MultipleConditionCheckType multipleConditionCheckType_) { builder.AddInt(5, (int)multipleConditionCheckType_, 0); } public static void AddMultipleConditionCheckType(FlatBufferBuilder builder, SCHALE.Common.FlatData.MultipleConditionCheckType multipleConditionCheckType) { builder.AddInt(5, (int)multipleConditionCheckType, 0); }
public static void AddUnlockConditionCount(FlatBufferBuilder builder, long unlockConditionCount) { builder.AddLong(6, unlockConditionCount, 0); } public static void AddUnlockConditionCount(FlatBufferBuilder builder, long unlockConditionCount) { builder.AddLong(6, unlockConditionCount, 0); }
public static void AddIsObject(FlatBufferBuilder builder, bool isObject) { builder.AddBool(7, isObject, false); } public static void AddIsObject(FlatBufferBuilder builder, bool isObject) { builder.AddBool(7, isObject, false); }
public static void AddIsObjectOnFullResource(FlatBufferBuilder builder, bool isObjectOnFullResource) { builder.AddBool(8, isObjectOnFullResource, false); } public static void AddIsObjectOnFullResource(FlatBufferBuilder builder, bool isObjectOnFullResource) { builder.AddBool(8, isObjectOnFullResource, false); }
@ -140,7 +140,7 @@ public struct EventContentCollectionExcel : IFlatbufferObject
_o.UnlockConditionType = TableEncryptionService.Convert(this.UnlockConditionType, key); _o.UnlockConditionType = TableEncryptionService.Convert(this.UnlockConditionType, key);
_o.UnlockConditionParameter = new List<long>(); _o.UnlockConditionParameter = new List<long>();
for (var _j = 0; _j < this.UnlockConditionParameterLength; ++_j) {_o.UnlockConditionParameter.Add(TableEncryptionService.Convert(this.UnlockConditionParameter(_j), key));} for (var _j = 0; _j < this.UnlockConditionParameterLength; ++_j) {_o.UnlockConditionParameter.Add(TableEncryptionService.Convert(this.UnlockConditionParameter(_j), key));}
_o.MultipleConditionCheckType_ = TableEncryptionService.Convert(this.MultipleConditionCheckType_, key); _o.MultipleConditionCheckType = TableEncryptionService.Convert(this.MultipleConditionCheckType, key);
_o.UnlockConditionCount = TableEncryptionService.Convert(this.UnlockConditionCount, key); _o.UnlockConditionCount = TableEncryptionService.Convert(this.UnlockConditionCount, key);
_o.IsObject = TableEncryptionService.Convert(this.IsObject, key); _o.IsObject = TableEncryptionService.Convert(this.IsObject, key);
_o.IsObjectOnFullResource = TableEncryptionService.Convert(this.IsObjectOnFullResource, key); _o.IsObjectOnFullResource = TableEncryptionService.Convert(this.IsObjectOnFullResource, key);
@ -169,7 +169,7 @@ public struct EventContentCollectionExcel : IFlatbufferObject
_o.GroupId, _o.GroupId,
_o.UnlockConditionType, _o.UnlockConditionType,
_UnlockConditionParameter, _UnlockConditionParameter,
_o.MultipleConditionCheckType_, _o.MultipleConditionCheckType,
_o.UnlockConditionCount, _o.UnlockConditionCount,
_o.IsObject, _o.IsObject,
_o.IsObjectOnFullResource, _o.IsObjectOnFullResource,
@ -189,7 +189,7 @@ public class EventContentCollectionExcelT
public long GroupId { get; set; } public long GroupId { get; set; }
public SCHALE.Common.FlatData.CollectionUnlockType UnlockConditionType { get; set; } public SCHALE.Common.FlatData.CollectionUnlockType UnlockConditionType { get; set; }
public List<long> UnlockConditionParameter { get; set; } public List<long> UnlockConditionParameter { get; set; }
public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType_ { get; set; } public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType { get; set; }
public long UnlockConditionCount { get; set; } public long UnlockConditionCount { get; set; }
public bool IsObject { get; set; } public bool IsObject { get; set; }
public bool IsObjectOnFullResource { get; set; } public bool IsObjectOnFullResource { get; set; }
@ -206,7 +206,7 @@ public class EventContentCollectionExcelT
this.GroupId = 0; this.GroupId = 0;
this.UnlockConditionType = SCHALE.Common.FlatData.CollectionUnlockType.None; this.UnlockConditionType = SCHALE.Common.FlatData.CollectionUnlockType.None;
this.UnlockConditionParameter = null; this.UnlockConditionParameter = null;
this.MultipleConditionCheckType_ = SCHALE.Common.FlatData.MultipleConditionCheckType.And; this.MultipleConditionCheckType = SCHALE.Common.FlatData.MultipleConditionCheckType.And;
this.UnlockConditionCount = 0; this.UnlockConditionCount = 0;
this.IsObject = false; this.IsObject = false;
this.IsObjectOnFullResource = false; this.IsObjectOnFullResource = false;
@ -230,7 +230,7 @@ static public class EventContentCollectionExcelVerify
&& verifier.VerifyField(tablePos, 8 /*GroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*GroupId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 10 /*UnlockConditionType*/, 4 /*SCHALE.Common.FlatData.CollectionUnlockType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*UnlockConditionType*/, 4 /*SCHALE.Common.FlatData.CollectionUnlockType*/, 4, false)
&& verifier.VerifyVectorOfData(tablePos, 12 /*UnlockConditionParameter*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 12 /*UnlockConditionParameter*/, 8 /*long*/, false)
&& verifier.VerifyField(tablePos, 14 /*MultipleConditionCheckType_*/, 4 /*SCHALE.Common.FlatData.MultipleConditionCheckType*/, 4, false) && verifier.VerifyField(tablePos, 14 /*MultipleConditionCheckType*/, 4 /*SCHALE.Common.FlatData.MultipleConditionCheckType*/, 4, false)
&& verifier.VerifyField(tablePos, 16 /*UnlockConditionCount*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 16 /*UnlockConditionCount*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 18 /*IsObject*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 18 /*IsObject*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 20 /*IsObjectOnFullResource*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 20 /*IsObjectOnFullResource*/, 1 /*bool*/, 1, false)

View File

@ -21,23 +21,23 @@ public struct EventContentCurrencyItemExcel : IFlatbufferObject
public EventContentCurrencyItemExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public EventContentCurrencyItemExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.EventContentItemType EventContentItemType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentItemType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentItemType.EventPoint; } } public SCHALE.Common.FlatData.EventContentItemType EventContentItemType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentItemType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentItemType.EventPoint; } }
public long ItemUniqueId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ItemUniqueId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public static Offset<SCHALE.Common.FlatData.EventContentCurrencyItemExcel> CreateEventContentCurrencyItemExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.EventContentCurrencyItemExcel> CreateEventContentCurrencyItemExcel(FlatBufferBuilder builder,
long EventContentId = 0, long EventContentId = 0,
SCHALE.Common.FlatData.EventContentItemType EventContentItemType_ = SCHALE.Common.FlatData.EventContentItemType.EventPoint, SCHALE.Common.FlatData.EventContentItemType EventContentItemType = SCHALE.Common.FlatData.EventContentItemType.EventPoint,
long ItemUniqueId = 0) { long ItemUniqueId = 0) {
builder.StartTable(3); builder.StartTable(3);
EventContentCurrencyItemExcel.AddItemUniqueId(builder, ItemUniqueId); EventContentCurrencyItemExcel.AddItemUniqueId(builder, ItemUniqueId);
EventContentCurrencyItemExcel.AddEventContentId(builder, EventContentId); EventContentCurrencyItemExcel.AddEventContentId(builder, EventContentId);
EventContentCurrencyItemExcel.AddEventContentItemType_(builder, EventContentItemType_); EventContentCurrencyItemExcel.AddEventContentItemType(builder, EventContentItemType);
return EventContentCurrencyItemExcel.EndEventContentCurrencyItemExcel(builder); return EventContentCurrencyItemExcel.EndEventContentCurrencyItemExcel(builder);
} }
public static void StartEventContentCurrencyItemExcel(FlatBufferBuilder builder) { builder.StartTable(3); } public static void StartEventContentCurrencyItemExcel(FlatBufferBuilder builder) { builder.StartTable(3); }
public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); }
public static void AddEventContentItemType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentItemType eventContentItemType_) { builder.AddInt(1, (int)eventContentItemType_, 0); } public static void AddEventContentItemType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentItemType eventContentItemType) { builder.AddInt(1, (int)eventContentItemType, 0); }
public static void AddItemUniqueId(FlatBufferBuilder builder, long itemUniqueId) { builder.AddLong(2, itemUniqueId, 0); } public static void AddItemUniqueId(FlatBufferBuilder builder, long itemUniqueId) { builder.AddLong(2, itemUniqueId, 0); }
public static Offset<SCHALE.Common.FlatData.EventContentCurrencyItemExcel> EndEventContentCurrencyItemExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.EventContentCurrencyItemExcel> EndEventContentCurrencyItemExcel(FlatBufferBuilder builder) {
int o = builder.EndTable(); int o = builder.EndTable();
@ -51,7 +51,7 @@ public struct EventContentCurrencyItemExcel : IFlatbufferObject
public void UnPackTo(EventContentCurrencyItemExcelT _o) { public void UnPackTo(EventContentCurrencyItemExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("EventContentCurrencyItem"); byte[] key = TableEncryptionService.CreateKey("EventContentCurrencyItem");
_o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key);
_o.EventContentItemType_ = TableEncryptionService.Convert(this.EventContentItemType_, key); _o.EventContentItemType = TableEncryptionService.Convert(this.EventContentItemType, key);
_o.ItemUniqueId = TableEncryptionService.Convert(this.ItemUniqueId, key); _o.ItemUniqueId = TableEncryptionService.Convert(this.ItemUniqueId, key);
} }
public static Offset<SCHALE.Common.FlatData.EventContentCurrencyItemExcel> Pack(FlatBufferBuilder builder, EventContentCurrencyItemExcelT _o) { public static Offset<SCHALE.Common.FlatData.EventContentCurrencyItemExcel> Pack(FlatBufferBuilder builder, EventContentCurrencyItemExcelT _o) {
@ -59,7 +59,7 @@ public struct EventContentCurrencyItemExcel : IFlatbufferObject
return CreateEventContentCurrencyItemExcel( return CreateEventContentCurrencyItemExcel(
builder, builder,
_o.EventContentId, _o.EventContentId,
_o.EventContentItemType_, _o.EventContentItemType,
_o.ItemUniqueId); _o.ItemUniqueId);
} }
} }
@ -67,12 +67,12 @@ public struct EventContentCurrencyItemExcel : IFlatbufferObject
public class EventContentCurrencyItemExcelT public class EventContentCurrencyItemExcelT
{ {
public long EventContentId { get; set; } public long EventContentId { get; set; }
public SCHALE.Common.FlatData.EventContentItemType EventContentItemType_ { get; set; } public SCHALE.Common.FlatData.EventContentItemType EventContentItemType { get; set; }
public long ItemUniqueId { get; set; } public long ItemUniqueId { get; set; }
public EventContentCurrencyItemExcelT() { public EventContentCurrencyItemExcelT() {
this.EventContentId = 0; this.EventContentId = 0;
this.EventContentItemType_ = SCHALE.Common.FlatData.EventContentItemType.EventPoint; this.EventContentItemType = SCHALE.Common.FlatData.EventContentItemType.EventPoint;
this.ItemUniqueId = 0; this.ItemUniqueId = 0;
} }
} }
@ -84,7 +84,7 @@ static public class EventContentCurrencyItemExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*EventContentItemType_*/, 4 /*SCHALE.Common.FlatData.EventContentItemType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*EventContentItemType*/, 4 /*SCHALE.Common.FlatData.EventContentItemType*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*ItemUniqueId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*ItemUniqueId*/, 8 /*long*/, 8, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);
} }

View File

@ -22,26 +22,26 @@ public struct EventContentDebuffRewardExcel : IFlatbufferObject
public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long EventStageId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventStageId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.EventContentItemType EventContentItemType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.EventContentItemType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentItemType.EventPoint; } } public SCHALE.Common.FlatData.EventContentItemType EventContentItemType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.EventContentItemType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentItemType.EventPoint; } }
public long RewardPercentage { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long RewardPercentage { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public static Offset<SCHALE.Common.FlatData.EventContentDebuffRewardExcel> CreateEventContentDebuffRewardExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.EventContentDebuffRewardExcel> CreateEventContentDebuffRewardExcel(FlatBufferBuilder builder,
long EventContentId = 0, long EventContentId = 0,
long EventStageId = 0, long EventStageId = 0,
SCHALE.Common.FlatData.EventContentItemType EventContentItemType_ = SCHALE.Common.FlatData.EventContentItemType.EventPoint, SCHALE.Common.FlatData.EventContentItemType EventContentItemType = SCHALE.Common.FlatData.EventContentItemType.EventPoint,
long RewardPercentage = 0) { long RewardPercentage = 0) {
builder.StartTable(4); builder.StartTable(4);
EventContentDebuffRewardExcel.AddRewardPercentage(builder, RewardPercentage); EventContentDebuffRewardExcel.AddRewardPercentage(builder, RewardPercentage);
EventContentDebuffRewardExcel.AddEventStageId(builder, EventStageId); EventContentDebuffRewardExcel.AddEventStageId(builder, EventStageId);
EventContentDebuffRewardExcel.AddEventContentId(builder, EventContentId); EventContentDebuffRewardExcel.AddEventContentId(builder, EventContentId);
EventContentDebuffRewardExcel.AddEventContentItemType_(builder, EventContentItemType_); EventContentDebuffRewardExcel.AddEventContentItemType(builder, EventContentItemType);
return EventContentDebuffRewardExcel.EndEventContentDebuffRewardExcel(builder); return EventContentDebuffRewardExcel.EndEventContentDebuffRewardExcel(builder);
} }
public static void StartEventContentDebuffRewardExcel(FlatBufferBuilder builder) { builder.StartTable(4); } public static void StartEventContentDebuffRewardExcel(FlatBufferBuilder builder) { builder.StartTable(4); }
public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); }
public static void AddEventStageId(FlatBufferBuilder builder, long eventStageId) { builder.AddLong(1, eventStageId, 0); } public static void AddEventStageId(FlatBufferBuilder builder, long eventStageId) { builder.AddLong(1, eventStageId, 0); }
public static void AddEventContentItemType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentItemType eventContentItemType_) { builder.AddInt(2, (int)eventContentItemType_, 0); } public static void AddEventContentItemType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentItemType eventContentItemType) { builder.AddInt(2, (int)eventContentItemType, 0); }
public static void AddRewardPercentage(FlatBufferBuilder builder, long rewardPercentage) { builder.AddLong(3, rewardPercentage, 0); } public static void AddRewardPercentage(FlatBufferBuilder builder, long rewardPercentage) { builder.AddLong(3, rewardPercentage, 0); }
public static Offset<SCHALE.Common.FlatData.EventContentDebuffRewardExcel> EndEventContentDebuffRewardExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.EventContentDebuffRewardExcel> EndEventContentDebuffRewardExcel(FlatBufferBuilder builder) {
int o = builder.EndTable(); int o = builder.EndTable();
@ -56,7 +56,7 @@ public struct EventContentDebuffRewardExcel : IFlatbufferObject
byte[] key = TableEncryptionService.CreateKey("EventContentDebuffReward"); byte[] key = TableEncryptionService.CreateKey("EventContentDebuffReward");
_o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key);
_o.EventStageId = TableEncryptionService.Convert(this.EventStageId, key); _o.EventStageId = TableEncryptionService.Convert(this.EventStageId, key);
_o.EventContentItemType_ = TableEncryptionService.Convert(this.EventContentItemType_, key); _o.EventContentItemType = TableEncryptionService.Convert(this.EventContentItemType, key);
_o.RewardPercentage = TableEncryptionService.Convert(this.RewardPercentage, key); _o.RewardPercentage = TableEncryptionService.Convert(this.RewardPercentage, key);
} }
public static Offset<SCHALE.Common.FlatData.EventContentDebuffRewardExcel> Pack(FlatBufferBuilder builder, EventContentDebuffRewardExcelT _o) { public static Offset<SCHALE.Common.FlatData.EventContentDebuffRewardExcel> Pack(FlatBufferBuilder builder, EventContentDebuffRewardExcelT _o) {
@ -65,7 +65,7 @@ public struct EventContentDebuffRewardExcel : IFlatbufferObject
builder, builder,
_o.EventContentId, _o.EventContentId,
_o.EventStageId, _o.EventStageId,
_o.EventContentItemType_, _o.EventContentItemType,
_o.RewardPercentage); _o.RewardPercentage);
} }
} }
@ -74,13 +74,13 @@ public class EventContentDebuffRewardExcelT
{ {
public long EventContentId { get; set; } public long EventContentId { get; set; }
public long EventStageId { get; set; } public long EventStageId { get; set; }
public SCHALE.Common.FlatData.EventContentItemType EventContentItemType_ { get; set; } public SCHALE.Common.FlatData.EventContentItemType EventContentItemType { get; set; }
public long RewardPercentage { get; set; } public long RewardPercentage { get; set; }
public EventContentDebuffRewardExcelT() { public EventContentDebuffRewardExcelT() {
this.EventContentId = 0; this.EventContentId = 0;
this.EventStageId = 0; this.EventStageId = 0;
this.EventContentItemType_ = SCHALE.Common.FlatData.EventContentItemType.EventPoint; this.EventContentItemType = SCHALE.Common.FlatData.EventContentItemType.EventPoint;
this.RewardPercentage = 0; this.RewardPercentage = 0;
} }
} }
@ -93,7 +93,7 @@ static public class EventContentDebuffRewardExcelVerify
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*EventStageId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*EventStageId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 8 /*EventContentItemType_*/, 4 /*SCHALE.Common.FlatData.EventContentItemType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*EventContentItemType*/, 4 /*SCHALE.Common.FlatData.EventContentItemType*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*RewardPercentage*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*RewardPercentage*/, 8 /*long*/, 8, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);
} }

View File

@ -21,7 +21,7 @@ public struct EventContentDiceRaceEffectExcel : IFlatbufferObject
public EventContentDiceRaceEffectExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public EventContentDiceRaceEffectExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentDiceRaceResultType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1; } } public SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentDiceRaceResultType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1; } }
public bool IsDiceResult { get { int o = __p.__offset(8); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool IsDiceResult { get { int o = __p.__offset(8); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public string AniClip { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string AniClip { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
@ -41,7 +41,7 @@ public struct EventContentDiceRaceEffectExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.EventContentDiceRaceEffectExcel> CreateEventContentDiceRaceEffectExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.EventContentDiceRaceEffectExcel> CreateEventContentDiceRaceEffectExcel(FlatBufferBuilder builder,
long EventContentId = 0, long EventContentId = 0,
SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType_ = SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1, SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType = SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1,
bool IsDiceResult = false, bool IsDiceResult = false,
StringOffset AniClipOffset = default(StringOffset), StringOffset AniClipOffset = default(StringOffset),
VectorOffset VoiceIdOffset = default(VectorOffset)) { VectorOffset VoiceIdOffset = default(VectorOffset)) {
@ -49,14 +49,14 @@ public struct EventContentDiceRaceEffectExcel : IFlatbufferObject
EventContentDiceRaceEffectExcel.AddEventContentId(builder, EventContentId); EventContentDiceRaceEffectExcel.AddEventContentId(builder, EventContentId);
EventContentDiceRaceEffectExcel.AddVoiceId(builder, VoiceIdOffset); EventContentDiceRaceEffectExcel.AddVoiceId(builder, VoiceIdOffset);
EventContentDiceRaceEffectExcel.AddAniClip(builder, AniClipOffset); EventContentDiceRaceEffectExcel.AddAniClip(builder, AniClipOffset);
EventContentDiceRaceEffectExcel.AddEventContentDiceRaceResultType_(builder, EventContentDiceRaceResultType_); EventContentDiceRaceEffectExcel.AddEventContentDiceRaceResultType(builder, EventContentDiceRaceResultType);
EventContentDiceRaceEffectExcel.AddIsDiceResult(builder, IsDiceResult); EventContentDiceRaceEffectExcel.AddIsDiceResult(builder, IsDiceResult);
return EventContentDiceRaceEffectExcel.EndEventContentDiceRaceEffectExcel(builder); return EventContentDiceRaceEffectExcel.EndEventContentDiceRaceEffectExcel(builder);
} }
public static void StartEventContentDiceRaceEffectExcel(FlatBufferBuilder builder) { builder.StartTable(5); } public static void StartEventContentDiceRaceEffectExcel(FlatBufferBuilder builder) { builder.StartTable(5); }
public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); }
public static void AddEventContentDiceRaceResultType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentDiceRaceResultType eventContentDiceRaceResultType_) { builder.AddInt(1, (int)eventContentDiceRaceResultType_, 0); } public static void AddEventContentDiceRaceResultType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentDiceRaceResultType eventContentDiceRaceResultType) { builder.AddInt(1, (int)eventContentDiceRaceResultType, 0); }
public static void AddIsDiceResult(FlatBufferBuilder builder, bool isDiceResult) { builder.AddBool(2, isDiceResult, false); } public static void AddIsDiceResult(FlatBufferBuilder builder, bool isDiceResult) { builder.AddBool(2, isDiceResult, false); }
public static void AddAniClip(FlatBufferBuilder builder, StringOffset aniClipOffset) { builder.AddOffset(3, aniClipOffset.Value, 0); } public static void AddAniClip(FlatBufferBuilder builder, StringOffset aniClipOffset) { builder.AddOffset(3, aniClipOffset.Value, 0); }
public static void AddVoiceId(FlatBufferBuilder builder, VectorOffset voiceIdOffset) { builder.AddOffset(4, voiceIdOffset.Value, 0); } public static void AddVoiceId(FlatBufferBuilder builder, VectorOffset voiceIdOffset) { builder.AddOffset(4, voiceIdOffset.Value, 0); }
@ -77,7 +77,7 @@ public struct EventContentDiceRaceEffectExcel : IFlatbufferObject
public void UnPackTo(EventContentDiceRaceEffectExcelT _o) { public void UnPackTo(EventContentDiceRaceEffectExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("EventContentDiceRaceEffect"); byte[] key = TableEncryptionService.CreateKey("EventContentDiceRaceEffect");
_o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key);
_o.EventContentDiceRaceResultType_ = TableEncryptionService.Convert(this.EventContentDiceRaceResultType_, key); _o.EventContentDiceRaceResultType = TableEncryptionService.Convert(this.EventContentDiceRaceResultType, key);
_o.IsDiceResult = TableEncryptionService.Convert(this.IsDiceResult, key); _o.IsDiceResult = TableEncryptionService.Convert(this.IsDiceResult, key);
_o.AniClip = TableEncryptionService.Convert(this.AniClip, key); _o.AniClip = TableEncryptionService.Convert(this.AniClip, key);
_o.VoiceId = new List<uint>(); _o.VoiceId = new List<uint>();
@ -94,7 +94,7 @@ public struct EventContentDiceRaceEffectExcel : IFlatbufferObject
return CreateEventContentDiceRaceEffectExcel( return CreateEventContentDiceRaceEffectExcel(
builder, builder,
_o.EventContentId, _o.EventContentId,
_o.EventContentDiceRaceResultType_, _o.EventContentDiceRaceResultType,
_o.IsDiceResult, _o.IsDiceResult,
_AniClip, _AniClip,
_VoiceId); _VoiceId);
@ -104,14 +104,14 @@ public struct EventContentDiceRaceEffectExcel : IFlatbufferObject
public class EventContentDiceRaceEffectExcelT public class EventContentDiceRaceEffectExcelT
{ {
public long EventContentId { get; set; } public long EventContentId { get; set; }
public SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType_ { get; set; } public SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType { get; set; }
public bool IsDiceResult { get; set; } public bool IsDiceResult { get; set; }
public string AniClip { get; set; } public string AniClip { get; set; }
public List<uint> VoiceId { get; set; } public List<uint> VoiceId { get; set; }
public EventContentDiceRaceEffectExcelT() { public EventContentDiceRaceEffectExcelT() {
this.EventContentId = 0; this.EventContentId = 0;
this.EventContentDiceRaceResultType_ = SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1; this.EventContentDiceRaceResultType = SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1;
this.IsDiceResult = false; this.IsDiceResult = false;
this.AniClip = null; this.AniClip = null;
this.VoiceId = null; this.VoiceId = null;
@ -125,7 +125,7 @@ static public class EventContentDiceRaceEffectExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*EventContentDiceRaceResultType_*/, 4 /*SCHALE.Common.FlatData.EventContentDiceRaceResultType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*EventContentDiceRaceResultType*/, 4 /*SCHALE.Common.FlatData.EventContentDiceRaceResultType*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*IsDiceResult*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 8 /*IsDiceResult*/, 1 /*bool*/, 1, false)
&& verifier.VerifyString(tablePos, 10 /*AniClip*/, false) && verifier.VerifyString(tablePos, 10 /*AniClip*/, false)
&& verifier.VerifyVectorOfData(tablePos, 12 /*VoiceId*/, 4 /*uint*/, false) && verifier.VerifyVectorOfData(tablePos, 12 /*VoiceId*/, 4 /*uint*/, false)

View File

@ -22,7 +22,7 @@ public struct EventContentDiceRaceNodeExcel : IFlatbufferObject
public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long NodeId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long NodeId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.EventContentDiceRaceNodeType EventContentDiceRaceNodeType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.EventContentDiceRaceNodeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentDiceRaceNodeType.StartNode; } } public SCHALE.Common.FlatData.EventContentDiceRaceNodeType EventContentDiceRaceNodeType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.EventContentDiceRaceNodeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentDiceRaceNodeType.StartNode; } }
public int MoveForwardTypeArg { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int MoveForwardTypeArg { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public SCHALE.Common.FlatData.ParcelType RewardParcelType(int j) { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.ParcelType)0; } public SCHALE.Common.FlatData.ParcelType RewardParcelType(int j) { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.ParcelType)0; }
public int RewardParcelTypeLength { get { int o = __p.__offset(12); return o != 0 ? __p.__vector_len(o) : 0; } } public int RewardParcelTypeLength { get { int o = __p.__offset(12); return o != 0 ? __p.__vector_len(o) : 0; } }
@ -52,7 +52,7 @@ public struct EventContentDiceRaceNodeExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.EventContentDiceRaceNodeExcel> CreateEventContentDiceRaceNodeExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.EventContentDiceRaceNodeExcel> CreateEventContentDiceRaceNodeExcel(FlatBufferBuilder builder,
long EventContentId = 0, long EventContentId = 0,
long NodeId = 0, long NodeId = 0,
SCHALE.Common.FlatData.EventContentDiceRaceNodeType EventContentDiceRaceNodeType_ = SCHALE.Common.FlatData.EventContentDiceRaceNodeType.StartNode, SCHALE.Common.FlatData.EventContentDiceRaceNodeType EventContentDiceRaceNodeType = SCHALE.Common.FlatData.EventContentDiceRaceNodeType.StartNode,
int MoveForwardTypeArg = 0, int MoveForwardTypeArg = 0,
VectorOffset RewardParcelTypeOffset = default(VectorOffset), VectorOffset RewardParcelTypeOffset = default(VectorOffset),
VectorOffset RewardParcelIdOffset = default(VectorOffset), VectorOffset RewardParcelIdOffset = default(VectorOffset),
@ -64,14 +64,14 @@ public struct EventContentDiceRaceNodeExcel : IFlatbufferObject
EventContentDiceRaceNodeExcel.AddRewardParcelId(builder, RewardParcelIdOffset); EventContentDiceRaceNodeExcel.AddRewardParcelId(builder, RewardParcelIdOffset);
EventContentDiceRaceNodeExcel.AddRewardParcelType(builder, RewardParcelTypeOffset); EventContentDiceRaceNodeExcel.AddRewardParcelType(builder, RewardParcelTypeOffset);
EventContentDiceRaceNodeExcel.AddMoveForwardTypeArg(builder, MoveForwardTypeArg); EventContentDiceRaceNodeExcel.AddMoveForwardTypeArg(builder, MoveForwardTypeArg);
EventContentDiceRaceNodeExcel.AddEventContentDiceRaceNodeType_(builder, EventContentDiceRaceNodeType_); EventContentDiceRaceNodeExcel.AddEventContentDiceRaceNodeType(builder, EventContentDiceRaceNodeType);
return EventContentDiceRaceNodeExcel.EndEventContentDiceRaceNodeExcel(builder); return EventContentDiceRaceNodeExcel.EndEventContentDiceRaceNodeExcel(builder);
} }
public static void StartEventContentDiceRaceNodeExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void StartEventContentDiceRaceNodeExcel(FlatBufferBuilder builder) { builder.StartTable(7); }
public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); }
public static void AddNodeId(FlatBufferBuilder builder, long nodeId) { builder.AddLong(1, nodeId, 0); } public static void AddNodeId(FlatBufferBuilder builder, long nodeId) { builder.AddLong(1, nodeId, 0); }
public static void AddEventContentDiceRaceNodeType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentDiceRaceNodeType eventContentDiceRaceNodeType_) { builder.AddInt(2, (int)eventContentDiceRaceNodeType_, 0); } public static void AddEventContentDiceRaceNodeType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentDiceRaceNodeType eventContentDiceRaceNodeType) { builder.AddInt(2, (int)eventContentDiceRaceNodeType, 0); }
public static void AddMoveForwardTypeArg(FlatBufferBuilder builder, int moveForwardTypeArg) { builder.AddInt(3, moveForwardTypeArg, 0); } public static void AddMoveForwardTypeArg(FlatBufferBuilder builder, int moveForwardTypeArg) { builder.AddInt(3, moveForwardTypeArg, 0); }
public static void AddRewardParcelType(FlatBufferBuilder builder, VectorOffset rewardParcelTypeOffset) { builder.AddOffset(4, rewardParcelTypeOffset.Value, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, VectorOffset rewardParcelTypeOffset) { builder.AddOffset(4, rewardParcelTypeOffset.Value, 0); }
public static VectorOffset CreateRewardParcelTypeVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType[] 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 CreateRewardParcelTypeVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt((int)data[i]); return builder.EndVector(); }
@ -104,7 +104,7 @@ public struct EventContentDiceRaceNodeExcel : IFlatbufferObject
byte[] key = TableEncryptionService.CreateKey("EventContentDiceRaceNode"); byte[] key = TableEncryptionService.CreateKey("EventContentDiceRaceNode");
_o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key);
_o.NodeId = TableEncryptionService.Convert(this.NodeId, key); _o.NodeId = TableEncryptionService.Convert(this.NodeId, key);
_o.EventContentDiceRaceNodeType_ = TableEncryptionService.Convert(this.EventContentDiceRaceNodeType_, key); _o.EventContentDiceRaceNodeType = TableEncryptionService.Convert(this.EventContentDiceRaceNodeType, key);
_o.MoveForwardTypeArg = TableEncryptionService.Convert(this.MoveForwardTypeArg, key); _o.MoveForwardTypeArg = TableEncryptionService.Convert(this.MoveForwardTypeArg, key);
_o.RewardParcelType = new List<SCHALE.Common.FlatData.ParcelType>(); _o.RewardParcelType = new List<SCHALE.Common.FlatData.ParcelType>();
for (var _j = 0; _j < this.RewardParcelTypeLength; ++_j) {_o.RewardParcelType.Add(TableEncryptionService.Convert(this.RewardParcelType(_j), key));} for (var _j = 0; _j < this.RewardParcelTypeLength; ++_j) {_o.RewardParcelType.Add(TableEncryptionService.Convert(this.RewardParcelType(_j), key));}
@ -134,7 +134,7 @@ public struct EventContentDiceRaceNodeExcel : IFlatbufferObject
builder, builder,
_o.EventContentId, _o.EventContentId,
_o.NodeId, _o.NodeId,
_o.EventContentDiceRaceNodeType_, _o.EventContentDiceRaceNodeType,
_o.MoveForwardTypeArg, _o.MoveForwardTypeArg,
_RewardParcelType, _RewardParcelType,
_RewardParcelId, _RewardParcelId,
@ -146,7 +146,7 @@ public class EventContentDiceRaceNodeExcelT
{ {
public long EventContentId { get; set; } public long EventContentId { get; set; }
public long NodeId { get; set; } public long NodeId { get; set; }
public SCHALE.Common.FlatData.EventContentDiceRaceNodeType EventContentDiceRaceNodeType_ { get; set; } public SCHALE.Common.FlatData.EventContentDiceRaceNodeType EventContentDiceRaceNodeType { get; set; }
public int MoveForwardTypeArg { get; set; } public int MoveForwardTypeArg { get; set; }
public List<SCHALE.Common.FlatData.ParcelType> RewardParcelType { get; set; } public List<SCHALE.Common.FlatData.ParcelType> RewardParcelType { get; set; }
public List<long> RewardParcelId { get; set; } public List<long> RewardParcelId { get; set; }
@ -155,7 +155,7 @@ public class EventContentDiceRaceNodeExcelT
public EventContentDiceRaceNodeExcelT() { public EventContentDiceRaceNodeExcelT() {
this.EventContentId = 0; this.EventContentId = 0;
this.NodeId = 0; this.NodeId = 0;
this.EventContentDiceRaceNodeType_ = SCHALE.Common.FlatData.EventContentDiceRaceNodeType.StartNode; this.EventContentDiceRaceNodeType = SCHALE.Common.FlatData.EventContentDiceRaceNodeType.StartNode;
this.MoveForwardTypeArg = 0; this.MoveForwardTypeArg = 0;
this.RewardParcelType = null; this.RewardParcelType = null;
this.RewardParcelId = null; this.RewardParcelId = null;
@ -171,7 +171,7 @@ static public class EventContentDiceRaceNodeExcelVerify
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*NodeId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*NodeId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 8 /*EventContentDiceRaceNodeType_*/, 4 /*SCHALE.Common.FlatData.EventContentDiceRaceNodeType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*EventContentDiceRaceNodeType*/, 4 /*SCHALE.Common.FlatData.EventContentDiceRaceNodeType*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*MoveForwardTypeArg*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 10 /*MoveForwardTypeArg*/, 4 /*int*/, 4, false)
&& verifier.VerifyVectorOfData(tablePos, 12 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false) && verifier.VerifyVectorOfData(tablePos, 12 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false)
&& verifier.VerifyVectorOfData(tablePos, 14 /*RewardParcelId*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 14 /*RewardParcelId*/, 8 /*long*/, false)

View File

@ -21,7 +21,7 @@ public struct EventContentDiceRaceProbExcel : IFlatbufferObject
public EventContentDiceRaceProbExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public EventContentDiceRaceProbExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentDiceRaceResultType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1; } } public SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentDiceRaceResultType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1; } }
public long CostItemId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long CostItemId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public int CostItemAmount { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int CostItemAmount { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public int DiceResult { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int DiceResult { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
@ -29,7 +29,7 @@ public struct EventContentDiceRaceProbExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.EventContentDiceRaceProbExcel> CreateEventContentDiceRaceProbExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.EventContentDiceRaceProbExcel> CreateEventContentDiceRaceProbExcel(FlatBufferBuilder builder,
long EventContentId = 0, long EventContentId = 0,
SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType_ = SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1, SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType = SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1,
long CostItemId = 0, long CostItemId = 0,
int CostItemAmount = 0, int CostItemAmount = 0,
int DiceResult = 0, int DiceResult = 0,
@ -40,13 +40,13 @@ public struct EventContentDiceRaceProbExcel : IFlatbufferObject
EventContentDiceRaceProbExcel.AddProb(builder, Prob); EventContentDiceRaceProbExcel.AddProb(builder, Prob);
EventContentDiceRaceProbExcel.AddDiceResult(builder, DiceResult); EventContentDiceRaceProbExcel.AddDiceResult(builder, DiceResult);
EventContentDiceRaceProbExcel.AddCostItemAmount(builder, CostItemAmount); EventContentDiceRaceProbExcel.AddCostItemAmount(builder, CostItemAmount);
EventContentDiceRaceProbExcel.AddEventContentDiceRaceResultType_(builder, EventContentDiceRaceResultType_); EventContentDiceRaceProbExcel.AddEventContentDiceRaceResultType(builder, EventContentDiceRaceResultType);
return EventContentDiceRaceProbExcel.EndEventContentDiceRaceProbExcel(builder); return EventContentDiceRaceProbExcel.EndEventContentDiceRaceProbExcel(builder);
} }
public static void StartEventContentDiceRaceProbExcel(FlatBufferBuilder builder) { builder.StartTable(6); } public static void StartEventContentDiceRaceProbExcel(FlatBufferBuilder builder) { builder.StartTable(6); }
public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); }
public static void AddEventContentDiceRaceResultType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentDiceRaceResultType eventContentDiceRaceResultType_) { builder.AddInt(1, (int)eventContentDiceRaceResultType_, 0); } public static void AddEventContentDiceRaceResultType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentDiceRaceResultType eventContentDiceRaceResultType) { builder.AddInt(1, (int)eventContentDiceRaceResultType, 0); }
public static void AddCostItemId(FlatBufferBuilder builder, long costItemId) { builder.AddLong(2, costItemId, 0); } public static void AddCostItemId(FlatBufferBuilder builder, long costItemId) { builder.AddLong(2, costItemId, 0); }
public static void AddCostItemAmount(FlatBufferBuilder builder, int costItemAmount) { builder.AddInt(3, costItemAmount, 0); } public static void AddCostItemAmount(FlatBufferBuilder builder, int costItemAmount) { builder.AddInt(3, costItemAmount, 0); }
public static void AddDiceResult(FlatBufferBuilder builder, int diceResult) { builder.AddInt(4, diceResult, 0); } public static void AddDiceResult(FlatBufferBuilder builder, int diceResult) { builder.AddInt(4, diceResult, 0); }
@ -63,7 +63,7 @@ public struct EventContentDiceRaceProbExcel : IFlatbufferObject
public void UnPackTo(EventContentDiceRaceProbExcelT _o) { public void UnPackTo(EventContentDiceRaceProbExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("EventContentDiceRaceProb"); byte[] key = TableEncryptionService.CreateKey("EventContentDiceRaceProb");
_o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key);
_o.EventContentDiceRaceResultType_ = TableEncryptionService.Convert(this.EventContentDiceRaceResultType_, key); _o.EventContentDiceRaceResultType = TableEncryptionService.Convert(this.EventContentDiceRaceResultType, key);
_o.CostItemId = TableEncryptionService.Convert(this.CostItemId, key); _o.CostItemId = TableEncryptionService.Convert(this.CostItemId, key);
_o.CostItemAmount = TableEncryptionService.Convert(this.CostItemAmount, key); _o.CostItemAmount = TableEncryptionService.Convert(this.CostItemAmount, key);
_o.DiceResult = TableEncryptionService.Convert(this.DiceResult, key); _o.DiceResult = TableEncryptionService.Convert(this.DiceResult, key);
@ -74,7 +74,7 @@ public struct EventContentDiceRaceProbExcel : IFlatbufferObject
return CreateEventContentDiceRaceProbExcel( return CreateEventContentDiceRaceProbExcel(
builder, builder,
_o.EventContentId, _o.EventContentId,
_o.EventContentDiceRaceResultType_, _o.EventContentDiceRaceResultType,
_o.CostItemId, _o.CostItemId,
_o.CostItemAmount, _o.CostItemAmount,
_o.DiceResult, _o.DiceResult,
@ -85,7 +85,7 @@ public struct EventContentDiceRaceProbExcel : IFlatbufferObject
public class EventContentDiceRaceProbExcelT public class EventContentDiceRaceProbExcelT
{ {
public long EventContentId { get; set; } public long EventContentId { get; set; }
public SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType_ { get; set; } public SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType { get; set; }
public long CostItemId { get; set; } public long CostItemId { get; set; }
public int CostItemAmount { get; set; } public int CostItemAmount { get; set; }
public int DiceResult { get; set; } public int DiceResult { get; set; }
@ -93,7 +93,7 @@ public class EventContentDiceRaceProbExcelT
public EventContentDiceRaceProbExcelT() { public EventContentDiceRaceProbExcelT() {
this.EventContentId = 0; this.EventContentId = 0;
this.EventContentDiceRaceResultType_ = SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1; this.EventContentDiceRaceResultType = SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1;
this.CostItemId = 0; this.CostItemId = 0;
this.CostItemAmount = 0; this.CostItemAmount = 0;
this.DiceResult = 0; this.DiceResult = 0;
@ -108,7 +108,7 @@ static public class EventContentDiceRaceProbExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*EventContentDiceRaceResultType_*/, 4 /*SCHALE.Common.FlatData.EventContentDiceRaceResultType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*EventContentDiceRaceResultType*/, 4 /*SCHALE.Common.FlatData.EventContentDiceRaceResultType*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*CostItemId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*CostItemId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 10 /*CostItemAmount*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 10 /*CostItemAmount*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 12 /*DiceResult*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 12 /*DiceResult*/, 4 /*int*/, 4, false)

View File

@ -21,7 +21,7 @@ public struct EventContentLobbyMenuExcel : IFlatbufferObject
public EventContentLobbyMenuExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public EventContentLobbyMenuExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.EventContentType EventContentType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentType.Stage; } } public SCHALE.Common.FlatData.EventContentType EventContentType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentType.Stage; } }
public string IconSpriteName { get { int o = __p.__offset(8); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string IconSpriteName { get { int o = __p.__offset(8); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
public Span<byte> GetIconSpriteNameBytes() { return __p.__vector_as_span<byte>(8, 1); } public Span<byte> GetIconSpriteNameBytes() { return __p.__vector_as_span<byte>(8, 1); }
@ -49,7 +49,7 @@ public struct EventContentLobbyMenuExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.EventContentLobbyMenuExcel> CreateEventContentLobbyMenuExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.EventContentLobbyMenuExcel> CreateEventContentLobbyMenuExcel(FlatBufferBuilder builder,
long EventContentId = 0, long EventContentId = 0,
SCHALE.Common.FlatData.EventContentType EventContentType_ = SCHALE.Common.FlatData.EventContentType.Stage, SCHALE.Common.FlatData.EventContentType EventContentType = SCHALE.Common.FlatData.EventContentType.Stage,
StringOffset IconSpriteNameOffset = default(StringOffset), StringOffset IconSpriteNameOffset = default(StringOffset),
StringOffset ButtonTextOffset = default(StringOffset), StringOffset ButtonTextOffset = default(StringOffset),
int DisplayOrder = 0, int DisplayOrder = 0,
@ -64,13 +64,13 @@ public struct EventContentLobbyMenuExcel : IFlatbufferObject
EventContentLobbyMenuExcel.AddDisplayOrder(builder, DisplayOrder); EventContentLobbyMenuExcel.AddDisplayOrder(builder, DisplayOrder);
EventContentLobbyMenuExcel.AddButtonText(builder, ButtonTextOffset); EventContentLobbyMenuExcel.AddButtonText(builder, ButtonTextOffset);
EventContentLobbyMenuExcel.AddIconSpriteName(builder, IconSpriteNameOffset); EventContentLobbyMenuExcel.AddIconSpriteName(builder, IconSpriteNameOffset);
EventContentLobbyMenuExcel.AddEventContentType_(builder, EventContentType_); EventContentLobbyMenuExcel.AddEventContentType(builder, EventContentType);
return EventContentLobbyMenuExcel.EndEventContentLobbyMenuExcel(builder); return EventContentLobbyMenuExcel.EndEventContentLobbyMenuExcel(builder);
} }
public static void StartEventContentLobbyMenuExcel(FlatBufferBuilder builder) { builder.StartTable(8); } public static void StartEventContentLobbyMenuExcel(FlatBufferBuilder builder) { builder.StartTable(8); }
public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); }
public static void AddEventContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentType eventContentType_) { builder.AddInt(1, (int)eventContentType_, 0); } public static void AddEventContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentType eventContentType) { builder.AddInt(1, (int)eventContentType, 0); }
public static void AddIconSpriteName(FlatBufferBuilder builder, StringOffset iconSpriteNameOffset) { builder.AddOffset(2, iconSpriteNameOffset.Value, 0); } public static void AddIconSpriteName(FlatBufferBuilder builder, StringOffset iconSpriteNameOffset) { builder.AddOffset(2, iconSpriteNameOffset.Value, 0); }
public static void AddButtonText(FlatBufferBuilder builder, StringOffset buttonTextOffset) { builder.AddOffset(3, buttonTextOffset.Value, 0); } public static void AddButtonText(FlatBufferBuilder builder, StringOffset buttonTextOffset) { builder.AddOffset(3, buttonTextOffset.Value, 0); }
public static void AddDisplayOrder(FlatBufferBuilder builder, int displayOrder) { builder.AddInt(4, displayOrder, 0); } public static void AddDisplayOrder(FlatBufferBuilder builder, int displayOrder) { builder.AddInt(4, displayOrder, 0); }
@ -89,7 +89,7 @@ public struct EventContentLobbyMenuExcel : IFlatbufferObject
public void UnPackTo(EventContentLobbyMenuExcelT _o) { public void UnPackTo(EventContentLobbyMenuExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("EventContentLobbyMenu"); byte[] key = TableEncryptionService.CreateKey("EventContentLobbyMenu");
_o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key);
_o.EventContentType_ = TableEncryptionService.Convert(this.EventContentType_, key); _o.EventContentType = TableEncryptionService.Convert(this.EventContentType, key);
_o.IconSpriteName = TableEncryptionService.Convert(this.IconSpriteName, key); _o.IconSpriteName = TableEncryptionService.Convert(this.IconSpriteName, key);
_o.ButtonText = TableEncryptionService.Convert(this.ButtonText, key); _o.ButtonText = TableEncryptionService.Convert(this.ButtonText, key);
_o.DisplayOrder = TableEncryptionService.Convert(this.DisplayOrder, key); _o.DisplayOrder = TableEncryptionService.Convert(this.DisplayOrder, key);
@ -105,7 +105,7 @@ public struct EventContentLobbyMenuExcel : IFlatbufferObject
return CreateEventContentLobbyMenuExcel( return CreateEventContentLobbyMenuExcel(
builder, builder,
_o.EventContentId, _o.EventContentId,
_o.EventContentType_, _o.EventContentType,
_IconSpriteName, _IconSpriteName,
_ButtonText, _ButtonText,
_o.DisplayOrder, _o.DisplayOrder,
@ -118,7 +118,7 @@ public struct EventContentLobbyMenuExcel : IFlatbufferObject
public class EventContentLobbyMenuExcelT public class EventContentLobbyMenuExcelT
{ {
public long EventContentId { get; set; } public long EventContentId { get; set; }
public SCHALE.Common.FlatData.EventContentType EventContentType_ { get; set; } public SCHALE.Common.FlatData.EventContentType EventContentType { get; set; }
public string IconSpriteName { get; set; } public string IconSpriteName { get; set; }
public string ButtonText { get; set; } public string ButtonText { get; set; }
public int DisplayOrder { get; set; } public int DisplayOrder { get; set; }
@ -128,7 +128,7 @@ public class EventContentLobbyMenuExcelT
public EventContentLobbyMenuExcelT() { public EventContentLobbyMenuExcelT() {
this.EventContentId = 0; this.EventContentId = 0;
this.EventContentType_ = SCHALE.Common.FlatData.EventContentType.Stage; this.EventContentType = SCHALE.Common.FlatData.EventContentType.Stage;
this.IconSpriteName = null; this.IconSpriteName = null;
this.ButtonText = null; this.ButtonText = null;
this.DisplayOrder = 0; this.DisplayOrder = 0;
@ -145,7 +145,7 @@ static public class EventContentLobbyMenuExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*EventContentType_*/, 4 /*SCHALE.Common.FlatData.EventContentType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*EventContentType*/, 4 /*SCHALE.Common.FlatData.EventContentType*/, 4, false)
&& verifier.VerifyString(tablePos, 8 /*IconSpriteName*/, false) && verifier.VerifyString(tablePos, 8 /*IconSpriteName*/, false)
&& verifier.VerifyString(tablePos, 10 /*ButtonText*/, false) && verifier.VerifyString(tablePos, 10 /*ButtonText*/, false)
&& verifier.VerifyField(tablePos, 12 /*DisplayOrder*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 12 /*DisplayOrder*/, 4 /*int*/, 4, false)

View File

@ -29,8 +29,8 @@ public struct EventContentNotifyExcel : IFlatbufferObject
public ArraySegment<byte>? GetIconPathBytes() { return __p.__vector_as_arraysegment(8); } public ArraySegment<byte>? GetIconPathBytes() { return __p.__vector_as_arraysegment(8); }
#endif #endif
public byte[] GetIconPathArray() { return __p.__vector_as_array<byte>(8); } public byte[] GetIconPathArray() { return __p.__vector_as_array<byte>(8); }
public SCHALE.Common.FlatData.EventNotifyType EventNotifyType_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.EventNotifyType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventNotifyType.RewardIncreaseEvent; } } public SCHALE.Common.FlatData.EventNotifyType EventNotifyType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.EventNotifyType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventNotifyType.RewardIncreaseEvent; } }
public SCHALE.Common.FlatData.EventTargetType EventTargetType_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.EventTargetType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventTargetType.WeekDungeon; } } public SCHALE.Common.FlatData.EventTargetType EventTargetType { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.EventTargetType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventTargetType.WeekDungeon; } }
public SCHALE.Common.FlatData.EventTargetType ShortcutEventTargetType { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.EventTargetType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventTargetType.WeekDungeon; } } public SCHALE.Common.FlatData.EventTargetType ShortcutEventTargetType { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.EventTargetType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventTargetType.WeekDungeon; } }
public bool IsShortcutEnable { get { int o = __p.__offset(16); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool IsShortcutEnable { get { int o = __p.__offset(16); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
@ -38,14 +38,14 @@ public struct EventContentNotifyExcel : IFlatbufferObject
int Id = 0, int Id = 0,
uint LocalizeEtcId = 0, uint LocalizeEtcId = 0,
StringOffset IconPathOffset = default(StringOffset), StringOffset IconPathOffset = default(StringOffset),
SCHALE.Common.FlatData.EventNotifyType EventNotifyType_ = SCHALE.Common.FlatData.EventNotifyType.RewardIncreaseEvent, SCHALE.Common.FlatData.EventNotifyType EventNotifyType = SCHALE.Common.FlatData.EventNotifyType.RewardIncreaseEvent,
SCHALE.Common.FlatData.EventTargetType EventTargetType_ = SCHALE.Common.FlatData.EventTargetType.WeekDungeon, SCHALE.Common.FlatData.EventTargetType EventTargetType = SCHALE.Common.FlatData.EventTargetType.WeekDungeon,
SCHALE.Common.FlatData.EventTargetType ShortcutEventTargetType = SCHALE.Common.FlatData.EventTargetType.WeekDungeon, SCHALE.Common.FlatData.EventTargetType ShortcutEventTargetType = SCHALE.Common.FlatData.EventTargetType.WeekDungeon,
bool IsShortcutEnable = false) { bool IsShortcutEnable = false) {
builder.StartTable(7); builder.StartTable(7);
EventContentNotifyExcel.AddShortcutEventTargetType(builder, ShortcutEventTargetType); EventContentNotifyExcel.AddShortcutEventTargetType(builder, ShortcutEventTargetType);
EventContentNotifyExcel.AddEventTargetType_(builder, EventTargetType_); EventContentNotifyExcel.AddEventTargetType(builder, EventTargetType);
EventContentNotifyExcel.AddEventNotifyType_(builder, EventNotifyType_); EventContentNotifyExcel.AddEventNotifyType(builder, EventNotifyType);
EventContentNotifyExcel.AddIconPath(builder, IconPathOffset); EventContentNotifyExcel.AddIconPath(builder, IconPathOffset);
EventContentNotifyExcel.AddLocalizeEtcId(builder, LocalizeEtcId); EventContentNotifyExcel.AddLocalizeEtcId(builder, LocalizeEtcId);
EventContentNotifyExcel.AddId(builder, Id); EventContentNotifyExcel.AddId(builder, Id);
@ -57,8 +57,8 @@ public struct EventContentNotifyExcel : IFlatbufferObject
public static void AddId(FlatBufferBuilder builder, int id) { builder.AddInt(0, id, 0); } public static void AddId(FlatBufferBuilder builder, int id) { builder.AddInt(0, id, 0); }
public static void AddLocalizeEtcId(FlatBufferBuilder builder, uint localizeEtcId) { builder.AddUint(1, localizeEtcId, 0); } public static void AddLocalizeEtcId(FlatBufferBuilder builder, uint localizeEtcId) { builder.AddUint(1, localizeEtcId, 0); }
public static void AddIconPath(FlatBufferBuilder builder, StringOffset iconPathOffset) { builder.AddOffset(2, iconPathOffset.Value, 0); } public static void AddIconPath(FlatBufferBuilder builder, StringOffset iconPathOffset) { builder.AddOffset(2, iconPathOffset.Value, 0); }
public static void AddEventNotifyType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventNotifyType eventNotifyType_) { builder.AddInt(3, (int)eventNotifyType_, 0); } public static void AddEventNotifyType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventNotifyType eventNotifyType) { builder.AddInt(3, (int)eventNotifyType, 0); }
public static void AddEventTargetType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventTargetType eventTargetType_) { builder.AddInt(4, (int)eventTargetType_, 0); } public static void AddEventTargetType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventTargetType eventTargetType) { builder.AddInt(4, (int)eventTargetType, 0); }
public static void AddShortcutEventTargetType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventTargetType shortcutEventTargetType) { builder.AddInt(5, (int)shortcutEventTargetType, 0); } public static void AddShortcutEventTargetType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventTargetType shortcutEventTargetType) { builder.AddInt(5, (int)shortcutEventTargetType, 0); }
public static void AddIsShortcutEnable(FlatBufferBuilder builder, bool isShortcutEnable) { builder.AddBool(6, isShortcutEnable, false); } public static void AddIsShortcutEnable(FlatBufferBuilder builder, bool isShortcutEnable) { builder.AddBool(6, isShortcutEnable, false); }
public static Offset<SCHALE.Common.FlatData.EventContentNotifyExcel> EndEventContentNotifyExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.EventContentNotifyExcel> EndEventContentNotifyExcel(FlatBufferBuilder builder) {
@ -75,8 +75,8 @@ public struct EventContentNotifyExcel : IFlatbufferObject
_o.Id = TableEncryptionService.Convert(this.Id, key); _o.Id = TableEncryptionService.Convert(this.Id, key);
_o.LocalizeEtcId = TableEncryptionService.Convert(this.LocalizeEtcId, key); _o.LocalizeEtcId = TableEncryptionService.Convert(this.LocalizeEtcId, key);
_o.IconPath = TableEncryptionService.Convert(this.IconPath, key); _o.IconPath = TableEncryptionService.Convert(this.IconPath, key);
_o.EventNotifyType_ = TableEncryptionService.Convert(this.EventNotifyType_, key); _o.EventNotifyType = TableEncryptionService.Convert(this.EventNotifyType, key);
_o.EventTargetType_ = TableEncryptionService.Convert(this.EventTargetType_, key); _o.EventTargetType = TableEncryptionService.Convert(this.EventTargetType, key);
_o.ShortcutEventTargetType = TableEncryptionService.Convert(this.ShortcutEventTargetType, key); _o.ShortcutEventTargetType = TableEncryptionService.Convert(this.ShortcutEventTargetType, key);
_o.IsShortcutEnable = TableEncryptionService.Convert(this.IsShortcutEnable, key); _o.IsShortcutEnable = TableEncryptionService.Convert(this.IsShortcutEnable, key);
} }
@ -88,8 +88,8 @@ public struct EventContentNotifyExcel : IFlatbufferObject
_o.Id, _o.Id,
_o.LocalizeEtcId, _o.LocalizeEtcId,
_IconPath, _IconPath,
_o.EventNotifyType_, _o.EventNotifyType,
_o.EventTargetType_, _o.EventTargetType,
_o.ShortcutEventTargetType, _o.ShortcutEventTargetType,
_o.IsShortcutEnable); _o.IsShortcutEnable);
} }
@ -100,8 +100,8 @@ public class EventContentNotifyExcelT
public int Id { get; set; } public int Id { get; set; }
public uint LocalizeEtcId { get; set; } public uint LocalizeEtcId { get; set; }
public string IconPath { get; set; } public string IconPath { get; set; }
public SCHALE.Common.FlatData.EventNotifyType EventNotifyType_ { get; set; } public SCHALE.Common.FlatData.EventNotifyType EventNotifyType { get; set; }
public SCHALE.Common.FlatData.EventTargetType EventTargetType_ { get; set; } public SCHALE.Common.FlatData.EventTargetType EventTargetType { get; set; }
public SCHALE.Common.FlatData.EventTargetType ShortcutEventTargetType { get; set; } public SCHALE.Common.FlatData.EventTargetType ShortcutEventTargetType { get; set; }
public bool IsShortcutEnable { get; set; } public bool IsShortcutEnable { get; set; }
@ -109,8 +109,8 @@ public class EventContentNotifyExcelT
this.Id = 0; this.Id = 0;
this.LocalizeEtcId = 0; this.LocalizeEtcId = 0;
this.IconPath = null; this.IconPath = null;
this.EventNotifyType_ = SCHALE.Common.FlatData.EventNotifyType.RewardIncreaseEvent; this.EventNotifyType = SCHALE.Common.FlatData.EventNotifyType.RewardIncreaseEvent;
this.EventTargetType_ = SCHALE.Common.FlatData.EventTargetType.WeekDungeon; this.EventTargetType = SCHALE.Common.FlatData.EventTargetType.WeekDungeon;
this.ShortcutEventTargetType = SCHALE.Common.FlatData.EventTargetType.WeekDungeon; this.ShortcutEventTargetType = SCHALE.Common.FlatData.EventTargetType.WeekDungeon;
this.IsShortcutEnable = false; this.IsShortcutEnable = false;
} }
@ -125,8 +125,8 @@ static public class EventContentNotifyExcelVerify
&& verifier.VerifyField(tablePos, 4 /*Id*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 4 /*Id*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 6 /*LocalizeEtcId*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 6 /*LocalizeEtcId*/, 4 /*uint*/, 4, false)
&& verifier.VerifyString(tablePos, 8 /*IconPath*/, false) && verifier.VerifyString(tablePos, 8 /*IconPath*/, false)
&& verifier.VerifyField(tablePos, 10 /*EventNotifyType_*/, 4 /*SCHALE.Common.FlatData.EventNotifyType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*EventNotifyType*/, 4 /*SCHALE.Common.FlatData.EventNotifyType*/, 4, false)
&& verifier.VerifyField(tablePos, 12 /*EventTargetType_*/, 4 /*SCHALE.Common.FlatData.EventTargetType*/, 4, false) && verifier.VerifyField(tablePos, 12 /*EventTargetType*/, 4 /*SCHALE.Common.FlatData.EventTargetType*/, 4, false)
&& verifier.VerifyField(tablePos, 14 /*ShortcutEventTargetType*/, 4 /*SCHALE.Common.FlatData.EventTargetType*/, 4, false) && verifier.VerifyField(tablePos, 14 /*ShortcutEventTargetType*/, 4 /*SCHALE.Common.FlatData.EventTargetType*/, 4, false)
&& verifier.VerifyField(tablePos, 16 /*IsShortcutEnable*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 16 /*IsShortcutEnable*/, 1 /*bool*/, 1, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);

View File

@ -30,11 +30,11 @@ public struct EventContentSeasonExcel : IFlatbufferObject
public ArraySegment<byte>? GetNameBytes() { return __p.__vector_as_arraysegment(10); } public ArraySegment<byte>? GetNameBytes() { return __p.__vector_as_arraysegment(10); }
#endif #endif
public byte[] GetNameArray() { return __p.__vector_as_array<byte>(10); } public byte[] GetNameArray() { return __p.__vector_as_array<byte>(10); }
public SCHALE.Common.FlatData.EventContentType EventContentType_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.EventContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentType.Stage; } } public SCHALE.Common.FlatData.EventContentType EventContentType { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.EventContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentType.Stage; } }
public SCHALE.Common.FlatData.OpenConditionContent OpenConditionContent_ { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.OpenConditionContent)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.OpenConditionContent.Shop; } } public SCHALE.Common.FlatData.OpenConditionContent OpenConditionContent { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.OpenConditionContent)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.OpenConditionContent.Shop; } }
public bool EventDisplay { get { int o = __p.__offset(16); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool EventDisplay { get { int o = __p.__offset(16); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public int IconOrder { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int IconOrder { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public SCHALE.Common.FlatData.SubEventType SubEventType_ { get { int o = __p.__offset(20); return o != 0 ? (SCHALE.Common.FlatData.SubEventType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.SubEventType.None; } } public SCHALE.Common.FlatData.SubEventType SubEventType { get { int o = __p.__offset(20); return o != 0 ? (SCHALE.Common.FlatData.SubEventType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.SubEventType.None; } }
public bool SubEvent { get { int o = __p.__offset(22); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool SubEvent { get { int o = __p.__offset(22); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public long EventItemId { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventItemId { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long MainEventId { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long MainEventId { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -155,7 +155,7 @@ public struct EventContentSeasonExcel : IFlatbufferObject
#endif #endif
public byte[] GetCardBgImagePathArray() { return __p.__vector_as_array<byte>(64); } public byte[] GetCardBgImagePathArray() { return __p.__vector_as_array<byte>(64); }
public bool EventAssist { get { int o = __p.__offset(66); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool EventAssist { get { int o = __p.__offset(66); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public SCHALE.Common.FlatData.EventContentReleaseType EventContentReleaseType_ { get { int o = __p.__offset(68); return o != 0 ? (SCHALE.Common.FlatData.EventContentReleaseType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentReleaseType.None; } } public SCHALE.Common.FlatData.EventContentReleaseType EventContentReleaseType { get { int o = __p.__offset(68); return o != 0 ? (SCHALE.Common.FlatData.EventContentReleaseType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentReleaseType.None; } }
public long EventContentStageRewardIdPermanent { get { int o = __p.__offset(70); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventContentStageRewardIdPermanent { get { int o = __p.__offset(70); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.RewardTag RewardTagPermanent { get { int o = __p.__offset(72); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } public SCHALE.Common.FlatData.RewardTag RewardTagPermanent { get { int o = __p.__offset(72); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } }
public long MiniEventShortCutScenarioModeId { get { int o = __p.__offset(74); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long MiniEventShortCutScenarioModeId { get { int o = __p.__offset(74); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -166,11 +166,11 @@ public struct EventContentSeasonExcel : IFlatbufferObject
long OriginalEventContentId = 0, long OriginalEventContentId = 0,
bool IsReturn = false, bool IsReturn = false,
StringOffset NameOffset = default(StringOffset), StringOffset NameOffset = default(StringOffset),
SCHALE.Common.FlatData.EventContentType EventContentType_ = SCHALE.Common.FlatData.EventContentType.Stage, SCHALE.Common.FlatData.EventContentType EventContentType = SCHALE.Common.FlatData.EventContentType.Stage,
SCHALE.Common.FlatData.OpenConditionContent OpenConditionContent_ = SCHALE.Common.FlatData.OpenConditionContent.Shop, SCHALE.Common.FlatData.OpenConditionContent OpenConditionContent = SCHALE.Common.FlatData.OpenConditionContent.Shop,
bool EventDisplay = false, bool EventDisplay = false,
int IconOrder = 0, int IconOrder = 0,
SCHALE.Common.FlatData.SubEventType SubEventType_ = SCHALE.Common.FlatData.SubEventType.None, SCHALE.Common.FlatData.SubEventType SubEventType = SCHALE.Common.FlatData.SubEventType.None,
bool SubEvent = false, bool SubEvent = false,
long EventItemId = 0, long EventItemId = 0,
long MainEventId = 0, long MainEventId = 0,
@ -194,7 +194,7 @@ public struct EventContentSeasonExcel : IFlatbufferObject
StringOffset MinigameMissionBgImagePathOffset = default(StringOffset), StringOffset MinigameMissionBgImagePathOffset = default(StringOffset),
StringOffset CardBgImagePathOffset = default(StringOffset), StringOffset CardBgImagePathOffset = default(StringOffset),
bool EventAssist = false, bool EventAssist = false,
SCHALE.Common.FlatData.EventContentReleaseType EventContentReleaseType_ = SCHALE.Common.FlatData.EventContentReleaseType.None, SCHALE.Common.FlatData.EventContentReleaseType EventContentReleaseType = SCHALE.Common.FlatData.EventContentReleaseType.None,
long EventContentStageRewardIdPermanent = 0, long EventContentStageRewardIdPermanent = 0,
SCHALE.Common.FlatData.RewardTag RewardTagPermanent = SCHALE.Common.FlatData.RewardTag.Default, SCHALE.Common.FlatData.RewardTag RewardTagPermanent = SCHALE.Common.FlatData.RewardTag.Default,
long MiniEventShortCutScenarioModeId = 0, long MiniEventShortCutScenarioModeId = 0,
@ -211,7 +211,7 @@ public struct EventContentSeasonExcel : IFlatbufferObject
EventContentSeasonExcel.AddOriginalEventContentId(builder, OriginalEventContentId); EventContentSeasonExcel.AddOriginalEventContentId(builder, OriginalEventContentId);
EventContentSeasonExcel.AddEventContentId(builder, EventContentId); EventContentSeasonExcel.AddEventContentId(builder, EventContentId);
EventContentSeasonExcel.AddRewardTagPermanent(builder, RewardTagPermanent); EventContentSeasonExcel.AddRewardTagPermanent(builder, RewardTagPermanent);
EventContentSeasonExcel.AddEventContentReleaseType_(builder, EventContentReleaseType_); EventContentSeasonExcel.AddEventContentReleaseType(builder, EventContentReleaseType);
EventContentSeasonExcel.AddCardBgImagePath(builder, CardBgImagePathOffset); EventContentSeasonExcel.AddCardBgImagePath(builder, CardBgImagePathOffset);
EventContentSeasonExcel.AddMinigameMissionBgImagePath(builder, MinigameMissionBgImagePathOffset); EventContentSeasonExcel.AddMinigameMissionBgImagePath(builder, MinigameMissionBgImagePathOffset);
EventContentSeasonExcel.AddMinigameMissionBgPrefabName(builder, MinigameMissionBgPrefabNameOffset); EventContentSeasonExcel.AddMinigameMissionBgPrefabName(builder, MinigameMissionBgPrefabNameOffset);
@ -228,10 +228,10 @@ public struct EventContentSeasonExcel : IFlatbufferObject
EventContentSeasonExcel.AddEventContentCloseTime(builder, EventContentCloseTimeOffset); EventContentSeasonExcel.AddEventContentCloseTime(builder, EventContentCloseTimeOffset);
EventContentSeasonExcel.AddEventContentOpenTime(builder, EventContentOpenTimeOffset); EventContentSeasonExcel.AddEventContentOpenTime(builder, EventContentOpenTimeOffset);
EventContentSeasonExcel.AddBeforehandExposedTime(builder, BeforehandExposedTimeOffset); EventContentSeasonExcel.AddBeforehandExposedTime(builder, BeforehandExposedTimeOffset);
EventContentSeasonExcel.AddSubEventType_(builder, SubEventType_); EventContentSeasonExcel.AddSubEventType(builder, SubEventType);
EventContentSeasonExcel.AddIconOrder(builder, IconOrder); EventContentSeasonExcel.AddIconOrder(builder, IconOrder);
EventContentSeasonExcel.AddOpenConditionContent_(builder, OpenConditionContent_); EventContentSeasonExcel.AddOpenConditionContent(builder, OpenConditionContent);
EventContentSeasonExcel.AddEventContentType_(builder, EventContentType_); EventContentSeasonExcel.AddEventContentType(builder, EventContentType);
EventContentSeasonExcel.AddName(builder, NameOffset); EventContentSeasonExcel.AddName(builder, NameOffset);
EventContentSeasonExcel.AddEventAssist(builder, EventAssist); EventContentSeasonExcel.AddEventAssist(builder, EventAssist);
EventContentSeasonExcel.AddSubEvent(builder, SubEvent); EventContentSeasonExcel.AddSubEvent(builder, SubEvent);
@ -245,11 +245,11 @@ public struct EventContentSeasonExcel : IFlatbufferObject
public static void AddOriginalEventContentId(FlatBufferBuilder builder, long originalEventContentId) { builder.AddLong(1, originalEventContentId, 0); } public static void AddOriginalEventContentId(FlatBufferBuilder builder, long originalEventContentId) { builder.AddLong(1, originalEventContentId, 0); }
public static void AddIsReturn(FlatBufferBuilder builder, bool isReturn) { builder.AddBool(2, isReturn, false); } public static void AddIsReturn(FlatBufferBuilder builder, bool isReturn) { builder.AddBool(2, isReturn, false); }
public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(3, nameOffset.Value, 0); } public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(3, nameOffset.Value, 0); }
public static void AddEventContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentType eventContentType_) { builder.AddInt(4, (int)eventContentType_, 0); } public static void AddEventContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentType eventContentType) { builder.AddInt(4, (int)eventContentType, 0); }
public static void AddOpenConditionContent_(FlatBufferBuilder builder, SCHALE.Common.FlatData.OpenConditionContent openConditionContent_) { builder.AddInt(5, (int)openConditionContent_, 0); } public static void AddOpenConditionContent(FlatBufferBuilder builder, SCHALE.Common.FlatData.OpenConditionContent openConditionContent) { builder.AddInt(5, (int)openConditionContent, 0); }
public static void AddEventDisplay(FlatBufferBuilder builder, bool eventDisplay) { builder.AddBool(6, eventDisplay, false); } public static void AddEventDisplay(FlatBufferBuilder builder, bool eventDisplay) { builder.AddBool(6, eventDisplay, false); }
public static void AddIconOrder(FlatBufferBuilder builder, int iconOrder) { builder.AddInt(7, iconOrder, 0); } public static void AddIconOrder(FlatBufferBuilder builder, int iconOrder) { builder.AddInt(7, iconOrder, 0); }
public static void AddSubEventType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.SubEventType subEventType_) { builder.AddInt(8, (int)subEventType_, 0); } public static void AddSubEventType(FlatBufferBuilder builder, SCHALE.Common.FlatData.SubEventType subEventType) { builder.AddInt(8, (int)subEventType, 0); }
public static void AddSubEvent(FlatBufferBuilder builder, bool subEvent) { builder.AddBool(9, subEvent, false); } public static void AddSubEvent(FlatBufferBuilder builder, bool subEvent) { builder.AddBool(9, subEvent, false); }
public static void AddEventItemId(FlatBufferBuilder builder, long eventItemId) { builder.AddLong(10, eventItemId, 0); } public static void AddEventItemId(FlatBufferBuilder builder, long eventItemId) { builder.AddLong(10, eventItemId, 0); }
public static void AddMainEventId(FlatBufferBuilder builder, long mainEventId) { builder.AddLong(11, mainEventId, 0); } public static void AddMainEventId(FlatBufferBuilder builder, long mainEventId) { builder.AddLong(11, mainEventId, 0); }
@ -278,7 +278,7 @@ public struct EventContentSeasonExcel : IFlatbufferObject
public static void AddMinigameMissionBgImagePath(FlatBufferBuilder builder, StringOffset minigameMissionBgImagePathOffset) { builder.AddOffset(29, minigameMissionBgImagePathOffset.Value, 0); } public static void AddMinigameMissionBgImagePath(FlatBufferBuilder builder, StringOffset minigameMissionBgImagePathOffset) { builder.AddOffset(29, minigameMissionBgImagePathOffset.Value, 0); }
public static void AddCardBgImagePath(FlatBufferBuilder builder, StringOffset cardBgImagePathOffset) { builder.AddOffset(30, cardBgImagePathOffset.Value, 0); } public static void AddCardBgImagePath(FlatBufferBuilder builder, StringOffset cardBgImagePathOffset) { builder.AddOffset(30, cardBgImagePathOffset.Value, 0); }
public static void AddEventAssist(FlatBufferBuilder builder, bool eventAssist) { builder.AddBool(31, eventAssist, false); } public static void AddEventAssist(FlatBufferBuilder builder, bool eventAssist) { builder.AddBool(31, eventAssist, false); }
public static void AddEventContentReleaseType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentReleaseType eventContentReleaseType_) { builder.AddInt(32, (int)eventContentReleaseType_, 0); } public static void AddEventContentReleaseType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentReleaseType eventContentReleaseType) { builder.AddInt(32, (int)eventContentReleaseType, 0); }
public static void AddEventContentStageRewardIdPermanent(FlatBufferBuilder builder, long eventContentStageRewardIdPermanent) { builder.AddLong(33, eventContentStageRewardIdPermanent, 0); } public static void AddEventContentStageRewardIdPermanent(FlatBufferBuilder builder, long eventContentStageRewardIdPermanent) { builder.AddLong(33, eventContentStageRewardIdPermanent, 0); }
public static void AddRewardTagPermanent(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTagPermanent) { builder.AddInt(34, (int)rewardTagPermanent, 0); } public static void AddRewardTagPermanent(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTagPermanent) { builder.AddInt(34, (int)rewardTagPermanent, 0); }
public static void AddMiniEventShortCutScenarioModeId(FlatBufferBuilder builder, long miniEventShortCutScenarioModeId) { builder.AddLong(35, miniEventShortCutScenarioModeId, 0); } public static void AddMiniEventShortCutScenarioModeId(FlatBufferBuilder builder, long miniEventShortCutScenarioModeId) { builder.AddLong(35, miniEventShortCutScenarioModeId, 0); }
@ -298,11 +298,11 @@ public struct EventContentSeasonExcel : IFlatbufferObject
_o.OriginalEventContentId = TableEncryptionService.Convert(this.OriginalEventContentId, key); _o.OriginalEventContentId = TableEncryptionService.Convert(this.OriginalEventContentId, key);
_o.IsReturn = TableEncryptionService.Convert(this.IsReturn, key); _o.IsReturn = TableEncryptionService.Convert(this.IsReturn, key);
_o.Name = TableEncryptionService.Convert(this.Name, key); _o.Name = TableEncryptionService.Convert(this.Name, key);
_o.EventContentType_ = TableEncryptionService.Convert(this.EventContentType_, key); _o.EventContentType = TableEncryptionService.Convert(this.EventContentType, key);
_o.OpenConditionContent_ = TableEncryptionService.Convert(this.OpenConditionContent_, key); _o.OpenConditionContent = TableEncryptionService.Convert(this.OpenConditionContent, key);
_o.EventDisplay = TableEncryptionService.Convert(this.EventDisplay, key); _o.EventDisplay = TableEncryptionService.Convert(this.EventDisplay, key);
_o.IconOrder = TableEncryptionService.Convert(this.IconOrder, key); _o.IconOrder = TableEncryptionService.Convert(this.IconOrder, key);
_o.SubEventType_ = TableEncryptionService.Convert(this.SubEventType_, key); _o.SubEventType = TableEncryptionService.Convert(this.SubEventType, key);
_o.SubEvent = TableEncryptionService.Convert(this.SubEvent, key); _o.SubEvent = TableEncryptionService.Convert(this.SubEvent, key);
_o.EventItemId = TableEncryptionService.Convert(this.EventItemId, key); _o.EventItemId = TableEncryptionService.Convert(this.EventItemId, key);
_o.MainEventId = TableEncryptionService.Convert(this.MainEventId, key); _o.MainEventId = TableEncryptionService.Convert(this.MainEventId, key);
@ -327,7 +327,7 @@ public struct EventContentSeasonExcel : IFlatbufferObject
_o.MinigameMissionBgImagePath = TableEncryptionService.Convert(this.MinigameMissionBgImagePath, key); _o.MinigameMissionBgImagePath = TableEncryptionService.Convert(this.MinigameMissionBgImagePath, key);
_o.CardBgImagePath = TableEncryptionService.Convert(this.CardBgImagePath, key); _o.CardBgImagePath = TableEncryptionService.Convert(this.CardBgImagePath, key);
_o.EventAssist = TableEncryptionService.Convert(this.EventAssist, key); _o.EventAssist = TableEncryptionService.Convert(this.EventAssist, key);
_o.EventContentReleaseType_ = TableEncryptionService.Convert(this.EventContentReleaseType_, key); _o.EventContentReleaseType = TableEncryptionService.Convert(this.EventContentReleaseType, key);
_o.EventContentStageRewardIdPermanent = TableEncryptionService.Convert(this.EventContentStageRewardIdPermanent, key); _o.EventContentStageRewardIdPermanent = TableEncryptionService.Convert(this.EventContentStageRewardIdPermanent, key);
_o.RewardTagPermanent = TableEncryptionService.Convert(this.RewardTagPermanent, key); _o.RewardTagPermanent = TableEncryptionService.Convert(this.RewardTagPermanent, key);
_o.MiniEventShortCutScenarioModeId = TableEncryptionService.Convert(this.MiniEventShortCutScenarioModeId, key); _o.MiniEventShortCutScenarioModeId = TableEncryptionService.Convert(this.MiniEventShortCutScenarioModeId, key);
@ -362,11 +362,11 @@ public struct EventContentSeasonExcel : IFlatbufferObject
_o.OriginalEventContentId, _o.OriginalEventContentId,
_o.IsReturn, _o.IsReturn,
_Name, _Name,
_o.EventContentType_, _o.EventContentType,
_o.OpenConditionContent_, _o.OpenConditionContent,
_o.EventDisplay, _o.EventDisplay,
_o.IconOrder, _o.IconOrder,
_o.SubEventType_, _o.SubEventType,
_o.SubEvent, _o.SubEvent,
_o.EventItemId, _o.EventItemId,
_o.MainEventId, _o.MainEventId,
@ -390,7 +390,7 @@ public struct EventContentSeasonExcel : IFlatbufferObject
_MinigameMissionBgImagePath, _MinigameMissionBgImagePath,
_CardBgImagePath, _CardBgImagePath,
_o.EventAssist, _o.EventAssist,
_o.EventContentReleaseType_, _o.EventContentReleaseType,
_o.EventContentStageRewardIdPermanent, _o.EventContentStageRewardIdPermanent,
_o.RewardTagPermanent, _o.RewardTagPermanent,
_o.MiniEventShortCutScenarioModeId, _o.MiniEventShortCutScenarioModeId,
@ -404,11 +404,11 @@ public class EventContentSeasonExcelT
public long OriginalEventContentId { get; set; } public long OriginalEventContentId { get; set; }
public bool IsReturn { get; set; } public bool IsReturn { get; set; }
public string Name { get; set; } public string Name { get; set; }
public SCHALE.Common.FlatData.EventContentType EventContentType_ { get; set; } public SCHALE.Common.FlatData.EventContentType EventContentType { get; set; }
public SCHALE.Common.FlatData.OpenConditionContent OpenConditionContent_ { get; set; } public SCHALE.Common.FlatData.OpenConditionContent OpenConditionContent { get; set; }
public bool EventDisplay { get; set; } public bool EventDisplay { get; set; }
public int IconOrder { get; set; } public int IconOrder { get; set; }
public SCHALE.Common.FlatData.SubEventType SubEventType_ { get; set; } public SCHALE.Common.FlatData.SubEventType SubEventType { get; set; }
public bool SubEvent { get; set; } public bool SubEvent { get; set; }
public long EventItemId { get; set; } public long EventItemId { get; set; }
public long MainEventId { get; set; } public long MainEventId { get; set; }
@ -432,7 +432,7 @@ public class EventContentSeasonExcelT
public string MinigameMissionBgImagePath { get; set; } public string MinigameMissionBgImagePath { get; set; }
public string CardBgImagePath { get; set; } public string CardBgImagePath { get; set; }
public bool EventAssist { get; set; } public bool EventAssist { get; set; }
public SCHALE.Common.FlatData.EventContentReleaseType EventContentReleaseType_ { get; set; } public SCHALE.Common.FlatData.EventContentReleaseType EventContentReleaseType { get; set; }
public long EventContentStageRewardIdPermanent { get; set; } public long EventContentStageRewardIdPermanent { get; set; }
public SCHALE.Common.FlatData.RewardTag RewardTagPermanent { get; set; } public SCHALE.Common.FlatData.RewardTag RewardTagPermanent { get; set; }
public long MiniEventShortCutScenarioModeId { get; set; } public long MiniEventShortCutScenarioModeId { get; set; }
@ -443,11 +443,11 @@ public class EventContentSeasonExcelT
this.OriginalEventContentId = 0; this.OriginalEventContentId = 0;
this.IsReturn = false; this.IsReturn = false;
this.Name = null; this.Name = null;
this.EventContentType_ = SCHALE.Common.FlatData.EventContentType.Stage; this.EventContentType = SCHALE.Common.FlatData.EventContentType.Stage;
this.OpenConditionContent_ = SCHALE.Common.FlatData.OpenConditionContent.Shop; this.OpenConditionContent = SCHALE.Common.FlatData.OpenConditionContent.Shop;
this.EventDisplay = false; this.EventDisplay = false;
this.IconOrder = 0; this.IconOrder = 0;
this.SubEventType_ = SCHALE.Common.FlatData.SubEventType.None; this.SubEventType = SCHALE.Common.FlatData.SubEventType.None;
this.SubEvent = false; this.SubEvent = false;
this.EventItemId = 0; this.EventItemId = 0;
this.MainEventId = 0; this.MainEventId = 0;
@ -471,7 +471,7 @@ public class EventContentSeasonExcelT
this.MinigameMissionBgImagePath = null; this.MinigameMissionBgImagePath = null;
this.CardBgImagePath = null; this.CardBgImagePath = null;
this.EventAssist = false; this.EventAssist = false;
this.EventContentReleaseType_ = SCHALE.Common.FlatData.EventContentReleaseType.None; this.EventContentReleaseType = SCHALE.Common.FlatData.EventContentReleaseType.None;
this.EventContentStageRewardIdPermanent = 0; this.EventContentStageRewardIdPermanent = 0;
this.RewardTagPermanent = SCHALE.Common.FlatData.RewardTag.Default; this.RewardTagPermanent = SCHALE.Common.FlatData.RewardTag.Default;
this.MiniEventShortCutScenarioModeId = 0; this.MiniEventShortCutScenarioModeId = 0;
@ -489,11 +489,11 @@ static public class EventContentSeasonExcelVerify
&& verifier.VerifyField(tablePos, 6 /*OriginalEventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*OriginalEventContentId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 8 /*IsReturn*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 8 /*IsReturn*/, 1 /*bool*/, 1, false)
&& verifier.VerifyString(tablePos, 10 /*Name*/, false) && verifier.VerifyString(tablePos, 10 /*Name*/, false)
&& verifier.VerifyField(tablePos, 12 /*EventContentType_*/, 4 /*SCHALE.Common.FlatData.EventContentType*/, 4, false) && verifier.VerifyField(tablePos, 12 /*EventContentType*/, 4 /*SCHALE.Common.FlatData.EventContentType*/, 4, false)
&& verifier.VerifyField(tablePos, 14 /*OpenConditionContent_*/, 4 /*SCHALE.Common.FlatData.OpenConditionContent*/, 4, false) && verifier.VerifyField(tablePos, 14 /*OpenConditionContent*/, 4 /*SCHALE.Common.FlatData.OpenConditionContent*/, 4, false)
&& verifier.VerifyField(tablePos, 16 /*EventDisplay*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 16 /*EventDisplay*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 18 /*IconOrder*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 18 /*IconOrder*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 20 /*SubEventType_*/, 4 /*SCHALE.Common.FlatData.SubEventType*/, 4, false) && verifier.VerifyField(tablePos, 20 /*SubEventType*/, 4 /*SCHALE.Common.FlatData.SubEventType*/, 4, false)
&& verifier.VerifyField(tablePos, 22 /*SubEvent*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 22 /*SubEvent*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 24 /*EventItemId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 24 /*EventItemId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 26 /*MainEventId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 26 /*MainEventId*/, 8 /*long*/, 8, false)
@ -517,7 +517,7 @@ static public class EventContentSeasonExcelVerify
&& verifier.VerifyString(tablePos, 62 /*MinigameMissionBgImagePath*/, false) && verifier.VerifyString(tablePos, 62 /*MinigameMissionBgImagePath*/, false)
&& verifier.VerifyString(tablePos, 64 /*CardBgImagePath*/, false) && verifier.VerifyString(tablePos, 64 /*CardBgImagePath*/, false)
&& verifier.VerifyField(tablePos, 66 /*EventAssist*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 66 /*EventAssist*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 68 /*EventContentReleaseType_*/, 4 /*SCHALE.Common.FlatData.EventContentReleaseType*/, 4, false) && verifier.VerifyField(tablePos, 68 /*EventContentReleaseType*/, 4 /*SCHALE.Common.FlatData.EventContentReleaseType*/, 4, false)
&& verifier.VerifyField(tablePos, 70 /*EventContentStageRewardIdPermanent*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 70 /*EventContentStageRewardIdPermanent*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 72 /*RewardTagPermanent*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) && verifier.VerifyField(tablePos, 72 /*RewardTagPermanent*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false)
&& verifier.VerifyField(tablePos, 74 /*MiniEventShortCutScenarioModeId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 74 /*MiniEventShortCutScenarioModeId*/, 8 /*long*/, 8, false)

View File

@ -50,7 +50,7 @@ public struct EventContentShopExcel : IFlatbufferObject
public byte[] GetSalePeriodToArray() { return __p.__vector_as_array<byte>(20); } public byte[] GetSalePeriodToArray() { return __p.__vector_as_array<byte>(20); }
public long PurchaseCooltimeMin { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long PurchaseCooltimeMin { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long PurchaseCountLimit { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long PurchaseCountLimit { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType_ { get { int o = __p.__offset(26); return o != 0 ? (SCHALE.Common.FlatData.PurchaseCountResetType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.PurchaseCountResetType.None; } } public SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType { get { int o = __p.__offset(26); return o != 0 ? (SCHALE.Common.FlatData.PurchaseCountResetType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.PurchaseCountResetType.None; } }
public string BuyReportEventName { get { int o = __p.__offset(28); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string BuyReportEventName { get { int o = __p.__offset(28); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
public Span<byte> GetBuyReportEventNameBytes() { return __p.__vector_as_span<byte>(28, 1); } public Span<byte> GetBuyReportEventNameBytes() { return __p.__vector_as_span<byte>(28, 1); }
@ -72,7 +72,7 @@ public struct EventContentShopExcel : IFlatbufferObject
StringOffset SalePeriodToOffset = default(StringOffset), StringOffset SalePeriodToOffset = default(StringOffset),
long PurchaseCooltimeMin = 0, long PurchaseCooltimeMin = 0,
long PurchaseCountLimit = 0, long PurchaseCountLimit = 0,
SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType_ = SCHALE.Common.FlatData.PurchaseCountResetType.None, SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType = SCHALE.Common.FlatData.PurchaseCountResetType.None,
StringOffset BuyReportEventNameOffset = default(StringOffset), StringOffset BuyReportEventNameOffset = default(StringOffset),
bool RestrictBuyWhenInventoryFull = false) { bool RestrictBuyWhenInventoryFull = false) {
builder.StartTable(14); builder.StartTable(14);
@ -82,7 +82,7 @@ public struct EventContentShopExcel : IFlatbufferObject
EventContentShopExcel.AddId(builder, Id); EventContentShopExcel.AddId(builder, Id);
EventContentShopExcel.AddEventContentId(builder, EventContentId); EventContentShopExcel.AddEventContentId(builder, EventContentId);
EventContentShopExcel.AddBuyReportEventName(builder, BuyReportEventNameOffset); EventContentShopExcel.AddBuyReportEventName(builder, BuyReportEventNameOffset);
EventContentShopExcel.AddPurchaseCountResetType_(builder, PurchaseCountResetType_); EventContentShopExcel.AddPurchaseCountResetType(builder, PurchaseCountResetType);
EventContentShopExcel.AddSalePeriodTo(builder, SalePeriodToOffset); EventContentShopExcel.AddSalePeriodTo(builder, SalePeriodToOffset);
EventContentShopExcel.AddSalePeriodFrom(builder, SalePeriodFromOffset); EventContentShopExcel.AddSalePeriodFrom(builder, SalePeriodFromOffset);
EventContentShopExcel.AddGoodsId(builder, GoodsIdOffset); EventContentShopExcel.AddGoodsId(builder, GoodsIdOffset);
@ -110,7 +110,7 @@ public struct EventContentShopExcel : IFlatbufferObject
public static void AddSalePeriodTo(FlatBufferBuilder builder, StringOffset salePeriodToOffset) { builder.AddOffset(8, salePeriodToOffset.Value, 0); } public static void AddSalePeriodTo(FlatBufferBuilder builder, StringOffset salePeriodToOffset) { builder.AddOffset(8, salePeriodToOffset.Value, 0); }
public static void AddPurchaseCooltimeMin(FlatBufferBuilder builder, long purchaseCooltimeMin) { builder.AddLong(9, purchaseCooltimeMin, 0); } public static void AddPurchaseCooltimeMin(FlatBufferBuilder builder, long purchaseCooltimeMin) { builder.AddLong(9, purchaseCooltimeMin, 0); }
public static void AddPurchaseCountLimit(FlatBufferBuilder builder, long purchaseCountLimit) { builder.AddLong(10, purchaseCountLimit, 0); } public static void AddPurchaseCountLimit(FlatBufferBuilder builder, long purchaseCountLimit) { builder.AddLong(10, purchaseCountLimit, 0); }
public static void AddPurchaseCountResetType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.PurchaseCountResetType purchaseCountResetType_) { builder.AddInt(11, (int)purchaseCountResetType_, 0); } public static void AddPurchaseCountResetType(FlatBufferBuilder builder, SCHALE.Common.FlatData.PurchaseCountResetType purchaseCountResetType) { builder.AddInt(11, (int)purchaseCountResetType, 0); }
public static void AddBuyReportEventName(FlatBufferBuilder builder, StringOffset buyReportEventNameOffset) { builder.AddOffset(12, buyReportEventNameOffset.Value, 0); } public static void AddBuyReportEventName(FlatBufferBuilder builder, StringOffset buyReportEventNameOffset) { builder.AddOffset(12, buyReportEventNameOffset.Value, 0); }
public static void AddRestrictBuyWhenInventoryFull(FlatBufferBuilder builder, bool restrictBuyWhenInventoryFull) { builder.AddBool(13, restrictBuyWhenInventoryFull, false); } public static void AddRestrictBuyWhenInventoryFull(FlatBufferBuilder builder, bool restrictBuyWhenInventoryFull) { builder.AddBool(13, restrictBuyWhenInventoryFull, false); }
public static Offset<SCHALE.Common.FlatData.EventContentShopExcel> EndEventContentShopExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.EventContentShopExcel> EndEventContentShopExcel(FlatBufferBuilder builder) {
@ -136,7 +136,7 @@ public struct EventContentShopExcel : IFlatbufferObject
_o.SalePeriodTo = TableEncryptionService.Convert(this.SalePeriodTo, key); _o.SalePeriodTo = TableEncryptionService.Convert(this.SalePeriodTo, key);
_o.PurchaseCooltimeMin = TableEncryptionService.Convert(this.PurchaseCooltimeMin, key); _o.PurchaseCooltimeMin = TableEncryptionService.Convert(this.PurchaseCooltimeMin, key);
_o.PurchaseCountLimit = TableEncryptionService.Convert(this.PurchaseCountLimit, key); _o.PurchaseCountLimit = TableEncryptionService.Convert(this.PurchaseCountLimit, key);
_o.PurchaseCountResetType_ = TableEncryptionService.Convert(this.PurchaseCountResetType_, key); _o.PurchaseCountResetType = TableEncryptionService.Convert(this.PurchaseCountResetType, key);
_o.BuyReportEventName = TableEncryptionService.Convert(this.BuyReportEventName, key); _o.BuyReportEventName = TableEncryptionService.Convert(this.BuyReportEventName, key);
_o.RestrictBuyWhenInventoryFull = TableEncryptionService.Convert(this.RestrictBuyWhenInventoryFull, key); _o.RestrictBuyWhenInventoryFull = TableEncryptionService.Convert(this.RestrictBuyWhenInventoryFull, key);
} }
@ -163,7 +163,7 @@ public struct EventContentShopExcel : IFlatbufferObject
_SalePeriodTo, _SalePeriodTo,
_o.PurchaseCooltimeMin, _o.PurchaseCooltimeMin,
_o.PurchaseCountLimit, _o.PurchaseCountLimit,
_o.PurchaseCountResetType_, _o.PurchaseCountResetType,
_BuyReportEventName, _BuyReportEventName,
_o.RestrictBuyWhenInventoryFull); _o.RestrictBuyWhenInventoryFull);
} }
@ -182,7 +182,7 @@ public class EventContentShopExcelT
public string SalePeriodTo { get; set; } public string SalePeriodTo { get; set; }
public long PurchaseCooltimeMin { get; set; } public long PurchaseCooltimeMin { get; set; }
public long PurchaseCountLimit { get; set; } public long PurchaseCountLimit { get; set; }
public SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType_ { get; set; } public SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType { get; set; }
public string BuyReportEventName { get; set; } public string BuyReportEventName { get; set; }
public bool RestrictBuyWhenInventoryFull { get; set; } public bool RestrictBuyWhenInventoryFull { get; set; }
@ -198,7 +198,7 @@ public class EventContentShopExcelT
this.SalePeriodTo = null; this.SalePeriodTo = null;
this.PurchaseCooltimeMin = 0; this.PurchaseCooltimeMin = 0;
this.PurchaseCountLimit = 0; this.PurchaseCountLimit = 0;
this.PurchaseCountResetType_ = SCHALE.Common.FlatData.PurchaseCountResetType.None; this.PurchaseCountResetType = SCHALE.Common.FlatData.PurchaseCountResetType.None;
this.BuyReportEventName = null; this.BuyReportEventName = null;
this.RestrictBuyWhenInventoryFull = false; this.RestrictBuyWhenInventoryFull = false;
} }
@ -221,7 +221,7 @@ static public class EventContentShopExcelVerify
&& verifier.VerifyString(tablePos, 20 /*SalePeriodTo*/, false) && verifier.VerifyString(tablePos, 20 /*SalePeriodTo*/, false)
&& verifier.VerifyField(tablePos, 22 /*PurchaseCooltimeMin*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 22 /*PurchaseCooltimeMin*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 24 /*PurchaseCountLimit*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 24 /*PurchaseCountLimit*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 26 /*PurchaseCountResetType_*/, 4 /*SCHALE.Common.FlatData.PurchaseCountResetType*/, 4, false) && verifier.VerifyField(tablePos, 26 /*PurchaseCountResetType*/, 4 /*SCHALE.Common.FlatData.PurchaseCountResetType*/, 4, false)
&& verifier.VerifyString(tablePos, 28 /*BuyReportEventName*/, false) && verifier.VerifyString(tablePos, 28 /*BuyReportEventName*/, false)
&& verifier.VerifyField(tablePos, 30 /*RestrictBuyWhenInventoryFull*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 30 /*RestrictBuyWhenInventoryFull*/, 1 /*bool*/, 1, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);

View File

@ -21,7 +21,7 @@ public struct EventContentSpineDialogOffsetExcel : IFlatbufferObject
public EventContentSpineDialogOffsetExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public EventContentSpineDialogOffsetExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.EventContentType EventContentType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentType.Stage; } } public SCHALE.Common.FlatData.EventContentType EventContentType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentType.Stage; } }
public long CostumeUniqueId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long CostumeUniqueId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public float SpineOffsetX { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } public float SpineOffsetX { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } }
public float SpineOffsetY { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } public float SpineOffsetY { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } }
@ -30,7 +30,7 @@ public struct EventContentSpineDialogOffsetExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.EventContentSpineDialogOffsetExcel> CreateEventContentSpineDialogOffsetExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.EventContentSpineDialogOffsetExcel> CreateEventContentSpineDialogOffsetExcel(FlatBufferBuilder builder,
long EventContentId = 0, long EventContentId = 0,
SCHALE.Common.FlatData.EventContentType EventContentType_ = SCHALE.Common.FlatData.EventContentType.Stage, SCHALE.Common.FlatData.EventContentType EventContentType = SCHALE.Common.FlatData.EventContentType.Stage,
long CostumeUniqueId = 0, long CostumeUniqueId = 0,
float SpineOffsetX = 0.0f, float SpineOffsetX = 0.0f,
float SpineOffsetY = 0.0f, float SpineOffsetY = 0.0f,
@ -43,13 +43,13 @@ public struct EventContentSpineDialogOffsetExcel : IFlatbufferObject
EventContentSpineDialogOffsetExcel.AddDialogOffsetX(builder, DialogOffsetX); EventContentSpineDialogOffsetExcel.AddDialogOffsetX(builder, DialogOffsetX);
EventContentSpineDialogOffsetExcel.AddSpineOffsetY(builder, SpineOffsetY); EventContentSpineDialogOffsetExcel.AddSpineOffsetY(builder, SpineOffsetY);
EventContentSpineDialogOffsetExcel.AddSpineOffsetX(builder, SpineOffsetX); EventContentSpineDialogOffsetExcel.AddSpineOffsetX(builder, SpineOffsetX);
EventContentSpineDialogOffsetExcel.AddEventContentType_(builder, EventContentType_); EventContentSpineDialogOffsetExcel.AddEventContentType(builder, EventContentType);
return EventContentSpineDialogOffsetExcel.EndEventContentSpineDialogOffsetExcel(builder); return EventContentSpineDialogOffsetExcel.EndEventContentSpineDialogOffsetExcel(builder);
} }
public static void StartEventContentSpineDialogOffsetExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void StartEventContentSpineDialogOffsetExcel(FlatBufferBuilder builder) { builder.StartTable(7); }
public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); }
public static void AddEventContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentType eventContentType_) { builder.AddInt(1, (int)eventContentType_, 0); } public static void AddEventContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentType eventContentType) { builder.AddInt(1, (int)eventContentType, 0); }
public static void AddCostumeUniqueId(FlatBufferBuilder builder, long costumeUniqueId) { builder.AddLong(2, costumeUniqueId, 0); } public static void AddCostumeUniqueId(FlatBufferBuilder builder, long costumeUniqueId) { builder.AddLong(2, costumeUniqueId, 0); }
public static void AddSpineOffsetX(FlatBufferBuilder builder, float spineOffsetX) { builder.AddFloat(3, spineOffsetX, 0.0f); } public static void AddSpineOffsetX(FlatBufferBuilder builder, float spineOffsetX) { builder.AddFloat(3, spineOffsetX, 0.0f); }
public static void AddSpineOffsetY(FlatBufferBuilder builder, float spineOffsetY) { builder.AddFloat(4, spineOffsetY, 0.0f); } public static void AddSpineOffsetY(FlatBufferBuilder builder, float spineOffsetY) { builder.AddFloat(4, spineOffsetY, 0.0f); }
@ -67,7 +67,7 @@ public struct EventContentSpineDialogOffsetExcel : IFlatbufferObject
public void UnPackTo(EventContentSpineDialogOffsetExcelT _o) { public void UnPackTo(EventContentSpineDialogOffsetExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("EventContentSpineDialogOffset"); byte[] key = TableEncryptionService.CreateKey("EventContentSpineDialogOffset");
_o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key);
_o.EventContentType_ = TableEncryptionService.Convert(this.EventContentType_, key); _o.EventContentType = TableEncryptionService.Convert(this.EventContentType, key);
_o.CostumeUniqueId = TableEncryptionService.Convert(this.CostumeUniqueId, key); _o.CostumeUniqueId = TableEncryptionService.Convert(this.CostumeUniqueId, key);
_o.SpineOffsetX = TableEncryptionService.Convert(this.SpineOffsetX, key); _o.SpineOffsetX = TableEncryptionService.Convert(this.SpineOffsetX, key);
_o.SpineOffsetY = TableEncryptionService.Convert(this.SpineOffsetY, key); _o.SpineOffsetY = TableEncryptionService.Convert(this.SpineOffsetY, key);
@ -79,7 +79,7 @@ public struct EventContentSpineDialogOffsetExcel : IFlatbufferObject
return CreateEventContentSpineDialogOffsetExcel( return CreateEventContentSpineDialogOffsetExcel(
builder, builder,
_o.EventContentId, _o.EventContentId,
_o.EventContentType_, _o.EventContentType,
_o.CostumeUniqueId, _o.CostumeUniqueId,
_o.SpineOffsetX, _o.SpineOffsetX,
_o.SpineOffsetY, _o.SpineOffsetY,
@ -91,7 +91,7 @@ public struct EventContentSpineDialogOffsetExcel : IFlatbufferObject
public class EventContentSpineDialogOffsetExcelT public class EventContentSpineDialogOffsetExcelT
{ {
public long EventContentId { get; set; } public long EventContentId { get; set; }
public SCHALE.Common.FlatData.EventContentType EventContentType_ { get; set; } public SCHALE.Common.FlatData.EventContentType EventContentType { get; set; }
public long CostumeUniqueId { get; set; } public long CostumeUniqueId { get; set; }
public float SpineOffsetX { get; set; } public float SpineOffsetX { get; set; }
public float SpineOffsetY { get; set; } public float SpineOffsetY { get; set; }
@ -100,7 +100,7 @@ public class EventContentSpineDialogOffsetExcelT
public EventContentSpineDialogOffsetExcelT() { public EventContentSpineDialogOffsetExcelT() {
this.EventContentId = 0; this.EventContentId = 0;
this.EventContentType_ = SCHALE.Common.FlatData.EventContentType.Stage; this.EventContentType = SCHALE.Common.FlatData.EventContentType.Stage;
this.CostumeUniqueId = 0; this.CostumeUniqueId = 0;
this.SpineOffsetX = 0.0f; this.SpineOffsetX = 0.0f;
this.SpineOffsetY = 0.0f; this.SpineOffsetY = 0.0f;
@ -116,7 +116,7 @@ static public class EventContentSpineDialogOffsetExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*EventContentType_*/, 4 /*SCHALE.Common.FlatData.EventContentType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*EventContentType*/, 4 /*SCHALE.Common.FlatData.EventContentType*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*CostumeUniqueId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*CostumeUniqueId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 10 /*SpineOffsetX*/, 4 /*float*/, 4, false) && verifier.VerifyField(tablePos, 10 /*SpineOffsetX*/, 4 /*float*/, 4, false)
&& verifier.VerifyField(tablePos, 12 /*SpineOffsetY*/, 4 /*float*/, 4, false) && verifier.VerifyField(tablePos, 12 /*SpineOffsetY*/, 4 /*float*/, 4, false)

View File

@ -29,7 +29,7 @@ public struct EventContentStageExcel : IFlatbufferObject
#endif #endif
public byte[] GetNameArray() { return __p.__vector_as_array<byte>(6); } public byte[] GetNameArray() { return __p.__vector_as_array<byte>(6); }
public long EventContentId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventContentId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.StageDifficulty StageDifficulty_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.StageDifficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageDifficulty.None; } } public SCHALE.Common.FlatData.StageDifficulty StageDifficulty { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.StageDifficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageDifficulty.None; } }
public string StageNumber { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string StageNumber { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
public Span<byte> GetStageNumberBytes() { return __p.__vector_as_span<byte>(12, 1); } public Span<byte> GetStageNumberBytes() { return __p.__vector_as_span<byte>(12, 1); }
@ -85,7 +85,7 @@ public struct EventContentStageExcel : IFlatbufferObject
public byte[] GetStrategyMapBGArray() { return __p.__vector_as_array<byte>(52); } public byte[] GetStrategyMapBGArray() { return __p.__vector_as_array<byte>(52); }
public long EventContentStageRewardId { get { int o = __p.__offset(54); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventContentStageRewardId { get { int o = __p.__offset(54); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public int MaxTurn { get { int o = __p.__offset(56); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int MaxTurn { get { int o = __p.__offset(56); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public SCHALE.Common.FlatData.StageTopography StageTopography_ { get { int o = __p.__offset(58); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } public SCHALE.Common.FlatData.StageTopography StageTopography { get { int o = __p.__offset(58); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } }
public int RecommandLevel { get { int o = __p.__offset(60); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int RecommandLevel { get { int o = __p.__offset(60); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public string BgmId { get { int o = __p.__offset(62); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string BgmId { get { int o = __p.__offset(62); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
@ -94,9 +94,9 @@ public struct EventContentStageExcel : IFlatbufferObject
public ArraySegment<byte>? GetBgmIdBytes() { return __p.__vector_as_arraysegment(62); } public ArraySegment<byte>? GetBgmIdBytes() { return __p.__vector_as_arraysegment(62); }
#endif #endif
public byte[] GetBgmIdArray() { return __p.__vector_as_array<byte>(62); } public byte[] GetBgmIdArray() { return __p.__vector_as_array<byte>(62); }
public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment_ { get { int o = __p.__offset(64); return o != 0 ? (SCHALE.Common.FlatData.StrategyEnvironment)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StrategyEnvironment.None; } } public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment { get { int o = __p.__offset(64); return o != 0 ? (SCHALE.Common.FlatData.StrategyEnvironment)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StrategyEnvironment.None; } }
public long GroundID { get { int o = __p.__offset(66); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long GroundID { get { int o = __p.__offset(66); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.ContentType ContentType_ { get { int o = __p.__offset(68); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } public SCHALE.Common.FlatData.ContentType ContentType { get { int o = __p.__offset(68); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } }
public long BGMId { get { int o = __p.__offset(70); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long BGMId { get { int o = __p.__offset(70); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public bool InstantClear { get { int o = __p.__offset(72); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool InstantClear { get { int o = __p.__offset(72); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public long BuffContentId { get { int o = __p.__offset(74); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long BuffContentId { get { int o = __p.__offset(74); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -120,13 +120,13 @@ public struct EventContentStageExcel : IFlatbufferObject
public int[] GetStarGoalAmountArray() { return __p.__vector_as_array<int>(82); } public int[] GetStarGoalAmountArray() { return __p.__vector_as_array<int>(82); }
public bool IsDefeatBattle { get { int o = __p.__offset(84); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool IsDefeatBattle { get { int o = __p.__offset(84); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public uint StageHint { get { int o = __p.__offset(86); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public uint StageHint { get { int o = __p.__offset(86); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } }
public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get { int o = __p.__offset(88); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get { int o = __p.__offset(88); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } }
public static Offset<SCHALE.Common.FlatData.EventContentStageExcel> CreateEventContentStageExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.EventContentStageExcel> CreateEventContentStageExcel(FlatBufferBuilder builder,
long Id = 0, long Id = 0,
StringOffset NameOffset = default(StringOffset), StringOffset NameOffset = default(StringOffset),
long EventContentId = 0, long EventContentId = 0,
SCHALE.Common.FlatData.StageDifficulty StageDifficulty_ = SCHALE.Common.FlatData.StageDifficulty.None, SCHALE.Common.FlatData.StageDifficulty StageDifficulty = SCHALE.Common.FlatData.StageDifficulty.None,
StringOffset StageNumberOffset = default(StringOffset), StringOffset StageNumberOffset = default(StringOffset),
int StageDisplay = 0, int StageDisplay = 0,
long PrevStageId = 0, long PrevStageId = 0,
@ -150,12 +150,12 @@ public struct EventContentStageExcel : IFlatbufferObject
StringOffset StrategyMapBGOffset = default(StringOffset), StringOffset StrategyMapBGOffset = default(StringOffset),
long EventContentStageRewardId = 0, long EventContentStageRewardId = 0,
int MaxTurn = 0, int MaxTurn = 0,
SCHALE.Common.FlatData.StageTopography StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street, SCHALE.Common.FlatData.StageTopography StageTopography = SCHALE.Common.FlatData.StageTopography.Street,
int RecommandLevel = 0, int RecommandLevel = 0,
StringOffset BgmIdOffset = default(StringOffset), StringOffset BgmIdOffset = default(StringOffset),
SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment_ = SCHALE.Common.FlatData.StrategyEnvironment.None, SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment = SCHALE.Common.FlatData.StrategyEnvironment.None,
long GroundID = 0, long GroundID = 0,
SCHALE.Common.FlatData.ContentType ContentType_ = SCHALE.Common.FlatData.ContentType.None, SCHALE.Common.FlatData.ContentType ContentType = SCHALE.Common.FlatData.ContentType.None,
long BGMId = 0, long BGMId = 0,
bool InstantClear = false, bool InstantClear = false,
long BuffContentId = 0, long BuffContentId = 0,
@ -165,7 +165,7 @@ public struct EventContentStageExcel : IFlatbufferObject
VectorOffset StarGoalAmountOffset = default(VectorOffset), VectorOffset StarGoalAmountOffset = default(VectorOffset),
bool IsDefeatBattle = false, bool IsDefeatBattle = false,
uint StageHint = 0, uint StageHint = 0,
SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base) { SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base) {
builder.StartTable(43); builder.StartTable(43);
EventContentStageExcel.AddFixedEchelonId(builder, FixedEchelonId); EventContentStageExcel.AddFixedEchelonId(builder, FixedEchelonId);
EventContentStageExcel.AddBuffContentId(builder, BuffContentId); EventContentStageExcel.AddBuffContentId(builder, BuffContentId);
@ -185,15 +185,15 @@ public struct EventContentStageExcel : IFlatbufferObject
EventContentStageExcel.AddPrevStageId(builder, PrevStageId); EventContentStageExcel.AddPrevStageId(builder, PrevStageId);
EventContentStageExcel.AddEventContentId(builder, EventContentId); EventContentStageExcel.AddEventContentId(builder, EventContentId);
EventContentStageExcel.AddId(builder, Id); EventContentStageExcel.AddId(builder, Id);
EventContentStageExcel.AddEchelonExtensionType_(builder, EchelonExtensionType_); EventContentStageExcel.AddEchelonExtensionType(builder, EchelonExtensionType);
EventContentStageExcel.AddStageHint(builder, StageHint); EventContentStageExcel.AddStageHint(builder, StageHint);
EventContentStageExcel.AddStarGoalAmount(builder, StarGoalAmountOffset); EventContentStageExcel.AddStarGoalAmount(builder, StarGoalAmountOffset);
EventContentStageExcel.AddStarGoal(builder, StarGoalOffset); EventContentStageExcel.AddStarGoal(builder, StarGoalOffset);
EventContentStageExcel.AddContentType_(builder, ContentType_); EventContentStageExcel.AddContentType(builder, ContentType);
EventContentStageExcel.AddStrategyEnvironment_(builder, StrategyEnvironment_); EventContentStageExcel.AddStrategyEnvironment(builder, StrategyEnvironment);
EventContentStageExcel.AddBgmId(builder, BgmIdOffset); EventContentStageExcel.AddBgmId(builder, BgmIdOffset);
EventContentStageExcel.AddRecommandLevel(builder, RecommandLevel); EventContentStageExcel.AddRecommandLevel(builder, RecommandLevel);
EventContentStageExcel.AddStageTopography_(builder, StageTopography_); EventContentStageExcel.AddStageTopography(builder, StageTopography);
EventContentStageExcel.AddMaxTurn(builder, MaxTurn); EventContentStageExcel.AddMaxTurn(builder, MaxTurn);
EventContentStageExcel.AddStrategyMapBG(builder, StrategyMapBGOffset); EventContentStageExcel.AddStrategyMapBG(builder, StrategyMapBGOffset);
EventContentStageExcel.AddStrategyMap(builder, StrategyMapOffset); EventContentStageExcel.AddStrategyMap(builder, StrategyMapOffset);
@ -205,7 +205,7 @@ public struct EventContentStageExcel : IFlatbufferObject
EventContentStageExcel.AddOpenConditionContentType(builder, OpenConditionContentType); EventContentStageExcel.AddOpenConditionContentType(builder, OpenConditionContentType);
EventContentStageExcel.AddStageDisplay(builder, StageDisplay); EventContentStageExcel.AddStageDisplay(builder, StageDisplay);
EventContentStageExcel.AddStageNumber(builder, StageNumberOffset); EventContentStageExcel.AddStageNumber(builder, StageNumberOffset);
EventContentStageExcel.AddStageDifficulty_(builder, StageDifficulty_); EventContentStageExcel.AddStageDifficulty(builder, StageDifficulty);
EventContentStageExcel.AddName(builder, NameOffset); EventContentStageExcel.AddName(builder, NameOffset);
EventContentStageExcel.AddIsDefeatBattle(builder, IsDefeatBattle); EventContentStageExcel.AddIsDefeatBattle(builder, IsDefeatBattle);
EventContentStageExcel.AddChallengeDisplay(builder, ChallengeDisplay); EventContentStageExcel.AddChallengeDisplay(builder, ChallengeDisplay);
@ -217,7 +217,7 @@ public struct EventContentStageExcel : IFlatbufferObject
public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); }
public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(1, nameOffset.Value, 0); } public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(1, nameOffset.Value, 0); }
public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(2, eventContentId, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(2, eventContentId, 0); }
public static void AddStageDifficulty_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageDifficulty stageDifficulty_) { builder.AddInt(3, (int)stageDifficulty_, 0); } public static void AddStageDifficulty(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageDifficulty stageDifficulty) { builder.AddInt(3, (int)stageDifficulty, 0); }
public static void AddStageNumber(FlatBufferBuilder builder, StringOffset stageNumberOffset) { builder.AddOffset(4, stageNumberOffset.Value, 0); } public static void AddStageNumber(FlatBufferBuilder builder, StringOffset stageNumberOffset) { builder.AddOffset(4, stageNumberOffset.Value, 0); }
public static void AddStageDisplay(FlatBufferBuilder builder, int stageDisplay) { builder.AddInt(5, stageDisplay, 0); } public static void AddStageDisplay(FlatBufferBuilder builder, int stageDisplay) { builder.AddInt(5, stageDisplay, 0); }
public static void AddPrevStageId(FlatBufferBuilder builder, long prevStageId) { builder.AddLong(6, prevStageId, 0); } public static void AddPrevStageId(FlatBufferBuilder builder, long prevStageId) { builder.AddLong(6, prevStageId, 0); }
@ -251,12 +251,12 @@ public struct EventContentStageExcel : IFlatbufferObject
public static void AddStrategyMapBG(FlatBufferBuilder builder, StringOffset strategyMapBGOffset) { builder.AddOffset(24, strategyMapBGOffset.Value, 0); } public static void AddStrategyMapBG(FlatBufferBuilder builder, StringOffset strategyMapBGOffset) { builder.AddOffset(24, strategyMapBGOffset.Value, 0); }
public static void AddEventContentStageRewardId(FlatBufferBuilder builder, long eventContentStageRewardId) { builder.AddLong(25, eventContentStageRewardId, 0); } public static void AddEventContentStageRewardId(FlatBufferBuilder builder, long eventContentStageRewardId) { builder.AddLong(25, eventContentStageRewardId, 0); }
public static void AddMaxTurn(FlatBufferBuilder builder, int maxTurn) { builder.AddInt(26, maxTurn, 0); } public static void AddMaxTurn(FlatBufferBuilder builder, int maxTurn) { builder.AddInt(26, maxTurn, 0); }
public static void AddStageTopography_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography_) { builder.AddInt(27, (int)stageTopography_, 0); } public static void AddStageTopography(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography) { builder.AddInt(27, (int)stageTopography, 0); }
public static void AddRecommandLevel(FlatBufferBuilder builder, int recommandLevel) { builder.AddInt(28, recommandLevel, 0); } public static void AddRecommandLevel(FlatBufferBuilder builder, int recommandLevel) { builder.AddInt(28, recommandLevel, 0); }
public static void AddBgmId(FlatBufferBuilder builder, StringOffset bgmIdOffset) { builder.AddOffset(29, bgmIdOffset.Value, 0); } public static void AddBgmId(FlatBufferBuilder builder, StringOffset bgmIdOffset) { builder.AddOffset(29, bgmIdOffset.Value, 0); }
public static void AddStrategyEnvironment_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StrategyEnvironment strategyEnvironment_) { builder.AddInt(30, (int)strategyEnvironment_, 0); } public static void AddStrategyEnvironment(FlatBufferBuilder builder, SCHALE.Common.FlatData.StrategyEnvironment strategyEnvironment) { builder.AddInt(30, (int)strategyEnvironment, 0); }
public static void AddGroundID(FlatBufferBuilder builder, long groundID) { builder.AddLong(31, groundID, 0); } public static void AddGroundID(FlatBufferBuilder builder, long groundID) { builder.AddLong(31, groundID, 0); }
public static void AddContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType_) { builder.AddInt(32, (int)contentType_, 0); } public static void AddContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType) { builder.AddInt(32, (int)contentType, 0); }
public static void AddBGMId(FlatBufferBuilder builder, long bGMId) { builder.AddLong(33, bGMId, 0); } public static void AddBGMId(FlatBufferBuilder builder, long bGMId) { builder.AddLong(33, bGMId, 0); }
public static void AddInstantClear(FlatBufferBuilder builder, bool instantClear) { builder.AddBool(34, instantClear, false); } public static void AddInstantClear(FlatBufferBuilder builder, bool instantClear) { builder.AddBool(34, instantClear, false); }
public static void AddBuffContentId(FlatBufferBuilder builder, long buffContentId) { builder.AddLong(35, buffContentId, 0); } public static void AddBuffContentId(FlatBufferBuilder builder, long buffContentId) { builder.AddLong(35, buffContentId, 0); }
@ -276,7 +276,7 @@ public struct EventContentStageExcel : IFlatbufferObject
public static void StartStarGoalAmountVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } public static void StartStarGoalAmountVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static void AddIsDefeatBattle(FlatBufferBuilder builder, bool isDefeatBattle) { builder.AddBool(40, isDefeatBattle, false); } public static void AddIsDefeatBattle(FlatBufferBuilder builder, bool isDefeatBattle) { builder.AddBool(40, isDefeatBattle, false); }
public static void AddStageHint(FlatBufferBuilder builder, uint stageHint) { builder.AddUint(41, stageHint, 0); } public static void AddStageHint(FlatBufferBuilder builder, uint stageHint) { builder.AddUint(41, stageHint, 0); }
public static void AddEchelonExtensionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType_) { builder.AddInt(42, (int)echelonExtensionType_, 0); } public static void AddEchelonExtensionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType) { builder.AddInt(42, (int)echelonExtensionType, 0); }
public static Offset<SCHALE.Common.FlatData.EventContentStageExcel> EndEventContentStageExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.EventContentStageExcel> EndEventContentStageExcel(FlatBufferBuilder builder) {
int o = builder.EndTable(); int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.EventContentStageExcel>(o); return new Offset<SCHALE.Common.FlatData.EventContentStageExcel>(o);
@ -291,7 +291,7 @@ public struct EventContentStageExcel : IFlatbufferObject
_o.Id = TableEncryptionService.Convert(this.Id, key); _o.Id = TableEncryptionService.Convert(this.Id, key);
_o.Name = TableEncryptionService.Convert(this.Name, key); _o.Name = TableEncryptionService.Convert(this.Name, key);
_o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key);
_o.StageDifficulty_ = TableEncryptionService.Convert(this.StageDifficulty_, key); _o.StageDifficulty = TableEncryptionService.Convert(this.StageDifficulty, key);
_o.StageNumber = TableEncryptionService.Convert(this.StageNumber, key); _o.StageNumber = TableEncryptionService.Convert(this.StageNumber, key);
_o.StageDisplay = TableEncryptionService.Convert(this.StageDisplay, key); _o.StageDisplay = TableEncryptionService.Convert(this.StageDisplay, key);
_o.PrevStageId = TableEncryptionService.Convert(this.PrevStageId, key); _o.PrevStageId = TableEncryptionService.Convert(this.PrevStageId, key);
@ -317,12 +317,12 @@ public struct EventContentStageExcel : IFlatbufferObject
_o.StrategyMapBG = TableEncryptionService.Convert(this.StrategyMapBG, key); _o.StrategyMapBG = TableEncryptionService.Convert(this.StrategyMapBG, key);
_o.EventContentStageRewardId = TableEncryptionService.Convert(this.EventContentStageRewardId, key); _o.EventContentStageRewardId = TableEncryptionService.Convert(this.EventContentStageRewardId, key);
_o.MaxTurn = TableEncryptionService.Convert(this.MaxTurn, key); _o.MaxTurn = TableEncryptionService.Convert(this.MaxTurn, key);
_o.StageTopography_ = TableEncryptionService.Convert(this.StageTopography_, key); _o.StageTopography = TableEncryptionService.Convert(this.StageTopography, key);
_o.RecommandLevel = TableEncryptionService.Convert(this.RecommandLevel, key); _o.RecommandLevel = TableEncryptionService.Convert(this.RecommandLevel, key);
_o.BgmId = TableEncryptionService.Convert(this.BgmId, key); _o.BgmId = TableEncryptionService.Convert(this.BgmId, key);
_o.StrategyEnvironment_ = TableEncryptionService.Convert(this.StrategyEnvironment_, key); _o.StrategyEnvironment = TableEncryptionService.Convert(this.StrategyEnvironment, key);
_o.GroundID = TableEncryptionService.Convert(this.GroundID, key); _o.GroundID = TableEncryptionService.Convert(this.GroundID, key);
_o.ContentType_ = TableEncryptionService.Convert(this.ContentType_, key); _o.ContentType = TableEncryptionService.Convert(this.ContentType, key);
_o.BGMId = TableEncryptionService.Convert(this.BGMId, key); _o.BGMId = TableEncryptionService.Convert(this.BGMId, key);
_o.InstantClear = TableEncryptionService.Convert(this.InstantClear, key); _o.InstantClear = TableEncryptionService.Convert(this.InstantClear, key);
_o.BuffContentId = TableEncryptionService.Convert(this.BuffContentId, key); _o.BuffContentId = TableEncryptionService.Convert(this.BuffContentId, key);
@ -334,7 +334,7 @@ public struct EventContentStageExcel : IFlatbufferObject
for (var _j = 0; _j < this.StarGoalAmountLength; ++_j) {_o.StarGoalAmount.Add(TableEncryptionService.Convert(this.StarGoalAmount(_j), key));} for (var _j = 0; _j < this.StarGoalAmountLength; ++_j) {_o.StarGoalAmount.Add(TableEncryptionService.Convert(this.StarGoalAmount(_j), key));}
_o.IsDefeatBattle = TableEncryptionService.Convert(this.IsDefeatBattle, key); _o.IsDefeatBattle = TableEncryptionService.Convert(this.IsDefeatBattle, key);
_o.StageHint = TableEncryptionService.Convert(this.StageHint, key); _o.StageHint = TableEncryptionService.Convert(this.StageHint, key);
_o.EchelonExtensionType_ = TableEncryptionService.Convert(this.EchelonExtensionType_, key); _o.EchelonExtensionType = TableEncryptionService.Convert(this.EchelonExtensionType, key);
} }
public static Offset<SCHALE.Common.FlatData.EventContentStageExcel> Pack(FlatBufferBuilder builder, EventContentStageExcelT _o) { public static Offset<SCHALE.Common.FlatData.EventContentStageExcel> Pack(FlatBufferBuilder builder, EventContentStageExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.EventContentStageExcel>); if (_o == null) return default(Offset<SCHALE.Common.FlatData.EventContentStageExcel>);
@ -368,7 +368,7 @@ public struct EventContentStageExcel : IFlatbufferObject
_o.Id, _o.Id,
_Name, _Name,
_o.EventContentId, _o.EventContentId,
_o.StageDifficulty_, _o.StageDifficulty,
_StageNumber, _StageNumber,
_o.StageDisplay, _o.StageDisplay,
_o.PrevStageId, _o.PrevStageId,
@ -392,12 +392,12 @@ public struct EventContentStageExcel : IFlatbufferObject
_StrategyMapBG, _StrategyMapBG,
_o.EventContentStageRewardId, _o.EventContentStageRewardId,
_o.MaxTurn, _o.MaxTurn,
_o.StageTopography_, _o.StageTopography,
_o.RecommandLevel, _o.RecommandLevel,
_BgmId, _BgmId,
_o.StrategyEnvironment_, _o.StrategyEnvironment,
_o.GroundID, _o.GroundID,
_o.ContentType_, _o.ContentType,
_o.BGMId, _o.BGMId,
_o.InstantClear, _o.InstantClear,
_o.BuffContentId, _o.BuffContentId,
@ -407,7 +407,7 @@ public struct EventContentStageExcel : IFlatbufferObject
_StarGoalAmount, _StarGoalAmount,
_o.IsDefeatBattle, _o.IsDefeatBattle,
_o.StageHint, _o.StageHint,
_o.EchelonExtensionType_); _o.EchelonExtensionType);
} }
} }
@ -416,7 +416,7 @@ public class EventContentStageExcelT
public long Id { get; set; } public long Id { get; set; }
public string Name { get; set; } public string Name { get; set; }
public long EventContentId { get; set; } public long EventContentId { get; set; }
public SCHALE.Common.FlatData.StageDifficulty StageDifficulty_ { get; set; } public SCHALE.Common.FlatData.StageDifficulty StageDifficulty { get; set; }
public string StageNumber { get; set; } public string StageNumber { get; set; }
public int StageDisplay { get; set; } public int StageDisplay { get; set; }
public long PrevStageId { get; set; } public long PrevStageId { get; set; }
@ -440,12 +440,12 @@ public class EventContentStageExcelT
public string StrategyMapBG { get; set; } public string StrategyMapBG { get; set; }
public long EventContentStageRewardId { get; set; } public long EventContentStageRewardId { get; set; }
public int MaxTurn { get; set; } public int MaxTurn { get; set; }
public SCHALE.Common.FlatData.StageTopography StageTopography_ { get; set; } public SCHALE.Common.FlatData.StageTopography StageTopography { get; set; }
public int RecommandLevel { get; set; } public int RecommandLevel { get; set; }
public string BgmId { get; set; } public string BgmId { get; set; }
public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment_ { get; set; } public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment { get; set; }
public long GroundID { get; set; } public long GroundID { get; set; }
public SCHALE.Common.FlatData.ContentType ContentType_ { get; set; } public SCHALE.Common.FlatData.ContentType ContentType { get; set; }
public long BGMId { get; set; } public long BGMId { get; set; }
public bool InstantClear { get; set; } public bool InstantClear { get; set; }
public long BuffContentId { get; set; } public long BuffContentId { get; set; }
@ -455,13 +455,13 @@ public class EventContentStageExcelT
public List<int> StarGoalAmount { get; set; } public List<int> StarGoalAmount { get; set; }
public bool IsDefeatBattle { get; set; } public bool IsDefeatBattle { get; set; }
public uint StageHint { get; set; } public uint StageHint { get; set; }
public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get; set; } public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get; set; }
public EventContentStageExcelT() { public EventContentStageExcelT() {
this.Id = 0; this.Id = 0;
this.Name = null; this.Name = null;
this.EventContentId = 0; this.EventContentId = 0;
this.StageDifficulty_ = SCHALE.Common.FlatData.StageDifficulty.None; this.StageDifficulty = SCHALE.Common.FlatData.StageDifficulty.None;
this.StageNumber = null; this.StageNumber = null;
this.StageDisplay = 0; this.StageDisplay = 0;
this.PrevStageId = 0; this.PrevStageId = 0;
@ -485,12 +485,12 @@ public class EventContentStageExcelT
this.StrategyMapBG = null; this.StrategyMapBG = null;
this.EventContentStageRewardId = 0; this.EventContentStageRewardId = 0;
this.MaxTurn = 0; this.MaxTurn = 0;
this.StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street; this.StageTopography = SCHALE.Common.FlatData.StageTopography.Street;
this.RecommandLevel = 0; this.RecommandLevel = 0;
this.BgmId = null; this.BgmId = null;
this.StrategyEnvironment_ = SCHALE.Common.FlatData.StrategyEnvironment.None; this.StrategyEnvironment = SCHALE.Common.FlatData.StrategyEnvironment.None;
this.GroundID = 0; this.GroundID = 0;
this.ContentType_ = SCHALE.Common.FlatData.ContentType.None; this.ContentType = SCHALE.Common.FlatData.ContentType.None;
this.BGMId = 0; this.BGMId = 0;
this.InstantClear = false; this.InstantClear = false;
this.BuffContentId = 0; this.BuffContentId = 0;
@ -500,7 +500,7 @@ public class EventContentStageExcelT
this.StarGoalAmount = null; this.StarGoalAmount = null;
this.IsDefeatBattle = false; this.IsDefeatBattle = false;
this.StageHint = 0; this.StageHint = 0;
this.EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base; this.EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base;
} }
} }
@ -513,7 +513,7 @@ static public class EventContentStageExcelVerify
&& verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false)
&& verifier.VerifyString(tablePos, 6 /*Name*/, false) && verifier.VerifyString(tablePos, 6 /*Name*/, false)
&& verifier.VerifyField(tablePos, 8 /*EventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*EventContentId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 10 /*StageDifficulty_*/, 4 /*SCHALE.Common.FlatData.StageDifficulty*/, 4, false) && verifier.VerifyField(tablePos, 10 /*StageDifficulty*/, 4 /*SCHALE.Common.FlatData.StageDifficulty*/, 4, false)
&& verifier.VerifyString(tablePos, 12 /*StageNumber*/, false) && verifier.VerifyString(tablePos, 12 /*StageNumber*/, false)
&& verifier.VerifyField(tablePos, 14 /*StageDisplay*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 14 /*StageDisplay*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 16 /*PrevStageId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 16 /*PrevStageId*/, 8 /*long*/, 8, false)
@ -537,12 +537,12 @@ static public class EventContentStageExcelVerify
&& verifier.VerifyString(tablePos, 52 /*StrategyMapBG*/, false) && verifier.VerifyString(tablePos, 52 /*StrategyMapBG*/, false)
&& verifier.VerifyField(tablePos, 54 /*EventContentStageRewardId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 54 /*EventContentStageRewardId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 56 /*MaxTurn*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 56 /*MaxTurn*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 58 /*StageTopography_*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) && verifier.VerifyField(tablePos, 58 /*StageTopography*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false)
&& verifier.VerifyField(tablePos, 60 /*RecommandLevel*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 60 /*RecommandLevel*/, 4 /*int*/, 4, false)
&& verifier.VerifyString(tablePos, 62 /*BgmId*/, false) && verifier.VerifyString(tablePos, 62 /*BgmId*/, false)
&& verifier.VerifyField(tablePos, 64 /*StrategyEnvironment_*/, 4 /*SCHALE.Common.FlatData.StrategyEnvironment*/, 4, false) && verifier.VerifyField(tablePos, 64 /*StrategyEnvironment*/, 4 /*SCHALE.Common.FlatData.StrategyEnvironment*/, 4, false)
&& verifier.VerifyField(tablePos, 66 /*GroundID*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 66 /*GroundID*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 68 /*ContentType_*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) && verifier.VerifyField(tablePos, 68 /*ContentType*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false)
&& verifier.VerifyField(tablePos, 70 /*BGMId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 70 /*BGMId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 72 /*InstantClear*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 72 /*InstantClear*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 74 /*BuffContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 74 /*BuffContentId*/, 8 /*long*/, 8, false)
@ -552,7 +552,7 @@ static public class EventContentStageExcelVerify
&& verifier.VerifyVectorOfData(tablePos, 82 /*StarGoalAmount*/, 4 /*int*/, false) && verifier.VerifyVectorOfData(tablePos, 82 /*StarGoalAmount*/, 4 /*int*/, false)
&& verifier.VerifyField(tablePos, 84 /*IsDefeatBattle*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 84 /*IsDefeatBattle*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 86 /*StageHint*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 86 /*StageHint*/, 4 /*uint*/, 4, false)
&& verifier.VerifyField(tablePos, 88 /*EchelonExtensionType_*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) && verifier.VerifyField(tablePos, 88 /*EchelonExtensionType*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);
} }
} }

View File

@ -21,7 +21,7 @@ public struct EventContentStageRewardExcel : IFlatbufferObject
public EventContentStageRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public EventContentStageRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long GroupId { 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(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.RewardTag RewardTag_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } public SCHALE.Common.FlatData.RewardTag RewardTag { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } }
public int RewardProb { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int RewardProb { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public SCHALE.Common.FlatData.ParcelType RewardParcelType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } }
public long RewardId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long RewardId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -30,7 +30,7 @@ public struct EventContentStageRewardExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.EventContentStageRewardExcel> CreateEventContentStageRewardExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.EventContentStageRewardExcel> CreateEventContentStageRewardExcel(FlatBufferBuilder builder,
long GroupId = 0, long GroupId = 0,
SCHALE.Common.FlatData.RewardTag RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default, SCHALE.Common.FlatData.RewardTag RewardTag = SCHALE.Common.FlatData.RewardTag.Default,
int RewardProb = 0, int RewardProb = 0,
SCHALE.Common.FlatData.ParcelType RewardParcelType = SCHALE.Common.FlatData.ParcelType.None, SCHALE.Common.FlatData.ParcelType RewardParcelType = SCHALE.Common.FlatData.ParcelType.None,
long RewardId = 0, long RewardId = 0,
@ -42,14 +42,14 @@ public struct EventContentStageRewardExcel : IFlatbufferObject
EventContentStageRewardExcel.AddRewardAmount(builder, RewardAmount); EventContentStageRewardExcel.AddRewardAmount(builder, RewardAmount);
EventContentStageRewardExcel.AddRewardParcelType(builder, RewardParcelType); EventContentStageRewardExcel.AddRewardParcelType(builder, RewardParcelType);
EventContentStageRewardExcel.AddRewardProb(builder, RewardProb); EventContentStageRewardExcel.AddRewardProb(builder, RewardProb);
EventContentStageRewardExcel.AddRewardTag_(builder, RewardTag_); EventContentStageRewardExcel.AddRewardTag(builder, RewardTag);
EventContentStageRewardExcel.AddIsDisplayed(builder, IsDisplayed); EventContentStageRewardExcel.AddIsDisplayed(builder, IsDisplayed);
return EventContentStageRewardExcel.EndEventContentStageRewardExcel(builder); return EventContentStageRewardExcel.EndEventContentStageRewardExcel(builder);
} }
public static void StartEventContentStageRewardExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void StartEventContentStageRewardExcel(FlatBufferBuilder builder) { builder.StartTable(7); }
public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(0, groupId, 0); } public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(0, groupId, 0); }
public static void AddRewardTag_(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag_) { builder.AddInt(1, (int)rewardTag_, 0); } public static void AddRewardTag(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag) { builder.AddInt(1, (int)rewardTag, 0); }
public static void AddRewardProb(FlatBufferBuilder builder, int rewardProb) { builder.AddInt(2, rewardProb, 0); } public static void AddRewardProb(FlatBufferBuilder builder, int rewardProb) { builder.AddInt(2, rewardProb, 0); }
public static void AddRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType rewardParcelType) { builder.AddInt(3, (int)rewardParcelType, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType rewardParcelType) { builder.AddInt(3, (int)rewardParcelType, 0); }
public static void AddRewardId(FlatBufferBuilder builder, long rewardId) { builder.AddLong(4, rewardId, 0); } public static void AddRewardId(FlatBufferBuilder builder, long rewardId) { builder.AddLong(4, rewardId, 0); }
@ -67,7 +67,7 @@ public struct EventContentStageRewardExcel : IFlatbufferObject
public void UnPackTo(EventContentStageRewardExcelT _o) { public void UnPackTo(EventContentStageRewardExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("EventContentStageReward"); byte[] key = TableEncryptionService.CreateKey("EventContentStageReward");
_o.GroupId = TableEncryptionService.Convert(this.GroupId, key); _o.GroupId = TableEncryptionService.Convert(this.GroupId, key);
_o.RewardTag_ = TableEncryptionService.Convert(this.RewardTag_, key); _o.RewardTag = TableEncryptionService.Convert(this.RewardTag, key);
_o.RewardProb = TableEncryptionService.Convert(this.RewardProb, key); _o.RewardProb = TableEncryptionService.Convert(this.RewardProb, key);
_o.RewardParcelType = TableEncryptionService.Convert(this.RewardParcelType, key); _o.RewardParcelType = TableEncryptionService.Convert(this.RewardParcelType, key);
_o.RewardId = TableEncryptionService.Convert(this.RewardId, key); _o.RewardId = TableEncryptionService.Convert(this.RewardId, key);
@ -79,7 +79,7 @@ public struct EventContentStageRewardExcel : IFlatbufferObject
return CreateEventContentStageRewardExcel( return CreateEventContentStageRewardExcel(
builder, builder,
_o.GroupId, _o.GroupId,
_o.RewardTag_, _o.RewardTag,
_o.RewardProb, _o.RewardProb,
_o.RewardParcelType, _o.RewardParcelType,
_o.RewardId, _o.RewardId,
@ -91,7 +91,7 @@ public struct EventContentStageRewardExcel : IFlatbufferObject
public class EventContentStageRewardExcelT public class EventContentStageRewardExcelT
{ {
public long GroupId { get; set; } public long GroupId { get; set; }
public SCHALE.Common.FlatData.RewardTag RewardTag_ { get; set; } public SCHALE.Common.FlatData.RewardTag RewardTag { get; set; }
public int RewardProb { get; set; } public int RewardProb { get; set; }
public SCHALE.Common.FlatData.ParcelType RewardParcelType { get; set; } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get; set; }
public long RewardId { get; set; } public long RewardId { get; set; }
@ -100,7 +100,7 @@ public class EventContentStageRewardExcelT
public EventContentStageRewardExcelT() { public EventContentStageRewardExcelT() {
this.GroupId = 0; this.GroupId = 0;
this.RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default; this.RewardTag = SCHALE.Common.FlatData.RewardTag.Default;
this.RewardProb = 0; this.RewardProb = 0;
this.RewardParcelType = SCHALE.Common.FlatData.ParcelType.None; this.RewardParcelType = SCHALE.Common.FlatData.ParcelType.None;
this.RewardId = 0; this.RewardId = 0;
@ -116,7 +116,7 @@ static public class EventContentStageRewardExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*GroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*GroupId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*RewardTag_*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) && verifier.VerifyField(tablePos, 6 /*RewardTag*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*RewardProb*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 8 /*RewardProb*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false)
&& verifier.VerifyField(tablePos, 12 /*RewardId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*RewardId*/, 8 /*long*/, 8, false)

View File

@ -69,6 +69,13 @@ public struct EventContentTreasureRewardExcel : IFlatbufferObject
public ArraySegment<byte>? GetTreasureSmallImagePathBytes() { return __p.__vector_as_arraysegment(22); } public ArraySegment<byte>? GetTreasureSmallImagePathBytes() { return __p.__vector_as_arraysegment(22); }
#endif #endif
public byte[] GetTreasureSmallImagePathArray() { return __p.__vector_as_array<byte>(22); } public byte[] GetTreasureSmallImagePathArray() { return __p.__vector_as_array<byte>(22); }
public string TreasureSizeIconPath { get { int o = __p.__offset(24); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T
public Span<byte> GetTreasureSizeIconPathBytes() { return __p.__vector_as_span<byte>(24, 1); }
#else
public ArraySegment<byte>? GetTreasureSizeIconPathBytes() { return __p.__vector_as_arraysegment(24); }
#endif
public byte[] GetTreasureSizeIconPathArray() { return __p.__vector_as_array<byte>(24); }
public static Offset<SCHALE.Common.FlatData.EventContentTreasureRewardExcel> CreateEventContentTreasureRewardExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.EventContentTreasureRewardExcel> CreateEventContentTreasureRewardExcel(FlatBufferBuilder builder,
long Id = 0, long Id = 0,
@ -80,9 +87,11 @@ public struct EventContentTreasureRewardExcel : IFlatbufferObject
VectorOffset RewardParcelIdOffset = default(VectorOffset), VectorOffset RewardParcelIdOffset = default(VectorOffset),
VectorOffset RewardParcelAmountOffset = default(VectorOffset), VectorOffset RewardParcelAmountOffset = default(VectorOffset),
StringOffset CellUnderImagePathOffset = default(StringOffset), StringOffset CellUnderImagePathOffset = default(StringOffset),
StringOffset TreasureSmallImagePathOffset = default(StringOffset)) { StringOffset TreasureSmallImagePathOffset = default(StringOffset),
builder.StartTable(10); StringOffset TreasureSizeIconPathOffset = default(StringOffset)) {
builder.StartTable(11);
EventContentTreasureRewardExcel.AddId(builder, Id); EventContentTreasureRewardExcel.AddId(builder, Id);
EventContentTreasureRewardExcel.AddTreasureSizeIconPath(builder, TreasureSizeIconPathOffset);
EventContentTreasureRewardExcel.AddTreasureSmallImagePath(builder, TreasureSmallImagePathOffset); EventContentTreasureRewardExcel.AddTreasureSmallImagePath(builder, TreasureSmallImagePathOffset);
EventContentTreasureRewardExcel.AddCellUnderImagePath(builder, CellUnderImagePathOffset); EventContentTreasureRewardExcel.AddCellUnderImagePath(builder, CellUnderImagePathOffset);
EventContentTreasureRewardExcel.AddRewardParcelAmount(builder, RewardParcelAmountOffset); EventContentTreasureRewardExcel.AddRewardParcelAmount(builder, RewardParcelAmountOffset);
@ -95,7 +104,7 @@ public struct EventContentTreasureRewardExcel : IFlatbufferObject
return EventContentTreasureRewardExcel.EndEventContentTreasureRewardExcel(builder); return EventContentTreasureRewardExcel.EndEventContentTreasureRewardExcel(builder);
} }
public static void StartEventContentTreasureRewardExcel(FlatBufferBuilder builder) { builder.StartTable(10); } public static void StartEventContentTreasureRewardExcel(FlatBufferBuilder builder) { builder.StartTable(11); }
public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); }
public static void AddLocalizeCodeID(FlatBufferBuilder builder, StringOffset localizeCodeIDOffset) { builder.AddOffset(1, localizeCodeIDOffset.Value, 0); } public static void AddLocalizeCodeID(FlatBufferBuilder builder, StringOffset localizeCodeIDOffset) { builder.AddOffset(1, localizeCodeIDOffset.Value, 0); }
public static void AddCellUnderImageWidth(FlatBufferBuilder builder, int cellUnderImageWidth) { builder.AddInt(2, cellUnderImageWidth, 0); } public static void AddCellUnderImageWidth(FlatBufferBuilder builder, int cellUnderImageWidth) { builder.AddInt(2, cellUnderImageWidth, 0); }
@ -121,6 +130,7 @@ public struct EventContentTreasureRewardExcel : IFlatbufferObject
public static void StartRewardParcelAmountVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } public static void StartRewardParcelAmountVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); }
public static void AddCellUnderImagePath(FlatBufferBuilder builder, StringOffset cellUnderImagePathOffset) { builder.AddOffset(8, cellUnderImagePathOffset.Value, 0); } public static void AddCellUnderImagePath(FlatBufferBuilder builder, StringOffset cellUnderImagePathOffset) { builder.AddOffset(8, cellUnderImagePathOffset.Value, 0); }
public static void AddTreasureSmallImagePath(FlatBufferBuilder builder, StringOffset treasureSmallImagePathOffset) { builder.AddOffset(9, treasureSmallImagePathOffset.Value, 0); } public static void AddTreasureSmallImagePath(FlatBufferBuilder builder, StringOffset treasureSmallImagePathOffset) { builder.AddOffset(9, treasureSmallImagePathOffset.Value, 0); }
public static void AddTreasureSizeIconPath(FlatBufferBuilder builder, StringOffset treasureSizeIconPathOffset) { builder.AddOffset(10, treasureSizeIconPathOffset.Value, 0); }
public static Offset<SCHALE.Common.FlatData.EventContentTreasureRewardExcel> EndEventContentTreasureRewardExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.EventContentTreasureRewardExcel> EndEventContentTreasureRewardExcel(FlatBufferBuilder builder) {
int o = builder.EndTable(); int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.EventContentTreasureRewardExcel>(o); return new Offset<SCHALE.Common.FlatData.EventContentTreasureRewardExcel>(o);
@ -145,6 +155,7 @@ public struct EventContentTreasureRewardExcel : IFlatbufferObject
for (var _j = 0; _j < this.RewardParcelAmountLength; ++_j) {_o.RewardParcelAmount.Add(TableEncryptionService.Convert(this.RewardParcelAmount(_j), key));} for (var _j = 0; _j < this.RewardParcelAmountLength; ++_j) {_o.RewardParcelAmount.Add(TableEncryptionService.Convert(this.RewardParcelAmount(_j), key));}
_o.CellUnderImagePath = TableEncryptionService.Convert(this.CellUnderImagePath, key); _o.CellUnderImagePath = TableEncryptionService.Convert(this.CellUnderImagePath, key);
_o.TreasureSmallImagePath = TableEncryptionService.Convert(this.TreasureSmallImagePath, key); _o.TreasureSmallImagePath = TableEncryptionService.Convert(this.TreasureSmallImagePath, key);
_o.TreasureSizeIconPath = TableEncryptionService.Convert(this.TreasureSizeIconPath, key);
} }
public static Offset<SCHALE.Common.FlatData.EventContentTreasureRewardExcel> Pack(FlatBufferBuilder builder, EventContentTreasureRewardExcelT _o) { public static Offset<SCHALE.Common.FlatData.EventContentTreasureRewardExcel> Pack(FlatBufferBuilder builder, EventContentTreasureRewardExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.EventContentTreasureRewardExcel>); if (_o == null) return default(Offset<SCHALE.Common.FlatData.EventContentTreasureRewardExcel>);
@ -166,6 +177,7 @@ public struct EventContentTreasureRewardExcel : IFlatbufferObject
} }
var _CellUnderImagePath = _o.CellUnderImagePath == null ? default(StringOffset) : builder.CreateString(_o.CellUnderImagePath); var _CellUnderImagePath = _o.CellUnderImagePath == null ? default(StringOffset) : builder.CreateString(_o.CellUnderImagePath);
var _TreasureSmallImagePath = _o.TreasureSmallImagePath == null ? default(StringOffset) : builder.CreateString(_o.TreasureSmallImagePath); var _TreasureSmallImagePath = _o.TreasureSmallImagePath == null ? default(StringOffset) : builder.CreateString(_o.TreasureSmallImagePath);
var _TreasureSizeIconPath = _o.TreasureSizeIconPath == null ? default(StringOffset) : builder.CreateString(_o.TreasureSizeIconPath);
return CreateEventContentTreasureRewardExcel( return CreateEventContentTreasureRewardExcel(
builder, builder,
_o.Id, _o.Id,
@ -177,7 +189,8 @@ public struct EventContentTreasureRewardExcel : IFlatbufferObject
_RewardParcelId, _RewardParcelId,
_RewardParcelAmount, _RewardParcelAmount,
_CellUnderImagePath, _CellUnderImagePath,
_TreasureSmallImagePath); _TreasureSmallImagePath,
_TreasureSizeIconPath);
} }
} }
@ -193,6 +206,7 @@ public class EventContentTreasureRewardExcelT
public List<long> RewardParcelAmount { get; set; } public List<long> RewardParcelAmount { get; set; }
public string CellUnderImagePath { get; set; } public string CellUnderImagePath { get; set; }
public string TreasureSmallImagePath { get; set; } public string TreasureSmallImagePath { get; set; }
public string TreasureSizeIconPath { get; set; }
public EventContentTreasureRewardExcelT() { public EventContentTreasureRewardExcelT() {
this.Id = 0; this.Id = 0;
@ -205,6 +219,7 @@ public class EventContentTreasureRewardExcelT
this.RewardParcelAmount = null; this.RewardParcelAmount = null;
this.CellUnderImagePath = null; this.CellUnderImagePath = null;
this.TreasureSmallImagePath = null; this.TreasureSmallImagePath = null;
this.TreasureSizeIconPath = null;
} }
} }
@ -224,6 +239,7 @@ static public class EventContentTreasureRewardExcelVerify
&& verifier.VerifyVectorOfData(tablePos, 18 /*RewardParcelAmount*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 18 /*RewardParcelAmount*/, 8 /*long*/, false)
&& verifier.VerifyString(tablePos, 20 /*CellUnderImagePath*/, false) && verifier.VerifyString(tablePos, 20 /*CellUnderImagePath*/, false)
&& verifier.VerifyString(tablePos, 22 /*TreasureSmallImagePath*/, false) && verifier.VerifyString(tablePos, 22 /*TreasureSmallImagePath*/, false)
&& verifier.VerifyString(tablePos, 24 /*TreasureSizeIconPath*/, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);
} }
} }

View File

@ -21,9 +21,9 @@ public struct FarmingDungeonLocationManageExcel : IFlatbufferObject
public FarmingDungeonLocationManageExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public FarmingDungeonLocationManageExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long FarmingDungeonLocationId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long FarmingDungeonLocationId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.ContentType ContentType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } public SCHALE.Common.FlatData.ContentType ContentType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } }
public SCHALE.Common.FlatData.WeekDungeonType WeekDungeonType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.WeekDungeonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeekDungeonType.None; } } public SCHALE.Common.FlatData.WeekDungeonType WeekDungeonType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.WeekDungeonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeekDungeonType.None; } }
public SCHALE.Common.FlatData.SchoolDungeonType SchoolDungeonType_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.SchoolDungeonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.SchoolDungeonType.SchoolA; } } public SCHALE.Common.FlatData.SchoolDungeonType SchoolDungeonType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.SchoolDungeonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.SchoolDungeonType.SchoolA; } }
public long Order { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long Order { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public string OpenStartDateTime { get { int o = __p.__offset(14); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string OpenStartDateTime { get { int o = __p.__offset(14); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
@ -51,9 +51,9 @@ public struct FarmingDungeonLocationManageExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.FarmingDungeonLocationManageExcel> CreateFarmingDungeonLocationManageExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.FarmingDungeonLocationManageExcel> CreateFarmingDungeonLocationManageExcel(FlatBufferBuilder builder,
long FarmingDungeonLocationId = 0, long FarmingDungeonLocationId = 0,
SCHALE.Common.FlatData.ContentType ContentType_ = SCHALE.Common.FlatData.ContentType.None, SCHALE.Common.FlatData.ContentType ContentType = SCHALE.Common.FlatData.ContentType.None,
SCHALE.Common.FlatData.WeekDungeonType WeekDungeonType_ = SCHALE.Common.FlatData.WeekDungeonType.None, SCHALE.Common.FlatData.WeekDungeonType WeekDungeonType = SCHALE.Common.FlatData.WeekDungeonType.None,
SCHALE.Common.FlatData.SchoolDungeonType SchoolDungeonType_ = SCHALE.Common.FlatData.SchoolDungeonType.SchoolA, SCHALE.Common.FlatData.SchoolDungeonType SchoolDungeonType = SCHALE.Common.FlatData.SchoolDungeonType.SchoolA,
long Order = 0, long Order = 0,
StringOffset OpenStartDateTimeOffset = default(StringOffset), StringOffset OpenStartDateTimeOffset = default(StringOffset),
StringOffset OpenEndDateTimeOffset = default(StringOffset), StringOffset OpenEndDateTimeOffset = default(StringOffset),
@ -68,17 +68,17 @@ public struct FarmingDungeonLocationManageExcel : IFlatbufferObject
FarmingDungeonLocationManageExcel.AddLocationButtonImagePath(builder, LocationButtonImagePathOffset); FarmingDungeonLocationManageExcel.AddLocationButtonImagePath(builder, LocationButtonImagePathOffset);
FarmingDungeonLocationManageExcel.AddOpenEndDateTime(builder, OpenEndDateTimeOffset); FarmingDungeonLocationManageExcel.AddOpenEndDateTime(builder, OpenEndDateTimeOffset);
FarmingDungeonLocationManageExcel.AddOpenStartDateTime(builder, OpenStartDateTimeOffset); FarmingDungeonLocationManageExcel.AddOpenStartDateTime(builder, OpenStartDateTimeOffset);
FarmingDungeonLocationManageExcel.AddSchoolDungeonType_(builder, SchoolDungeonType_); FarmingDungeonLocationManageExcel.AddSchoolDungeonType(builder, SchoolDungeonType);
FarmingDungeonLocationManageExcel.AddWeekDungeonType_(builder, WeekDungeonType_); FarmingDungeonLocationManageExcel.AddWeekDungeonType(builder, WeekDungeonType);
FarmingDungeonLocationManageExcel.AddContentType_(builder, ContentType_); FarmingDungeonLocationManageExcel.AddContentType(builder, ContentType);
return FarmingDungeonLocationManageExcel.EndFarmingDungeonLocationManageExcel(builder); return FarmingDungeonLocationManageExcel.EndFarmingDungeonLocationManageExcel(builder);
} }
public static void StartFarmingDungeonLocationManageExcel(FlatBufferBuilder builder) { builder.StartTable(10); } public static void StartFarmingDungeonLocationManageExcel(FlatBufferBuilder builder) { builder.StartTable(10); }
public static void AddFarmingDungeonLocationId(FlatBufferBuilder builder, long farmingDungeonLocationId) { builder.AddLong(0, farmingDungeonLocationId, 0); } public static void AddFarmingDungeonLocationId(FlatBufferBuilder builder, long farmingDungeonLocationId) { builder.AddLong(0, farmingDungeonLocationId, 0); }
public static void AddContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType_) { builder.AddInt(1, (int)contentType_, 0); } public static void AddContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType) { builder.AddInt(1, (int)contentType, 0); }
public static void AddWeekDungeonType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeekDungeonType weekDungeonType_) { builder.AddInt(2, (int)weekDungeonType_, 0); } public static void AddWeekDungeonType(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeekDungeonType weekDungeonType) { builder.AddInt(2, (int)weekDungeonType, 0); }
public static void AddSchoolDungeonType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.SchoolDungeonType schoolDungeonType_) { builder.AddInt(3, (int)schoolDungeonType_, 0); } public static void AddSchoolDungeonType(FlatBufferBuilder builder, SCHALE.Common.FlatData.SchoolDungeonType schoolDungeonType) { builder.AddInt(3, (int)schoolDungeonType, 0); }
public static void AddOrder(FlatBufferBuilder builder, long order) { builder.AddLong(4, order, 0); } public static void AddOrder(FlatBufferBuilder builder, long order) { builder.AddLong(4, order, 0); }
public static void AddOpenStartDateTime(FlatBufferBuilder builder, StringOffset openStartDateTimeOffset) { builder.AddOffset(5, openStartDateTimeOffset.Value, 0); } public static void AddOpenStartDateTime(FlatBufferBuilder builder, StringOffset openStartDateTimeOffset) { builder.AddOffset(5, openStartDateTimeOffset.Value, 0); }
public static void AddOpenEndDateTime(FlatBufferBuilder builder, StringOffset openEndDateTimeOffset) { builder.AddOffset(6, openEndDateTimeOffset.Value, 0); } public static void AddOpenEndDateTime(FlatBufferBuilder builder, StringOffset openEndDateTimeOffset) { builder.AddOffset(6, openEndDateTimeOffset.Value, 0); }
@ -97,9 +97,9 @@ public struct FarmingDungeonLocationManageExcel : IFlatbufferObject
public void UnPackTo(FarmingDungeonLocationManageExcelT _o) { public void UnPackTo(FarmingDungeonLocationManageExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("FarmingDungeonLocationManage"); byte[] key = TableEncryptionService.CreateKey("FarmingDungeonLocationManage");
_o.FarmingDungeonLocationId = TableEncryptionService.Convert(this.FarmingDungeonLocationId, key); _o.FarmingDungeonLocationId = TableEncryptionService.Convert(this.FarmingDungeonLocationId, key);
_o.ContentType_ = TableEncryptionService.Convert(this.ContentType_, key); _o.ContentType = TableEncryptionService.Convert(this.ContentType, key);
_o.WeekDungeonType_ = TableEncryptionService.Convert(this.WeekDungeonType_, key); _o.WeekDungeonType = TableEncryptionService.Convert(this.WeekDungeonType, key);
_o.SchoolDungeonType_ = TableEncryptionService.Convert(this.SchoolDungeonType_, key); _o.SchoolDungeonType = TableEncryptionService.Convert(this.SchoolDungeonType, key);
_o.Order = TableEncryptionService.Convert(this.Order, key); _o.Order = TableEncryptionService.Convert(this.Order, key);
_o.OpenStartDateTime = TableEncryptionService.Convert(this.OpenStartDateTime, key); _o.OpenStartDateTime = TableEncryptionService.Convert(this.OpenStartDateTime, key);
_o.OpenEndDateTime = TableEncryptionService.Convert(this.OpenEndDateTime, key); _o.OpenEndDateTime = TableEncryptionService.Convert(this.OpenEndDateTime, key);
@ -115,9 +115,9 @@ public struct FarmingDungeonLocationManageExcel : IFlatbufferObject
return CreateFarmingDungeonLocationManageExcel( return CreateFarmingDungeonLocationManageExcel(
builder, builder,
_o.FarmingDungeonLocationId, _o.FarmingDungeonLocationId,
_o.ContentType_, _o.ContentType,
_o.WeekDungeonType_, _o.WeekDungeonType,
_o.SchoolDungeonType_, _o.SchoolDungeonType,
_o.Order, _o.Order,
_OpenStartDateTime, _OpenStartDateTime,
_OpenEndDateTime, _OpenEndDateTime,
@ -130,9 +130,9 @@ public struct FarmingDungeonLocationManageExcel : IFlatbufferObject
public class FarmingDungeonLocationManageExcelT public class FarmingDungeonLocationManageExcelT
{ {
public long FarmingDungeonLocationId { get; set; } public long FarmingDungeonLocationId { get; set; }
public SCHALE.Common.FlatData.ContentType ContentType_ { get; set; } public SCHALE.Common.FlatData.ContentType ContentType { get; set; }
public SCHALE.Common.FlatData.WeekDungeonType WeekDungeonType_ { get; set; } public SCHALE.Common.FlatData.WeekDungeonType WeekDungeonType { get; set; }
public SCHALE.Common.FlatData.SchoolDungeonType SchoolDungeonType_ { get; set; } public SCHALE.Common.FlatData.SchoolDungeonType SchoolDungeonType { get; set; }
public long Order { get; set; } public long Order { get; set; }
public string OpenStartDateTime { get; set; } public string OpenStartDateTime { get; set; }
public string OpenEndDateTime { get; set; } public string OpenEndDateTime { get; set; }
@ -142,9 +142,9 @@ public class FarmingDungeonLocationManageExcelT
public FarmingDungeonLocationManageExcelT() { public FarmingDungeonLocationManageExcelT() {
this.FarmingDungeonLocationId = 0; this.FarmingDungeonLocationId = 0;
this.ContentType_ = SCHALE.Common.FlatData.ContentType.None; this.ContentType = SCHALE.Common.FlatData.ContentType.None;
this.WeekDungeonType_ = SCHALE.Common.FlatData.WeekDungeonType.None; this.WeekDungeonType = SCHALE.Common.FlatData.WeekDungeonType.None;
this.SchoolDungeonType_ = SCHALE.Common.FlatData.SchoolDungeonType.SchoolA; this.SchoolDungeonType = SCHALE.Common.FlatData.SchoolDungeonType.SchoolA;
this.Order = 0; this.Order = 0;
this.OpenStartDateTime = null; this.OpenStartDateTime = null;
this.OpenEndDateTime = null; this.OpenEndDateTime = null;
@ -161,9 +161,9 @@ static public class FarmingDungeonLocationManageExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*FarmingDungeonLocationId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*FarmingDungeonLocationId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*ContentType_*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*ContentType*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*WeekDungeonType_*/, 4 /*SCHALE.Common.FlatData.WeekDungeonType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*WeekDungeonType*/, 4 /*SCHALE.Common.FlatData.WeekDungeonType*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*SchoolDungeonType_*/, 4 /*SCHALE.Common.FlatData.SchoolDungeonType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*SchoolDungeonType*/, 4 /*SCHALE.Common.FlatData.SchoolDungeonType*/, 4, false)
&& verifier.VerifyField(tablePos, 12 /*Order*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*Order*/, 8 /*long*/, 8, false)
&& verifier.VerifyString(tablePos, 14 /*OpenStartDateTime*/, false) && verifier.VerifyString(tablePos, 14 /*OpenStartDateTime*/, false)
&& verifier.VerifyString(tablePos, 16 /*OpenEndDateTime*/, false) && verifier.VerifyString(tablePos, 16 /*OpenEndDateTime*/, false)

View File

@ -1,88 +0,0 @@
// <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::SCHALE.Common.Crypto;
using global::Google.FlatBuffers;
public struct FarmingDungeonLocationManageExcelTable : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static FarmingDungeonLocationManageExcelTable GetRootAsFarmingDungeonLocationManageExcelTable(ByteBuffer _bb) { return GetRootAsFarmingDungeonLocationManageExcelTable(_bb, new FarmingDungeonLocationManageExcelTable()); }
public static FarmingDungeonLocationManageExcelTable GetRootAsFarmingDungeonLocationManageExcelTable(ByteBuffer _bb, FarmingDungeonLocationManageExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public FarmingDungeonLocationManageExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.FarmingDungeonLocationManageExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.FarmingDungeonLocationManageExcel?)(new SCHALE.Common.FlatData.FarmingDungeonLocationManageExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; }
public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } }
public static Offset<SCHALE.Common.FlatData.FarmingDungeonLocationManageExcelTable> CreateFarmingDungeonLocationManageExcelTable(FlatBufferBuilder builder,
VectorOffset DataListOffset = default(VectorOffset)) {
builder.StartTable(1);
FarmingDungeonLocationManageExcelTable.AddDataList(builder, DataListOffset);
return FarmingDungeonLocationManageExcelTable.EndFarmingDungeonLocationManageExcelTable(builder);
}
public static void StartFarmingDungeonLocationManageExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); }
public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); }
public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.FarmingDungeonLocationManageExcel>[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.FarmingDungeonLocationManageExcel>[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<SCHALE.Common.FlatData.FarmingDungeonLocationManageExcel>> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<Offset<SCHALE.Common.FlatData.FarmingDungeonLocationManageExcel>>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.FarmingDungeonLocationManageExcelTable> EndFarmingDungeonLocationManageExcelTable(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.FarmingDungeonLocationManageExcelTable>(o);
}
public FarmingDungeonLocationManageExcelTableT UnPack() {
var _o = new FarmingDungeonLocationManageExcelTableT();
this.UnPackTo(_o);
return _o;
}
public void UnPackTo(FarmingDungeonLocationManageExcelTableT _o) {
byte[] key = TableEncryptionService.CreateKey("FarmingDungeonLocationManageExcel");
_o.DataList = new List<SCHALE.Common.FlatData.FarmingDungeonLocationManageExcelT>();
for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);}
}
public static Offset<SCHALE.Common.FlatData.FarmingDungeonLocationManageExcelTable> Pack(FlatBufferBuilder builder, FarmingDungeonLocationManageExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.FarmingDungeonLocationManageExcelTable>);
var _DataList = default(VectorOffset);
if (_o.DataList != null) {
var __DataList = new Offset<SCHALE.Common.FlatData.FarmingDungeonLocationManageExcel>[_o.DataList.Count];
for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.FarmingDungeonLocationManageExcel.Pack(builder, _o.DataList[_j]); }
_DataList = CreateDataListVector(builder, __DataList);
}
return CreateFarmingDungeonLocationManageExcelTable(
builder,
_DataList);
}
}
public class FarmingDungeonLocationManageExcelTableT
{
public List<SCHALE.Common.FlatData.FarmingDungeonLocationManageExcelT> DataList { get; set; }
public FarmingDungeonLocationManageExcelTableT() {
this.DataList = null;
}
}
static public class FarmingDungeonLocationManageExcelTableVerify
{
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{
return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.FarmingDungeonLocationManageExcelVerify.Verify, false)
&& verifier.VerifyTableEnd(tablePos);
}
}
}

View File

@ -1,88 +0,0 @@
// <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::SCHALE.Common.Crypto;
using global::Google.FlatBuffers;
public struct FavorLevelExcelTable : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static FavorLevelExcelTable GetRootAsFavorLevelExcelTable(ByteBuffer _bb) { return GetRootAsFavorLevelExcelTable(_bb, new FavorLevelExcelTable()); }
public static FavorLevelExcelTable GetRootAsFavorLevelExcelTable(ByteBuffer _bb, FavorLevelExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public FavorLevelExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.FavorLevelExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.FavorLevelExcel?)(new SCHALE.Common.FlatData.FavorLevelExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; }
public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } }
public static Offset<SCHALE.Common.FlatData.FavorLevelExcelTable> CreateFavorLevelExcelTable(FlatBufferBuilder builder,
VectorOffset DataListOffset = default(VectorOffset)) {
builder.StartTable(1);
FavorLevelExcelTable.AddDataList(builder, DataListOffset);
return FavorLevelExcelTable.EndFavorLevelExcelTable(builder);
}
public static void StartFavorLevelExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); }
public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); }
public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.FavorLevelExcel>[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.FavorLevelExcel>[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<SCHALE.Common.FlatData.FavorLevelExcel>> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<Offset<SCHALE.Common.FlatData.FavorLevelExcel>>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.FavorLevelExcelTable> EndFavorLevelExcelTable(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.FavorLevelExcelTable>(o);
}
public FavorLevelExcelTableT UnPack() {
var _o = new FavorLevelExcelTableT();
this.UnPackTo(_o);
return _o;
}
public void UnPackTo(FavorLevelExcelTableT _o) {
byte[] key = TableEncryptionService.CreateKey("FavorLevelExcel");
_o.DataList = new List<SCHALE.Common.FlatData.FavorLevelExcelT>();
for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);}
}
public static Offset<SCHALE.Common.FlatData.FavorLevelExcelTable> Pack(FlatBufferBuilder builder, FavorLevelExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.FavorLevelExcelTable>);
var _DataList = default(VectorOffset);
if (_o.DataList != null) {
var __DataList = new Offset<SCHALE.Common.FlatData.FavorLevelExcel>[_o.DataList.Count];
for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.FavorLevelExcel.Pack(builder, _o.DataList[_j]); }
_DataList = CreateDataListVector(builder, __DataList);
}
return CreateFavorLevelExcelTable(
builder,
_DataList);
}
}
public class FavorLevelExcelTableT
{
public List<SCHALE.Common.FlatData.FavorLevelExcelT> DataList { get; set; }
public FavorLevelExcelTableT() {
this.DataList = null;
}
}
static public class FavorLevelExcelTableVerify
{
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{
return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.FavorLevelExcelVerify.Verify, false)
&& verifier.VerifyTableEnd(tablePos);
}
}
}

View File

@ -1,88 +0,0 @@
// <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::SCHALE.Common.Crypto;
using global::Google.FlatBuffers;
public struct FavorLevelRewardExcelTable : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static FavorLevelRewardExcelTable GetRootAsFavorLevelRewardExcelTable(ByteBuffer _bb) { return GetRootAsFavorLevelRewardExcelTable(_bb, new FavorLevelRewardExcelTable()); }
public static FavorLevelRewardExcelTable GetRootAsFavorLevelRewardExcelTable(ByteBuffer _bb, FavorLevelRewardExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public FavorLevelRewardExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.FavorLevelRewardExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.FavorLevelRewardExcel?)(new SCHALE.Common.FlatData.FavorLevelRewardExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; }
public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } }
public static Offset<SCHALE.Common.FlatData.FavorLevelRewardExcelTable> CreateFavorLevelRewardExcelTable(FlatBufferBuilder builder,
VectorOffset DataListOffset = default(VectorOffset)) {
builder.StartTable(1);
FavorLevelRewardExcelTable.AddDataList(builder, DataListOffset);
return FavorLevelRewardExcelTable.EndFavorLevelRewardExcelTable(builder);
}
public static void StartFavorLevelRewardExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); }
public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); }
public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.FavorLevelRewardExcel>[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.FavorLevelRewardExcel>[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<SCHALE.Common.FlatData.FavorLevelRewardExcel>> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<Offset<SCHALE.Common.FlatData.FavorLevelRewardExcel>>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.FavorLevelRewardExcelTable> EndFavorLevelRewardExcelTable(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.FavorLevelRewardExcelTable>(o);
}
public FavorLevelRewardExcelTableT UnPack() {
var _o = new FavorLevelRewardExcelTableT();
this.UnPackTo(_o);
return _o;
}
public void UnPackTo(FavorLevelRewardExcelTableT _o) {
byte[] key = TableEncryptionService.CreateKey("FavorLevelRewardExcel");
_o.DataList = new List<SCHALE.Common.FlatData.FavorLevelRewardExcelT>();
for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);}
}
public static Offset<SCHALE.Common.FlatData.FavorLevelRewardExcelTable> Pack(FlatBufferBuilder builder, FavorLevelRewardExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.FavorLevelRewardExcelTable>);
var _DataList = default(VectorOffset);
if (_o.DataList != null) {
var __DataList = new Offset<SCHALE.Common.FlatData.FavorLevelRewardExcel>[_o.DataList.Count];
for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.FavorLevelRewardExcel.Pack(builder, _o.DataList[_j]); }
_DataList = CreateDataListVector(builder, __DataList);
}
return CreateFavorLevelRewardExcelTable(
builder,
_DataList);
}
}
public class FavorLevelRewardExcelTableT
{
public List<SCHALE.Common.FlatData.FavorLevelRewardExcelT> DataList { get; set; }
public FavorLevelRewardExcelTableT() {
this.DataList = null;
}
}
static public class FavorLevelRewardExcelTableVerify
{
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{
return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.FavorLevelRewardExcelVerify.Verify, false)
&& verifier.VerifyTableEnd(tablePos);
}
}
}

View File

@ -24,7 +24,7 @@ public struct FieldContentStageExcel : IFlatbufferObject
public long SeasonId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long SeasonId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long AreaId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long AreaId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long GroupId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long GroupId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.StageDifficulty StageDifficulty_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.StageDifficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageDifficulty.None; } } public SCHALE.Common.FlatData.StageDifficulty StageDifficulty { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.StageDifficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageDifficulty.None; } }
public string Name { get { int o = __p.__offset(14); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string Name { get { int o = __p.__offset(14); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
public Span<byte> GetNameBytes() { return __p.__vector_as_span<byte>(14, 1); } public Span<byte> GetNameBytes() { return __p.__vector_as_span<byte>(14, 1); }
@ -36,7 +36,7 @@ public struct FieldContentStageExcel : IFlatbufferObject
public SCHALE.Common.FlatData.ParcelType StageEnterCostType { get { int o = __p.__offset(18); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public SCHALE.Common.FlatData.ParcelType StageEnterCostType { get { int o = __p.__offset(18); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } }
public long StageEnterCostId { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long StageEnterCostId { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public int StageEnterCostAmount { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int StageEnterCostAmount { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public SCHALE.Common.FlatData.StageTopography StageTopography_ { get { int o = __p.__offset(24); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } public SCHALE.Common.FlatData.StageTopography StageTopography { get { int o = __p.__offset(24); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } }
public int RecommandLevel { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int RecommandLevel { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public long GroundID { get { int o = __p.__offset(28); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long GroundID { get { int o = __p.__offset(28); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long BGMId { get { int o = __p.__offset(30); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long BGMId { get { int o = __p.__offset(30); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -49,13 +49,13 @@ public struct FieldContentStageExcel : IFlatbufferObject
long SeasonId = 0, long SeasonId = 0,
long AreaId = 0, long AreaId = 0,
long GroupId = 0, long GroupId = 0,
SCHALE.Common.FlatData.StageDifficulty StageDifficulty_ = SCHALE.Common.FlatData.StageDifficulty.None, SCHALE.Common.FlatData.StageDifficulty StageDifficulty = SCHALE.Common.FlatData.StageDifficulty.None,
StringOffset NameOffset = default(StringOffset), StringOffset NameOffset = default(StringOffset),
long BattleDuration = 0, long BattleDuration = 0,
SCHALE.Common.FlatData.ParcelType StageEnterCostType = SCHALE.Common.FlatData.ParcelType.None, SCHALE.Common.FlatData.ParcelType StageEnterCostType = SCHALE.Common.FlatData.ParcelType.None,
long StageEnterCostId = 0, long StageEnterCostId = 0,
int StageEnterCostAmount = 0, int StageEnterCostAmount = 0,
SCHALE.Common.FlatData.StageTopography StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street, SCHALE.Common.FlatData.StageTopography StageTopography = SCHALE.Common.FlatData.StageTopography.Street,
int RecommandLevel = 0, int RecommandLevel = 0,
long GroundID = 0, long GroundID = 0,
long BGMId = 0, long BGMId = 0,
@ -73,11 +73,11 @@ public struct FieldContentStageExcel : IFlatbufferObject
FieldContentStageExcel.AddSeasonId(builder, SeasonId); FieldContentStageExcel.AddSeasonId(builder, SeasonId);
FieldContentStageExcel.AddId(builder, Id); FieldContentStageExcel.AddId(builder, Id);
FieldContentStageExcel.AddRecommandLevel(builder, RecommandLevel); FieldContentStageExcel.AddRecommandLevel(builder, RecommandLevel);
FieldContentStageExcel.AddStageTopography_(builder, StageTopography_); FieldContentStageExcel.AddStageTopography(builder, StageTopography);
FieldContentStageExcel.AddStageEnterCostAmount(builder, StageEnterCostAmount); FieldContentStageExcel.AddStageEnterCostAmount(builder, StageEnterCostAmount);
FieldContentStageExcel.AddStageEnterCostType(builder, StageEnterCostType); FieldContentStageExcel.AddStageEnterCostType(builder, StageEnterCostType);
FieldContentStageExcel.AddName(builder, NameOffset); FieldContentStageExcel.AddName(builder, NameOffset);
FieldContentStageExcel.AddStageDifficulty_(builder, StageDifficulty_); FieldContentStageExcel.AddStageDifficulty(builder, StageDifficulty);
FieldContentStageExcel.AddSkipFormationSettings(builder, SkipFormationSettings); FieldContentStageExcel.AddSkipFormationSettings(builder, SkipFormationSettings);
FieldContentStageExcel.AddInstantClear(builder, InstantClear); FieldContentStageExcel.AddInstantClear(builder, InstantClear);
return FieldContentStageExcel.EndFieldContentStageExcel(builder); return FieldContentStageExcel.EndFieldContentStageExcel(builder);
@ -88,13 +88,13 @@ public struct FieldContentStageExcel : IFlatbufferObject
public static void AddSeasonId(FlatBufferBuilder builder, long seasonId) { builder.AddLong(1, seasonId, 0); } public static void AddSeasonId(FlatBufferBuilder builder, long seasonId) { builder.AddLong(1, seasonId, 0); }
public static void AddAreaId(FlatBufferBuilder builder, long areaId) { builder.AddLong(2, areaId, 0); } public static void AddAreaId(FlatBufferBuilder builder, long areaId) { builder.AddLong(2, areaId, 0); }
public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(3, groupId, 0); } public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(3, groupId, 0); }
public static void AddStageDifficulty_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageDifficulty stageDifficulty_) { builder.AddInt(4, (int)stageDifficulty_, 0); } public static void AddStageDifficulty(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageDifficulty stageDifficulty) { builder.AddInt(4, (int)stageDifficulty, 0); }
public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(5, nameOffset.Value, 0); } public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(5, nameOffset.Value, 0); }
public static void AddBattleDuration(FlatBufferBuilder builder, long battleDuration) { builder.AddLong(6, battleDuration, 0); } public static void AddBattleDuration(FlatBufferBuilder builder, long battleDuration) { builder.AddLong(6, battleDuration, 0); }
public static void AddStageEnterCostType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType stageEnterCostType) { builder.AddInt(7, (int)stageEnterCostType, 0); } public static void AddStageEnterCostType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType stageEnterCostType) { builder.AddInt(7, (int)stageEnterCostType, 0); }
public static void AddStageEnterCostId(FlatBufferBuilder builder, long stageEnterCostId) { builder.AddLong(8, stageEnterCostId, 0); } public static void AddStageEnterCostId(FlatBufferBuilder builder, long stageEnterCostId) { builder.AddLong(8, stageEnterCostId, 0); }
public static void AddStageEnterCostAmount(FlatBufferBuilder builder, int stageEnterCostAmount) { builder.AddInt(9, stageEnterCostAmount, 0); } public static void AddStageEnterCostAmount(FlatBufferBuilder builder, int stageEnterCostAmount) { builder.AddInt(9, stageEnterCostAmount, 0); }
public static void AddStageTopography_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography_) { builder.AddInt(10, (int)stageTopography_, 0); } public static void AddStageTopography(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography) { builder.AddInt(10, (int)stageTopography, 0); }
public static void AddRecommandLevel(FlatBufferBuilder builder, int recommandLevel) { builder.AddInt(11, recommandLevel, 0); } public static void AddRecommandLevel(FlatBufferBuilder builder, int recommandLevel) { builder.AddInt(11, recommandLevel, 0); }
public static void AddGroundID(FlatBufferBuilder builder, long groundID) { builder.AddLong(12, groundID, 0); } public static void AddGroundID(FlatBufferBuilder builder, long groundID) { builder.AddLong(12, groundID, 0); }
public static void AddBGMId(FlatBufferBuilder builder, long bGMId) { builder.AddLong(13, bGMId, 0); } public static void AddBGMId(FlatBufferBuilder builder, long bGMId) { builder.AddLong(13, bGMId, 0); }
@ -116,13 +116,13 @@ public struct FieldContentStageExcel : IFlatbufferObject
_o.SeasonId = TableEncryptionService.Convert(this.SeasonId, key); _o.SeasonId = TableEncryptionService.Convert(this.SeasonId, key);
_o.AreaId = TableEncryptionService.Convert(this.AreaId, key); _o.AreaId = TableEncryptionService.Convert(this.AreaId, key);
_o.GroupId = TableEncryptionService.Convert(this.GroupId, key); _o.GroupId = TableEncryptionService.Convert(this.GroupId, key);
_o.StageDifficulty_ = TableEncryptionService.Convert(this.StageDifficulty_, key); _o.StageDifficulty = TableEncryptionService.Convert(this.StageDifficulty, key);
_o.Name = TableEncryptionService.Convert(this.Name, key); _o.Name = TableEncryptionService.Convert(this.Name, key);
_o.BattleDuration = TableEncryptionService.Convert(this.BattleDuration, key); _o.BattleDuration = TableEncryptionService.Convert(this.BattleDuration, key);
_o.StageEnterCostType = TableEncryptionService.Convert(this.StageEnterCostType, key); _o.StageEnterCostType = TableEncryptionService.Convert(this.StageEnterCostType, key);
_o.StageEnterCostId = TableEncryptionService.Convert(this.StageEnterCostId, key); _o.StageEnterCostId = TableEncryptionService.Convert(this.StageEnterCostId, key);
_o.StageEnterCostAmount = TableEncryptionService.Convert(this.StageEnterCostAmount, key); _o.StageEnterCostAmount = TableEncryptionService.Convert(this.StageEnterCostAmount, key);
_o.StageTopography_ = TableEncryptionService.Convert(this.StageTopography_, key); _o.StageTopography = TableEncryptionService.Convert(this.StageTopography, key);
_o.RecommandLevel = TableEncryptionService.Convert(this.RecommandLevel, key); _o.RecommandLevel = TableEncryptionService.Convert(this.RecommandLevel, key);
_o.GroundID = TableEncryptionService.Convert(this.GroundID, key); _o.GroundID = TableEncryptionService.Convert(this.GroundID, key);
_o.BGMId = TableEncryptionService.Convert(this.BGMId, key); _o.BGMId = TableEncryptionService.Convert(this.BGMId, key);
@ -139,13 +139,13 @@ public struct FieldContentStageExcel : IFlatbufferObject
_o.SeasonId, _o.SeasonId,
_o.AreaId, _o.AreaId,
_o.GroupId, _o.GroupId,
_o.StageDifficulty_, _o.StageDifficulty,
_Name, _Name,
_o.BattleDuration, _o.BattleDuration,
_o.StageEnterCostType, _o.StageEnterCostType,
_o.StageEnterCostId, _o.StageEnterCostId,
_o.StageEnterCostAmount, _o.StageEnterCostAmount,
_o.StageTopography_, _o.StageTopography,
_o.RecommandLevel, _o.RecommandLevel,
_o.GroundID, _o.GroundID,
_o.BGMId, _o.BGMId,
@ -161,13 +161,13 @@ public class FieldContentStageExcelT
public long SeasonId { get; set; } public long SeasonId { get; set; }
public long AreaId { get; set; } public long AreaId { get; set; }
public long GroupId { get; set; } public long GroupId { get; set; }
public SCHALE.Common.FlatData.StageDifficulty StageDifficulty_ { get; set; } public SCHALE.Common.FlatData.StageDifficulty StageDifficulty { get; set; }
public string Name { get; set; } public string Name { get; set; }
public long BattleDuration { get; set; } public long BattleDuration { get; set; }
public SCHALE.Common.FlatData.ParcelType StageEnterCostType { get; set; } public SCHALE.Common.FlatData.ParcelType StageEnterCostType { get; set; }
public long StageEnterCostId { get; set; } public long StageEnterCostId { get; set; }
public int StageEnterCostAmount { get; set; } public int StageEnterCostAmount { get; set; }
public SCHALE.Common.FlatData.StageTopography StageTopography_ { get; set; } public SCHALE.Common.FlatData.StageTopography StageTopography { get; set; }
public int RecommandLevel { get; set; } public int RecommandLevel { get; set; }
public long GroundID { get; set; } public long GroundID { get; set; }
public long BGMId { get; set; } public long BGMId { get; set; }
@ -180,13 +180,13 @@ public class FieldContentStageExcelT
this.SeasonId = 0; this.SeasonId = 0;
this.AreaId = 0; this.AreaId = 0;
this.GroupId = 0; this.GroupId = 0;
this.StageDifficulty_ = SCHALE.Common.FlatData.StageDifficulty.None; this.StageDifficulty = SCHALE.Common.FlatData.StageDifficulty.None;
this.Name = null; this.Name = null;
this.BattleDuration = 0; this.BattleDuration = 0;
this.StageEnterCostType = SCHALE.Common.FlatData.ParcelType.None; this.StageEnterCostType = SCHALE.Common.FlatData.ParcelType.None;
this.StageEnterCostId = 0; this.StageEnterCostId = 0;
this.StageEnterCostAmount = 0; this.StageEnterCostAmount = 0;
this.StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street; this.StageTopography = SCHALE.Common.FlatData.StageTopography.Street;
this.RecommandLevel = 0; this.RecommandLevel = 0;
this.GroundID = 0; this.GroundID = 0;
this.BGMId = 0; this.BGMId = 0;
@ -206,13 +206,13 @@ static public class FieldContentStageExcelVerify
&& verifier.VerifyField(tablePos, 6 /*SeasonId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*SeasonId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 8 /*AreaId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*AreaId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 10 /*GroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*GroupId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 12 /*StageDifficulty_*/, 4 /*SCHALE.Common.FlatData.StageDifficulty*/, 4, false) && verifier.VerifyField(tablePos, 12 /*StageDifficulty*/, 4 /*SCHALE.Common.FlatData.StageDifficulty*/, 4, false)
&& verifier.VerifyString(tablePos, 14 /*Name*/, false) && verifier.VerifyString(tablePos, 14 /*Name*/, false)
&& verifier.VerifyField(tablePos, 16 /*BattleDuration*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 16 /*BattleDuration*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 18 /*StageEnterCostType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 18 /*StageEnterCostType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false)
&& verifier.VerifyField(tablePos, 20 /*StageEnterCostId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 20 /*StageEnterCostId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 22 /*StageEnterCostAmount*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 22 /*StageEnterCostAmount*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 24 /*StageTopography_*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) && verifier.VerifyField(tablePos, 24 /*StageTopography*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false)
&& verifier.VerifyField(tablePos, 26 /*RecommandLevel*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 26 /*RecommandLevel*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 28 /*GroundID*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 28 /*GroundID*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 30 /*BGMId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 30 /*BGMId*/, 8 /*long*/, 8, false)

View File

@ -21,7 +21,7 @@ public struct FieldContentStageRewardExcel : IFlatbufferObject
public FieldContentStageRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public FieldContentStageRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long GroupId { 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(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.RewardTag RewardTag_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } public SCHALE.Common.FlatData.RewardTag RewardTag { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } }
public int RewardProb { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int RewardProb { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public SCHALE.Common.FlatData.ParcelType RewardParcelType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } }
public long RewardId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long RewardId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -30,7 +30,7 @@ public struct FieldContentStageRewardExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.FieldContentStageRewardExcel> CreateFieldContentStageRewardExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.FieldContentStageRewardExcel> CreateFieldContentStageRewardExcel(FlatBufferBuilder builder,
long GroupId = 0, long GroupId = 0,
SCHALE.Common.FlatData.RewardTag RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default, SCHALE.Common.FlatData.RewardTag RewardTag = SCHALE.Common.FlatData.RewardTag.Default,
int RewardProb = 0, int RewardProb = 0,
SCHALE.Common.FlatData.ParcelType RewardParcelType = SCHALE.Common.FlatData.ParcelType.None, SCHALE.Common.FlatData.ParcelType RewardParcelType = SCHALE.Common.FlatData.ParcelType.None,
long RewardId = 0, long RewardId = 0,
@ -42,14 +42,14 @@ public struct FieldContentStageRewardExcel : IFlatbufferObject
FieldContentStageRewardExcel.AddRewardAmount(builder, RewardAmount); FieldContentStageRewardExcel.AddRewardAmount(builder, RewardAmount);
FieldContentStageRewardExcel.AddRewardParcelType(builder, RewardParcelType); FieldContentStageRewardExcel.AddRewardParcelType(builder, RewardParcelType);
FieldContentStageRewardExcel.AddRewardProb(builder, RewardProb); FieldContentStageRewardExcel.AddRewardProb(builder, RewardProb);
FieldContentStageRewardExcel.AddRewardTag_(builder, RewardTag_); FieldContentStageRewardExcel.AddRewardTag(builder, RewardTag);
FieldContentStageRewardExcel.AddIsDisplayed(builder, IsDisplayed); FieldContentStageRewardExcel.AddIsDisplayed(builder, IsDisplayed);
return FieldContentStageRewardExcel.EndFieldContentStageRewardExcel(builder); return FieldContentStageRewardExcel.EndFieldContentStageRewardExcel(builder);
} }
public static void StartFieldContentStageRewardExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void StartFieldContentStageRewardExcel(FlatBufferBuilder builder) { builder.StartTable(7); }
public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(0, groupId, 0); } public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(0, groupId, 0); }
public static void AddRewardTag_(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag_) { builder.AddInt(1, (int)rewardTag_, 0); } public static void AddRewardTag(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag) { builder.AddInt(1, (int)rewardTag, 0); }
public static void AddRewardProb(FlatBufferBuilder builder, int rewardProb) { builder.AddInt(2, rewardProb, 0); } public static void AddRewardProb(FlatBufferBuilder builder, int rewardProb) { builder.AddInt(2, rewardProb, 0); }
public static void AddRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType rewardParcelType) { builder.AddInt(3, (int)rewardParcelType, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType rewardParcelType) { builder.AddInt(3, (int)rewardParcelType, 0); }
public static void AddRewardId(FlatBufferBuilder builder, long rewardId) { builder.AddLong(4, rewardId, 0); } public static void AddRewardId(FlatBufferBuilder builder, long rewardId) { builder.AddLong(4, rewardId, 0); }
@ -67,7 +67,7 @@ public struct FieldContentStageRewardExcel : IFlatbufferObject
public void UnPackTo(FieldContentStageRewardExcelT _o) { public void UnPackTo(FieldContentStageRewardExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("FieldContentStageReward"); byte[] key = TableEncryptionService.CreateKey("FieldContentStageReward");
_o.GroupId = TableEncryptionService.Convert(this.GroupId, key); _o.GroupId = TableEncryptionService.Convert(this.GroupId, key);
_o.RewardTag_ = TableEncryptionService.Convert(this.RewardTag_, key); _o.RewardTag = TableEncryptionService.Convert(this.RewardTag, key);
_o.RewardProb = TableEncryptionService.Convert(this.RewardProb, key); _o.RewardProb = TableEncryptionService.Convert(this.RewardProb, key);
_o.RewardParcelType = TableEncryptionService.Convert(this.RewardParcelType, key); _o.RewardParcelType = TableEncryptionService.Convert(this.RewardParcelType, key);
_o.RewardId = TableEncryptionService.Convert(this.RewardId, key); _o.RewardId = TableEncryptionService.Convert(this.RewardId, key);
@ -79,7 +79,7 @@ public struct FieldContentStageRewardExcel : IFlatbufferObject
return CreateFieldContentStageRewardExcel( return CreateFieldContentStageRewardExcel(
builder, builder,
_o.GroupId, _o.GroupId,
_o.RewardTag_, _o.RewardTag,
_o.RewardProb, _o.RewardProb,
_o.RewardParcelType, _o.RewardParcelType,
_o.RewardId, _o.RewardId,
@ -91,7 +91,7 @@ public struct FieldContentStageRewardExcel : IFlatbufferObject
public class FieldContentStageRewardExcelT public class FieldContentStageRewardExcelT
{ {
public long GroupId { get; set; } public long GroupId { get; set; }
public SCHALE.Common.FlatData.RewardTag RewardTag_ { get; set; } public SCHALE.Common.FlatData.RewardTag RewardTag { get; set; }
public int RewardProb { get; set; } public int RewardProb { get; set; }
public SCHALE.Common.FlatData.ParcelType RewardParcelType { get; set; } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get; set; }
public long RewardId { get; set; } public long RewardId { get; set; }
@ -100,7 +100,7 @@ public class FieldContentStageRewardExcelT
public FieldContentStageRewardExcelT() { public FieldContentStageRewardExcelT() {
this.GroupId = 0; this.GroupId = 0;
this.RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default; this.RewardTag = SCHALE.Common.FlatData.RewardTag.Default;
this.RewardProb = 0; this.RewardProb = 0;
this.RewardParcelType = SCHALE.Common.FlatData.ParcelType.None; this.RewardParcelType = SCHALE.Common.FlatData.ParcelType.None;
this.RewardId = 0; this.RewardId = 0;
@ -116,7 +116,7 @@ static public class FieldContentStageRewardExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*GroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*GroupId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*RewardTag_*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) && verifier.VerifyField(tablePos, 6 /*RewardTag*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*RewardProb*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 8 /*RewardProb*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false)
&& verifier.VerifyField(tablePos, 12 /*RewardId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*RewardId*/, 8 /*long*/, 8, false)

View File

@ -20,8 +20,8 @@ public struct FieldDateExcel : IFlatbufferObject
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public FieldDateExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public FieldDateExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long UniqueId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long SeasonId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long SeasonId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long UniqueId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long OpenDate { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long OpenDate { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public string DateLocalizeKey { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string DateLocalizeKey { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
@ -46,8 +46,8 @@ public struct FieldDateExcel : IFlatbufferObject
public float DateResultSpineOffsetX { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } public float DateResultSpineOffsetX { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } }
public static Offset<SCHALE.Common.FlatData.FieldDateExcel> CreateFieldDateExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.FieldDateExcel> CreateFieldDateExcel(FlatBufferBuilder builder,
long UniqueId = 0,
long SeasonId = 0, long SeasonId = 0,
long UniqueId = 0,
long OpenDate = 0, long OpenDate = 0,
StringOffset DateLocalizeKeyOffset = default(StringOffset), StringOffset DateLocalizeKeyOffset = default(StringOffset),
long EntrySceneId = 0, long EntrySceneId = 0,
@ -64,8 +64,8 @@ public struct FieldDateExcel : IFlatbufferObject
FieldDateExcel.AddStartConditionId(builder, StartConditionId); FieldDateExcel.AddStartConditionId(builder, StartConditionId);
FieldDateExcel.AddEntrySceneId(builder, EntrySceneId); FieldDateExcel.AddEntrySceneId(builder, EntrySceneId);
FieldDateExcel.AddOpenDate(builder, OpenDate); FieldDateExcel.AddOpenDate(builder, OpenDate);
FieldDateExcel.AddSeasonId(builder, SeasonId);
FieldDateExcel.AddUniqueId(builder, UniqueId); FieldDateExcel.AddUniqueId(builder, UniqueId);
FieldDateExcel.AddSeasonId(builder, SeasonId);
FieldDateExcel.AddDateResultSpineOffsetX(builder, DateResultSpineOffsetX); FieldDateExcel.AddDateResultSpineOffsetX(builder, DateResultSpineOffsetX);
FieldDateExcel.AddDateResultSpinePath(builder, DateResultSpinePathOffset); FieldDateExcel.AddDateResultSpinePath(builder, DateResultSpinePathOffset);
FieldDateExcel.AddEndConditionType(builder, EndConditionType); FieldDateExcel.AddEndConditionType(builder, EndConditionType);
@ -75,8 +75,8 @@ public struct FieldDateExcel : IFlatbufferObject
} }
public static void StartFieldDateExcel(FlatBufferBuilder builder) { builder.StartTable(12); } public static void StartFieldDateExcel(FlatBufferBuilder builder) { builder.StartTable(12); }
public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); } public static void AddSeasonId(FlatBufferBuilder builder, long seasonId) { builder.AddLong(0, seasonId, 0); }
public static void AddSeasonId(FlatBufferBuilder builder, long seasonId) { builder.AddLong(1, seasonId, 0); } public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(1, uniqueId, 0); }
public static void AddOpenDate(FlatBufferBuilder builder, long openDate) { builder.AddLong(2, openDate, 0); } public static void AddOpenDate(FlatBufferBuilder builder, long openDate) { builder.AddLong(2, openDate, 0); }
public static void AddDateLocalizeKey(FlatBufferBuilder builder, StringOffset dateLocalizeKeyOffset) { builder.AddOffset(3, dateLocalizeKeyOffset.Value, 0); } public static void AddDateLocalizeKey(FlatBufferBuilder builder, StringOffset dateLocalizeKeyOffset) { builder.AddOffset(3, dateLocalizeKeyOffset.Value, 0); }
public static void AddEntrySceneId(FlatBufferBuilder builder, long entrySceneId) { builder.AddLong(4, entrySceneId, 0); } public static void AddEntrySceneId(FlatBufferBuilder builder, long entrySceneId) { builder.AddLong(4, entrySceneId, 0); }
@ -98,8 +98,8 @@ public struct FieldDateExcel : IFlatbufferObject
} }
public void UnPackTo(FieldDateExcelT _o) { public void UnPackTo(FieldDateExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("FieldDate"); byte[] key = TableEncryptionService.CreateKey("FieldDate");
_o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key);
_o.SeasonId = TableEncryptionService.Convert(this.SeasonId, key); _o.SeasonId = TableEncryptionService.Convert(this.SeasonId, key);
_o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key);
_o.OpenDate = TableEncryptionService.Convert(this.OpenDate, key); _o.OpenDate = TableEncryptionService.Convert(this.OpenDate, key);
_o.DateLocalizeKey = TableEncryptionService.Convert(this.DateLocalizeKey, key); _o.DateLocalizeKey = TableEncryptionService.Convert(this.DateLocalizeKey, key);
_o.EntrySceneId = TableEncryptionService.Convert(this.EntrySceneId, key); _o.EntrySceneId = TableEncryptionService.Convert(this.EntrySceneId, key);
@ -117,8 +117,8 @@ public struct FieldDateExcel : IFlatbufferObject
var _DateResultSpinePath = _o.DateResultSpinePath == null ? default(StringOffset) : builder.CreateString(_o.DateResultSpinePath); var _DateResultSpinePath = _o.DateResultSpinePath == null ? default(StringOffset) : builder.CreateString(_o.DateResultSpinePath);
return CreateFieldDateExcel( return CreateFieldDateExcel(
builder, builder,
_o.UniqueId,
_o.SeasonId, _o.SeasonId,
_o.UniqueId,
_o.OpenDate, _o.OpenDate,
_DateLocalizeKey, _DateLocalizeKey,
_o.EntrySceneId, _o.EntrySceneId,
@ -134,8 +134,8 @@ public struct FieldDateExcel : IFlatbufferObject
public class FieldDateExcelT public class FieldDateExcelT
{ {
public long UniqueId { get; set; }
public long SeasonId { get; set; } public long SeasonId { get; set; }
public long UniqueId { get; set; }
public long OpenDate { get; set; } public long OpenDate { get; set; }
public string DateLocalizeKey { get; set; } public string DateLocalizeKey { get; set; }
public long EntrySceneId { get; set; } public long EntrySceneId { get; set; }
@ -148,8 +148,8 @@ public class FieldDateExcelT
public float DateResultSpineOffsetX { get; set; } public float DateResultSpineOffsetX { get; set; }
public FieldDateExcelT() { public FieldDateExcelT() {
this.UniqueId = 0;
this.SeasonId = 0; this.SeasonId = 0;
this.UniqueId = 0;
this.OpenDate = 0; this.OpenDate = 0;
this.DateLocalizeKey = null; this.DateLocalizeKey = null;
this.EntrySceneId = 0; this.EntrySceneId = 0;
@ -169,8 +169,8 @@ static public class FieldDateExcelVerify
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*SeasonId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*SeasonId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*UniqueId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 8 /*OpenDate*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*OpenDate*/, 8 /*long*/, 8, false)
&& verifier.VerifyString(tablePos, 10 /*DateLocalizeKey*/, false) && verifier.VerifyString(tablePos, 10 /*DateLocalizeKey*/, false)
&& verifier.VerifyField(tablePos, 12 /*EntrySceneId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*EntrySceneId*/, 8 /*long*/, 8, false)

View File

@ -20,17 +20,17 @@ public struct FieldInteractionExcel : IFlatbufferObject
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public FieldInteractionExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public FieldInteractionExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long UniqueId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long FieldSeasonId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long FieldDateId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long UniqueId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public bool ShowEmoji { get { int o = __p.__offset(8); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public long FieldDateId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public string KeywordLocalize { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public bool ShowEmoji { get { int o = __p.__offset(10); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public string KeywordLocalize { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
public Span<byte> GetKeywordLocalizeBytes() { return __p.__vector_as_span<byte>(10, 1); } public Span<byte> GetKeywordLocalizeBytes() { return __p.__vector_as_span<byte>(12, 1); }
#else #else
public ArraySegment<byte>? GetKeywordLocalizeBytes() { return __p.__vector_as_arraysegment(10); } public ArraySegment<byte>? GetKeywordLocalizeBytes() { return __p.__vector_as_arraysegment(12); }
#endif #endif
public byte[] GetKeywordLocalizeArray() { return __p.__vector_as_array<byte>(10); } public byte[] GetKeywordLocalizeArray() { return __p.__vector_as_array<byte>(12); }
public long FieldSeasonId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.FieldInteractionType InteractionType(int j) { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.FieldInteractionType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.FieldInteractionType)0; } public SCHALE.Common.FlatData.FieldInteractionType InteractionType(int j) { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.FieldInteractionType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.FieldInteractionType)0; }
public int InteractionTypeLength { get { int o = __p.__offset(14); return o != 0 ? __p.__vector_len(o) : 0; } } public int InteractionTypeLength { get { int o = __p.__offset(14); return o != 0 ? __p.__vector_len(o) : 0; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
@ -91,11 +91,11 @@ public struct FieldInteractionExcel : IFlatbufferObject
public bool[] GetNegateConditionArray() { return __p.__vector_as_array<bool>(30); } public bool[] GetNegateConditionArray() { return __p.__vector_as_array<bool>(30); }
public static Offset<SCHALE.Common.FlatData.FieldInteractionExcel> CreateFieldInteractionExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.FieldInteractionExcel> CreateFieldInteractionExcel(FlatBufferBuilder builder,
long FieldSeasonId = 0,
long UniqueId = 0, long UniqueId = 0,
long FieldDateId = 0, long FieldDateId = 0,
bool ShowEmoji = false, bool ShowEmoji = false,
StringOffset KeywordLocalizeOffset = default(StringOffset), StringOffset KeywordLocalizeOffset = default(StringOffset),
long FieldSeasonId = 0,
VectorOffset InteractionTypeOffset = default(VectorOffset), VectorOffset InteractionTypeOffset = default(VectorOffset),
VectorOffset InteractionIdOffset = default(VectorOffset), VectorOffset InteractionIdOffset = default(VectorOffset),
SCHALE.Common.FlatData.FieldConditionClass ConditionClass = SCHALE.Common.FlatData.FieldConditionClass.AndOr, SCHALE.Common.FlatData.FieldConditionClass ConditionClass = SCHALE.Common.FlatData.FieldConditionClass.AndOr,
@ -106,9 +106,9 @@ public struct FieldInteractionExcel : IFlatbufferObject
VectorOffset ConditionIdOffset = default(VectorOffset), VectorOffset ConditionIdOffset = default(VectorOffset),
VectorOffset NegateConditionOffset = default(VectorOffset)) { VectorOffset NegateConditionOffset = default(VectorOffset)) {
builder.StartTable(14); builder.StartTable(14);
FieldInteractionExcel.AddFieldSeasonId(builder, FieldSeasonId);
FieldInteractionExcel.AddFieldDateId(builder, FieldDateId); FieldInteractionExcel.AddFieldDateId(builder, FieldDateId);
FieldInteractionExcel.AddUniqueId(builder, UniqueId); FieldInteractionExcel.AddUniqueId(builder, UniqueId);
FieldInteractionExcel.AddFieldSeasonId(builder, FieldSeasonId);
FieldInteractionExcel.AddNegateCondition(builder, NegateConditionOffset); FieldInteractionExcel.AddNegateCondition(builder, NegateConditionOffset);
FieldInteractionExcel.AddConditionId(builder, ConditionIdOffset); FieldInteractionExcel.AddConditionId(builder, ConditionIdOffset);
FieldInteractionExcel.AddConditionType(builder, ConditionTypeOffset); FieldInteractionExcel.AddConditionType(builder, ConditionTypeOffset);
@ -124,11 +124,11 @@ public struct FieldInteractionExcel : IFlatbufferObject
} }
public static void StartFieldInteractionExcel(FlatBufferBuilder builder) { builder.StartTable(14); } public static void StartFieldInteractionExcel(FlatBufferBuilder builder) { builder.StartTable(14); }
public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); } public static void AddFieldSeasonId(FlatBufferBuilder builder, long fieldSeasonId) { builder.AddLong(0, fieldSeasonId, 0); }
public static void AddFieldDateId(FlatBufferBuilder builder, long fieldDateId) { builder.AddLong(1, fieldDateId, 0); } public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(1, uniqueId, 0); }
public static void AddShowEmoji(FlatBufferBuilder builder, bool showEmoji) { builder.AddBool(2, showEmoji, false); } public static void AddFieldDateId(FlatBufferBuilder builder, long fieldDateId) { builder.AddLong(2, fieldDateId, 0); }
public static void AddKeywordLocalize(FlatBufferBuilder builder, StringOffset keywordLocalizeOffset) { builder.AddOffset(3, keywordLocalizeOffset.Value, 0); } public static void AddShowEmoji(FlatBufferBuilder builder, bool showEmoji) { builder.AddBool(3, showEmoji, false); }
public static void AddFieldSeasonId(FlatBufferBuilder builder, long fieldSeasonId) { builder.AddLong(4, fieldSeasonId, 0); } public static void AddKeywordLocalize(FlatBufferBuilder builder, StringOffset keywordLocalizeOffset) { builder.AddOffset(4, keywordLocalizeOffset.Value, 0); }
public static void AddInteractionType(FlatBufferBuilder builder, VectorOffset interactionTypeOffset) { builder.AddOffset(5, interactionTypeOffset.Value, 0); } public static void AddInteractionType(FlatBufferBuilder builder, VectorOffset interactionTypeOffset) { builder.AddOffset(5, interactionTypeOffset.Value, 0); }
public static VectorOffset CreateInteractionTypeVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.FieldInteractionType[] 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 CreateInteractionTypeVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.FieldInteractionType[] 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 CreateInteractionTypeVectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.FieldInteractionType[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateInteractionTypeVectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.FieldInteractionType[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
@ -184,11 +184,11 @@ public struct FieldInteractionExcel : IFlatbufferObject
} }
public void UnPackTo(FieldInteractionExcelT _o) { public void UnPackTo(FieldInteractionExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("FieldInteraction"); byte[] key = TableEncryptionService.CreateKey("FieldInteraction");
_o.FieldSeasonId = TableEncryptionService.Convert(this.FieldSeasonId, key);
_o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key); _o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key);
_o.FieldDateId = TableEncryptionService.Convert(this.FieldDateId, key); _o.FieldDateId = TableEncryptionService.Convert(this.FieldDateId, key);
_o.ShowEmoji = TableEncryptionService.Convert(this.ShowEmoji, key); _o.ShowEmoji = TableEncryptionService.Convert(this.ShowEmoji, key);
_o.KeywordLocalize = TableEncryptionService.Convert(this.KeywordLocalize, key); _o.KeywordLocalize = TableEncryptionService.Convert(this.KeywordLocalize, key);
_o.FieldSeasonId = TableEncryptionService.Convert(this.FieldSeasonId, key);
_o.InteractionType = new List<SCHALE.Common.FlatData.FieldInteractionType>(); _o.InteractionType = new List<SCHALE.Common.FlatData.FieldInteractionType>();
for (var _j = 0; _j < this.InteractionTypeLength; ++_j) {_o.InteractionType.Add(TableEncryptionService.Convert(this.InteractionType(_j), key));} for (var _j = 0; _j < this.InteractionTypeLength; ++_j) {_o.InteractionType.Add(TableEncryptionService.Convert(this.InteractionType(_j), key));}
_o.InteractionId = new List<long>(); _o.InteractionId = new List<long>();
@ -246,11 +246,11 @@ public struct FieldInteractionExcel : IFlatbufferObject
} }
return CreateFieldInteractionExcel( return CreateFieldInteractionExcel(
builder, builder,
_o.FieldSeasonId,
_o.UniqueId, _o.UniqueId,
_o.FieldDateId, _o.FieldDateId,
_o.ShowEmoji, _o.ShowEmoji,
_KeywordLocalize, _KeywordLocalize,
_o.FieldSeasonId,
_InteractionType, _InteractionType,
_InteractionId, _InteractionId,
_o.ConditionClass, _o.ConditionClass,
@ -265,11 +265,11 @@ public struct FieldInteractionExcel : IFlatbufferObject
public class FieldInteractionExcelT public class FieldInteractionExcelT
{ {
public long FieldSeasonId { get; set; }
public long UniqueId { get; set; } public long UniqueId { get; set; }
public long FieldDateId { get; set; } public long FieldDateId { get; set; }
public bool ShowEmoji { get; set; } public bool ShowEmoji { get; set; }
public string KeywordLocalize { get; set; } public string KeywordLocalize { get; set; }
public long FieldSeasonId { get; set; }
public List<SCHALE.Common.FlatData.FieldInteractionType> InteractionType { get; set; } public List<SCHALE.Common.FlatData.FieldInteractionType> InteractionType { get; set; }
public List<long> InteractionId { get; set; } public List<long> InteractionId { get; set; }
public SCHALE.Common.FlatData.FieldConditionClass ConditionClass { get; set; } public SCHALE.Common.FlatData.FieldConditionClass ConditionClass { get; set; }
@ -281,11 +281,11 @@ public class FieldInteractionExcelT
public List<bool> NegateCondition { get; set; } public List<bool> NegateCondition { get; set; }
public FieldInteractionExcelT() { public FieldInteractionExcelT() {
this.FieldSeasonId = 0;
this.UniqueId = 0; this.UniqueId = 0;
this.FieldDateId = 0; this.FieldDateId = 0;
this.ShowEmoji = false; this.ShowEmoji = false;
this.KeywordLocalize = null; this.KeywordLocalize = null;
this.FieldSeasonId = 0;
this.InteractionType = null; this.InteractionType = null;
this.InteractionId = null; this.InteractionId = null;
this.ConditionClass = SCHALE.Common.FlatData.FieldConditionClass.AndOr; this.ConditionClass = SCHALE.Common.FlatData.FieldConditionClass.AndOr;
@ -304,11 +304,11 @@ static public class FieldInteractionExcelVerify
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*FieldSeasonId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*FieldDateId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*UniqueId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 8 /*ShowEmoji*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 8 /*FieldDateId*/, 8 /*long*/, 8, false)
&& verifier.VerifyString(tablePos, 10 /*KeywordLocalize*/, false) && verifier.VerifyField(tablePos, 10 /*ShowEmoji*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 12 /*FieldSeasonId*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 12 /*KeywordLocalize*/, false)
&& verifier.VerifyVectorOfData(tablePos, 14 /*InteractionType*/, 4 /*SCHALE.Common.FlatData.FieldInteractionType*/, false) && verifier.VerifyVectorOfData(tablePos, 14 /*InteractionType*/, 4 /*SCHALE.Common.FlatData.FieldInteractionType*/, false)
&& verifier.VerifyVectorOfData(tablePos, 16 /*InteractionId*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 16 /*InteractionId*/, 8 /*long*/, false)
&& verifier.VerifyField(tablePos, 18 /*ConditionClass*/, 4 /*SCHALE.Common.FlatData.FieldConditionClass*/, 4, false) && verifier.VerifyField(tablePos, 18 /*ConditionClass*/, 4 /*SCHALE.Common.FlatData.FieldConditionClass*/, 4, false)

View File

@ -20,8 +20,8 @@ public struct FieldQuestExcel : IFlatbufferObject
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public FieldQuestExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public FieldQuestExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public long UniqueId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long FieldSeasonId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long FieldSeasonId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long UniqueId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public bool IsDaily { get { int o = __p.__offset(8); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool IsDaily { get { int o = __p.__offset(8); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
public long FieldDateId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long FieldDateId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long Opendate { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long Opendate { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -38,8 +38,8 @@ public struct FieldQuestExcel : IFlatbufferObject
public uint QuestDescKey { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public uint QuestDescKey { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } }
public static Offset<SCHALE.Common.FlatData.FieldQuestExcel> CreateFieldQuestExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.FieldQuestExcel> CreateFieldQuestExcel(FlatBufferBuilder builder,
long UniqueId = 0,
long FieldSeasonId = 0, long FieldSeasonId = 0,
long UniqueId = 0,
bool IsDaily = false, bool IsDaily = false,
long FieldDateId = 0, long FieldDateId = 0,
long Opendate = 0, long Opendate = 0,
@ -52,8 +52,8 @@ public struct FieldQuestExcel : IFlatbufferObject
FieldQuestExcel.AddRewardId(builder, RewardId); FieldQuestExcel.AddRewardId(builder, RewardId);
FieldQuestExcel.AddOpendate(builder, Opendate); FieldQuestExcel.AddOpendate(builder, Opendate);
FieldQuestExcel.AddFieldDateId(builder, FieldDateId); FieldQuestExcel.AddFieldDateId(builder, FieldDateId);
FieldQuestExcel.AddFieldSeasonId(builder, FieldSeasonId);
FieldQuestExcel.AddUniqueId(builder, UniqueId); FieldQuestExcel.AddUniqueId(builder, UniqueId);
FieldQuestExcel.AddFieldSeasonId(builder, FieldSeasonId);
FieldQuestExcel.AddQuestDescKey(builder, QuestDescKey); FieldQuestExcel.AddQuestDescKey(builder, QuestDescKey);
FieldQuestExcel.AddQuestNamKey(builder, QuestNamKey); FieldQuestExcel.AddQuestNamKey(builder, QuestNamKey);
FieldQuestExcel.AddProb(builder, Prob); FieldQuestExcel.AddProb(builder, Prob);
@ -63,8 +63,8 @@ public struct FieldQuestExcel : IFlatbufferObject
} }
public static void StartFieldQuestExcel(FlatBufferBuilder builder) { builder.StartTable(10); } public static void StartFieldQuestExcel(FlatBufferBuilder builder) { builder.StartTable(10); }
public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); } public static void AddFieldSeasonId(FlatBufferBuilder builder, long fieldSeasonId) { builder.AddLong(0, fieldSeasonId, 0); }
public static void AddFieldSeasonId(FlatBufferBuilder builder, long fieldSeasonId) { builder.AddLong(1, fieldSeasonId, 0); } public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(1, uniqueId, 0); }
public static void AddIsDaily(FlatBufferBuilder builder, bool isDaily) { builder.AddBool(2, isDaily, false); } public static void AddIsDaily(FlatBufferBuilder builder, bool isDaily) { builder.AddBool(2, isDaily, false); }
public static void AddFieldDateId(FlatBufferBuilder builder, long fieldDateId) { builder.AddLong(3, fieldDateId, 0); } public static void AddFieldDateId(FlatBufferBuilder builder, long fieldDateId) { builder.AddLong(3, fieldDateId, 0); }
public static void AddOpendate(FlatBufferBuilder builder, long opendate) { builder.AddLong(4, opendate, 0); } public static void AddOpendate(FlatBufferBuilder builder, long opendate) { builder.AddLong(4, opendate, 0); }
@ -84,8 +84,8 @@ public struct FieldQuestExcel : IFlatbufferObject
} }
public void UnPackTo(FieldQuestExcelT _o) { public void UnPackTo(FieldQuestExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("FieldQuest"); byte[] key = TableEncryptionService.CreateKey("FieldQuest");
_o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key);
_o.FieldSeasonId = TableEncryptionService.Convert(this.FieldSeasonId, key); _o.FieldSeasonId = TableEncryptionService.Convert(this.FieldSeasonId, key);
_o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key);
_o.IsDaily = TableEncryptionService.Convert(this.IsDaily, key); _o.IsDaily = TableEncryptionService.Convert(this.IsDaily, key);
_o.FieldDateId = TableEncryptionService.Convert(this.FieldDateId, key); _o.FieldDateId = TableEncryptionService.Convert(this.FieldDateId, key);
_o.Opendate = TableEncryptionService.Convert(this.Opendate, key); _o.Opendate = TableEncryptionService.Convert(this.Opendate, key);
@ -100,8 +100,8 @@ public struct FieldQuestExcel : IFlatbufferObject
var _AssetPath = _o.AssetPath == null ? default(StringOffset) : builder.CreateString(_o.AssetPath); var _AssetPath = _o.AssetPath == null ? default(StringOffset) : builder.CreateString(_o.AssetPath);
return CreateFieldQuestExcel( return CreateFieldQuestExcel(
builder, builder,
_o.UniqueId,
_o.FieldSeasonId, _o.FieldSeasonId,
_o.UniqueId,
_o.IsDaily, _o.IsDaily,
_o.FieldDateId, _o.FieldDateId,
_o.Opendate, _o.Opendate,
@ -115,8 +115,8 @@ public struct FieldQuestExcel : IFlatbufferObject
public class FieldQuestExcelT public class FieldQuestExcelT
{ {
public long UniqueId { get; set; }
public long FieldSeasonId { get; set; } public long FieldSeasonId { get; set; }
public long UniqueId { get; set; }
public bool IsDaily { get; set; } public bool IsDaily { get; set; }
public long FieldDateId { get; set; } public long FieldDateId { get; set; }
public long Opendate { get; set; } public long Opendate { get; set; }
@ -127,8 +127,8 @@ public class FieldQuestExcelT
public uint QuestDescKey { get; set; } public uint QuestDescKey { get; set; }
public FieldQuestExcelT() { public FieldQuestExcelT() {
this.UniqueId = 0;
this.FieldSeasonId = 0; this.FieldSeasonId = 0;
this.UniqueId = 0;
this.IsDaily = false; this.IsDaily = false;
this.FieldDateId = 0; this.FieldDateId = 0;
this.Opendate = 0; this.Opendate = 0;
@ -146,8 +146,8 @@ static public class FieldQuestExcelVerify
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*FieldSeasonId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*FieldSeasonId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*UniqueId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 8 /*IsDaily*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 8 /*IsDaily*/, 1 /*bool*/, 1, false)
&& verifier.VerifyField(tablePos, 10 /*FieldDateId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*FieldDateId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 12 /*Opendate*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*Opendate*/, 8 /*long*/, 8, false)

View File

@ -53,6 +53,20 @@ public struct FieldSeasonExcel : IFlatbufferObject
public ArraySegment<byte>? GetMasteryImagePathBytes() { return __p.__vector_as_arraysegment(20); } public ArraySegment<byte>? GetMasteryImagePathBytes() { return __p.__vector_as_arraysegment(20); }
#endif #endif
public byte[] GetMasteryImagePathArray() { return __p.__vector_as_array<byte>(20); } public byte[] GetMasteryImagePathArray() { return __p.__vector_as_array<byte>(20); }
public string FieldLobbyTitleImagePath { get { int o = __p.__offset(22); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T
public Span<byte> GetFieldLobbyTitleImagePathBytes() { return __p.__vector_as_span<byte>(22, 1); }
#else
public ArraySegment<byte>? GetFieldLobbyTitleImagePathBytes() { return __p.__vector_as_arraysegment(22); }
#endif
public byte[] GetFieldLobbyTitleImagePathArray() { return __p.__vector_as_array<byte>(22); }
public string KeywordLogoImagePath { get { int o = __p.__offset(24); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T
public Span<byte> GetKeywordLogoImagePathBytes() { return __p.__vector_as_span<byte>(24, 1); }
#else
public ArraySegment<byte>? GetKeywordLogoImagePathBytes() { return __p.__vector_as_arraysegment(24); }
#endif
public byte[] GetKeywordLogoImagePathArray() { return __p.__vector_as_array<byte>(24); }
public static Offset<SCHALE.Common.FlatData.FieldSeasonExcel> CreateFieldSeasonExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.FieldSeasonExcel> CreateFieldSeasonExcel(FlatBufferBuilder builder,
long UniqueId = 0, long UniqueId = 0,
@ -63,13 +77,17 @@ public struct FieldSeasonExcel : IFlatbufferObject
StringOffset EndDateOffset = default(StringOffset), StringOffset EndDateOffset = default(StringOffset),
long LobbyBGMChangeStageId = 0, long LobbyBGMChangeStageId = 0,
StringOffset CharacterIconPathOffset = default(StringOffset), StringOffset CharacterIconPathOffset = default(StringOffset),
StringOffset MasteryImagePathOffset = default(StringOffset)) { StringOffset MasteryImagePathOffset = default(StringOffset),
builder.StartTable(9); StringOffset FieldLobbyTitleImagePathOffset = default(StringOffset),
StringOffset KeywordLogoImagePathOffset = default(StringOffset)) {
builder.StartTable(11);
FieldSeasonExcel.AddLobbyBGMChangeStageId(builder, LobbyBGMChangeStageId); FieldSeasonExcel.AddLobbyBGMChangeStageId(builder, LobbyBGMChangeStageId);
FieldSeasonExcel.AddInstantEntryDateId(builder, InstantEntryDateId); FieldSeasonExcel.AddInstantEntryDateId(builder, InstantEntryDateId);
FieldSeasonExcel.AddEntryDateId(builder, EntryDateId); FieldSeasonExcel.AddEntryDateId(builder, EntryDateId);
FieldSeasonExcel.AddEventContentId(builder, EventContentId); FieldSeasonExcel.AddEventContentId(builder, EventContentId);
FieldSeasonExcel.AddUniqueId(builder, UniqueId); FieldSeasonExcel.AddUniqueId(builder, UniqueId);
FieldSeasonExcel.AddKeywordLogoImagePath(builder, KeywordLogoImagePathOffset);
FieldSeasonExcel.AddFieldLobbyTitleImagePath(builder, FieldLobbyTitleImagePathOffset);
FieldSeasonExcel.AddMasteryImagePath(builder, MasteryImagePathOffset); FieldSeasonExcel.AddMasteryImagePath(builder, MasteryImagePathOffset);
FieldSeasonExcel.AddCharacterIconPath(builder, CharacterIconPathOffset); FieldSeasonExcel.AddCharacterIconPath(builder, CharacterIconPathOffset);
FieldSeasonExcel.AddEndDate(builder, EndDateOffset); FieldSeasonExcel.AddEndDate(builder, EndDateOffset);
@ -77,7 +95,7 @@ public struct FieldSeasonExcel : IFlatbufferObject
return FieldSeasonExcel.EndFieldSeasonExcel(builder); return FieldSeasonExcel.EndFieldSeasonExcel(builder);
} }
public static void StartFieldSeasonExcel(FlatBufferBuilder builder) { builder.StartTable(9); } public static void StartFieldSeasonExcel(FlatBufferBuilder builder) { builder.StartTable(11); }
public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); } public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); }
public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(1, eventContentId, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(1, eventContentId, 0); }
public static void AddEntryDateId(FlatBufferBuilder builder, long entryDateId) { builder.AddLong(2, entryDateId, 0); } public static void AddEntryDateId(FlatBufferBuilder builder, long entryDateId) { builder.AddLong(2, entryDateId, 0); }
@ -87,6 +105,8 @@ public struct FieldSeasonExcel : IFlatbufferObject
public static void AddLobbyBGMChangeStageId(FlatBufferBuilder builder, long lobbyBGMChangeStageId) { builder.AddLong(6, lobbyBGMChangeStageId, 0); } public static void AddLobbyBGMChangeStageId(FlatBufferBuilder builder, long lobbyBGMChangeStageId) { builder.AddLong(6, lobbyBGMChangeStageId, 0); }
public static void AddCharacterIconPath(FlatBufferBuilder builder, StringOffset characterIconPathOffset) { builder.AddOffset(7, characterIconPathOffset.Value, 0); } public static void AddCharacterIconPath(FlatBufferBuilder builder, StringOffset characterIconPathOffset) { builder.AddOffset(7, characterIconPathOffset.Value, 0); }
public static void AddMasteryImagePath(FlatBufferBuilder builder, StringOffset masteryImagePathOffset) { builder.AddOffset(8, masteryImagePathOffset.Value, 0); } public static void AddMasteryImagePath(FlatBufferBuilder builder, StringOffset masteryImagePathOffset) { builder.AddOffset(8, masteryImagePathOffset.Value, 0); }
public static void AddFieldLobbyTitleImagePath(FlatBufferBuilder builder, StringOffset fieldLobbyTitleImagePathOffset) { builder.AddOffset(9, fieldLobbyTitleImagePathOffset.Value, 0); }
public static void AddKeywordLogoImagePath(FlatBufferBuilder builder, StringOffset keywordLogoImagePathOffset) { builder.AddOffset(10, keywordLogoImagePathOffset.Value, 0); }
public static Offset<SCHALE.Common.FlatData.FieldSeasonExcel> EndFieldSeasonExcel(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.FieldSeasonExcel> EndFieldSeasonExcel(FlatBufferBuilder builder) {
int o = builder.EndTable(); int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.FieldSeasonExcel>(o); return new Offset<SCHALE.Common.FlatData.FieldSeasonExcel>(o);
@ -107,6 +127,8 @@ public struct FieldSeasonExcel : IFlatbufferObject
_o.LobbyBGMChangeStageId = TableEncryptionService.Convert(this.LobbyBGMChangeStageId, key); _o.LobbyBGMChangeStageId = TableEncryptionService.Convert(this.LobbyBGMChangeStageId, key);
_o.CharacterIconPath = TableEncryptionService.Convert(this.CharacterIconPath, key); _o.CharacterIconPath = TableEncryptionService.Convert(this.CharacterIconPath, key);
_o.MasteryImagePath = TableEncryptionService.Convert(this.MasteryImagePath, key); _o.MasteryImagePath = TableEncryptionService.Convert(this.MasteryImagePath, key);
_o.FieldLobbyTitleImagePath = TableEncryptionService.Convert(this.FieldLobbyTitleImagePath, key);
_o.KeywordLogoImagePath = TableEncryptionService.Convert(this.KeywordLogoImagePath, key);
} }
public static Offset<SCHALE.Common.FlatData.FieldSeasonExcel> Pack(FlatBufferBuilder builder, FieldSeasonExcelT _o) { public static Offset<SCHALE.Common.FlatData.FieldSeasonExcel> Pack(FlatBufferBuilder builder, FieldSeasonExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.FieldSeasonExcel>); if (_o == null) return default(Offset<SCHALE.Common.FlatData.FieldSeasonExcel>);
@ -114,6 +136,8 @@ public struct FieldSeasonExcel : IFlatbufferObject
var _EndDate = _o.EndDate == null ? default(StringOffset) : builder.CreateString(_o.EndDate); var _EndDate = _o.EndDate == null ? default(StringOffset) : builder.CreateString(_o.EndDate);
var _CharacterIconPath = _o.CharacterIconPath == null ? default(StringOffset) : builder.CreateString(_o.CharacterIconPath); var _CharacterIconPath = _o.CharacterIconPath == null ? default(StringOffset) : builder.CreateString(_o.CharacterIconPath);
var _MasteryImagePath = _o.MasteryImagePath == null ? default(StringOffset) : builder.CreateString(_o.MasteryImagePath); var _MasteryImagePath = _o.MasteryImagePath == null ? default(StringOffset) : builder.CreateString(_o.MasteryImagePath);
var _FieldLobbyTitleImagePath = _o.FieldLobbyTitleImagePath == null ? default(StringOffset) : builder.CreateString(_o.FieldLobbyTitleImagePath);
var _KeywordLogoImagePath = _o.KeywordLogoImagePath == null ? default(StringOffset) : builder.CreateString(_o.KeywordLogoImagePath);
return CreateFieldSeasonExcel( return CreateFieldSeasonExcel(
builder, builder,
_o.UniqueId, _o.UniqueId,
@ -124,7 +148,9 @@ public struct FieldSeasonExcel : IFlatbufferObject
_EndDate, _EndDate,
_o.LobbyBGMChangeStageId, _o.LobbyBGMChangeStageId,
_CharacterIconPath, _CharacterIconPath,
_MasteryImagePath); _MasteryImagePath,
_FieldLobbyTitleImagePath,
_KeywordLogoImagePath);
} }
} }
@ -139,6 +165,8 @@ public class FieldSeasonExcelT
public long LobbyBGMChangeStageId { get; set; } public long LobbyBGMChangeStageId { get; set; }
public string CharacterIconPath { get; set; } public string CharacterIconPath { get; set; }
public string MasteryImagePath { get; set; } public string MasteryImagePath { get; set; }
public string FieldLobbyTitleImagePath { get; set; }
public string KeywordLogoImagePath { get; set; }
public FieldSeasonExcelT() { public FieldSeasonExcelT() {
this.UniqueId = 0; this.UniqueId = 0;
@ -150,6 +178,8 @@ public class FieldSeasonExcelT
this.LobbyBGMChangeStageId = 0; this.LobbyBGMChangeStageId = 0;
this.CharacterIconPath = null; this.CharacterIconPath = null;
this.MasteryImagePath = null; this.MasteryImagePath = null;
this.FieldLobbyTitleImagePath = null;
this.KeywordLogoImagePath = null;
} }
} }
@ -168,6 +198,8 @@ static public class FieldSeasonExcelVerify
&& verifier.VerifyField(tablePos, 16 /*LobbyBGMChangeStageId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 16 /*LobbyBGMChangeStageId*/, 8 /*long*/, 8, false)
&& verifier.VerifyString(tablePos, 18 /*CharacterIconPath*/, false) && verifier.VerifyString(tablePos, 18 /*CharacterIconPath*/, false)
&& verifier.VerifyString(tablePos, 20 /*MasteryImagePath*/, false) && verifier.VerifyString(tablePos, 20 /*MasteryImagePath*/, false)
&& verifier.VerifyString(tablePos, 22 /*FieldLobbyTitleImagePath*/, false)
&& verifier.VerifyString(tablePos, 24 /*KeywordLogoImagePath*/, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);
} }
} }

View File

@ -30,7 +30,7 @@ public struct FieldStoryStageExcel : IFlatbufferObject
#endif #endif
public byte[] GetNameArray() { return __p.__vector_as_array<byte>(8); } public byte[] GetNameArray() { return __p.__vector_as_array<byte>(8); }
public long BattleDuration { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long BattleDuration { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.StageTopography StageTopography_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } public SCHALE.Common.FlatData.StageTopography StageTopography { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } }
public int RecommandLevel { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int RecommandLevel { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public long GroundID { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long GroundID { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long BGMId { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long BGMId { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -42,7 +42,7 @@ public struct FieldStoryStageExcel : IFlatbufferObject
long SeasonId = 0, long SeasonId = 0,
StringOffset NameOffset = default(StringOffset), StringOffset NameOffset = default(StringOffset),
long BattleDuration = 0, long BattleDuration = 0,
SCHALE.Common.FlatData.StageTopography StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street, SCHALE.Common.FlatData.StageTopography StageTopography = SCHALE.Common.FlatData.StageTopography.Street,
int RecommandLevel = 0, int RecommandLevel = 0,
long GroundID = 0, long GroundID = 0,
long BGMId = 0, long BGMId = 0,
@ -56,7 +56,7 @@ public struct FieldStoryStageExcel : IFlatbufferObject
FieldStoryStageExcel.AddSeasonId(builder, SeasonId); FieldStoryStageExcel.AddSeasonId(builder, SeasonId);
FieldStoryStageExcel.AddId(builder, Id); FieldStoryStageExcel.AddId(builder, Id);
FieldStoryStageExcel.AddRecommandLevel(builder, RecommandLevel); FieldStoryStageExcel.AddRecommandLevel(builder, RecommandLevel);
FieldStoryStageExcel.AddStageTopography_(builder, StageTopography_); FieldStoryStageExcel.AddStageTopography(builder, StageTopography);
FieldStoryStageExcel.AddName(builder, NameOffset); FieldStoryStageExcel.AddName(builder, NameOffset);
FieldStoryStageExcel.AddSkipFormationSettings(builder, SkipFormationSettings); FieldStoryStageExcel.AddSkipFormationSettings(builder, SkipFormationSettings);
return FieldStoryStageExcel.EndFieldStoryStageExcel(builder); return FieldStoryStageExcel.EndFieldStoryStageExcel(builder);
@ -67,7 +67,7 @@ public struct FieldStoryStageExcel : IFlatbufferObject
public static void AddSeasonId(FlatBufferBuilder builder, long seasonId) { builder.AddLong(1, seasonId, 0); } public static void AddSeasonId(FlatBufferBuilder builder, long seasonId) { builder.AddLong(1, seasonId, 0); }
public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(2, nameOffset.Value, 0); } public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(2, nameOffset.Value, 0); }
public static void AddBattleDuration(FlatBufferBuilder builder, long battleDuration) { builder.AddLong(3, battleDuration, 0); } public static void AddBattleDuration(FlatBufferBuilder builder, long battleDuration) { builder.AddLong(3, battleDuration, 0); }
public static void AddStageTopography_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography_) { builder.AddInt(4, (int)stageTopography_, 0); } public static void AddStageTopography(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography) { builder.AddInt(4, (int)stageTopography, 0); }
public static void AddRecommandLevel(FlatBufferBuilder builder, int recommandLevel) { builder.AddInt(5, recommandLevel, 0); } public static void AddRecommandLevel(FlatBufferBuilder builder, int recommandLevel) { builder.AddInt(5, recommandLevel, 0); }
public static void AddGroundID(FlatBufferBuilder builder, long groundID) { builder.AddLong(6, groundID, 0); } public static void AddGroundID(FlatBufferBuilder builder, long groundID) { builder.AddLong(6, groundID, 0); }
public static void AddBGMId(FlatBufferBuilder builder, long bGMId) { builder.AddLong(7, bGMId, 0); } public static void AddBGMId(FlatBufferBuilder builder, long bGMId) { builder.AddLong(7, bGMId, 0); }
@ -88,7 +88,7 @@ public struct FieldStoryStageExcel : IFlatbufferObject
_o.SeasonId = TableEncryptionService.Convert(this.SeasonId, key); _o.SeasonId = TableEncryptionService.Convert(this.SeasonId, key);
_o.Name = TableEncryptionService.Convert(this.Name, key); _o.Name = TableEncryptionService.Convert(this.Name, key);
_o.BattleDuration = TableEncryptionService.Convert(this.BattleDuration, key); _o.BattleDuration = TableEncryptionService.Convert(this.BattleDuration, key);
_o.StageTopography_ = TableEncryptionService.Convert(this.StageTopography_, key); _o.StageTopography = TableEncryptionService.Convert(this.StageTopography, key);
_o.RecommandLevel = TableEncryptionService.Convert(this.RecommandLevel, key); _o.RecommandLevel = TableEncryptionService.Convert(this.RecommandLevel, key);
_o.GroundID = TableEncryptionService.Convert(this.GroundID, key); _o.GroundID = TableEncryptionService.Convert(this.GroundID, key);
_o.BGMId = TableEncryptionService.Convert(this.BGMId, key); _o.BGMId = TableEncryptionService.Convert(this.BGMId, key);
@ -104,7 +104,7 @@ public struct FieldStoryStageExcel : IFlatbufferObject
_o.SeasonId, _o.SeasonId,
_Name, _Name,
_o.BattleDuration, _o.BattleDuration,
_o.StageTopography_, _o.StageTopography,
_o.RecommandLevel, _o.RecommandLevel,
_o.GroundID, _o.GroundID,
_o.BGMId, _o.BGMId,
@ -119,7 +119,7 @@ public class FieldStoryStageExcelT
public long SeasonId { get; set; } public long SeasonId { get; set; }
public string Name { get; set; } public string Name { get; set; }
public long BattleDuration { get; set; } public long BattleDuration { get; set; }
public SCHALE.Common.FlatData.StageTopography StageTopography_ { get; set; } public SCHALE.Common.FlatData.StageTopography StageTopography { get; set; }
public int RecommandLevel { get; set; } public int RecommandLevel { get; set; }
public long GroundID { get; set; } public long GroundID { get; set; }
public long BGMId { get; set; } public long BGMId { get; set; }
@ -131,7 +131,7 @@ public class FieldStoryStageExcelT
this.SeasonId = 0; this.SeasonId = 0;
this.Name = null; this.Name = null;
this.BattleDuration = 0; this.BattleDuration = 0;
this.StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street; this.StageTopography = SCHALE.Common.FlatData.StageTopography.Street;
this.RecommandLevel = 0; this.RecommandLevel = 0;
this.GroundID = 0; this.GroundID = 0;
this.BGMId = 0; this.BGMId = 0;
@ -150,7 +150,7 @@ static public class FieldStoryStageExcelVerify
&& verifier.VerifyField(tablePos, 6 /*SeasonId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*SeasonId*/, 8 /*long*/, 8, false)
&& verifier.VerifyString(tablePos, 8 /*Name*/, false) && verifier.VerifyString(tablePos, 8 /*Name*/, false)
&& verifier.VerifyField(tablePos, 10 /*BattleDuration*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*BattleDuration*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 12 /*StageTopography_*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) && verifier.VerifyField(tablePos, 12 /*StageTopography*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false)
&& verifier.VerifyField(tablePos, 14 /*RecommandLevel*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 14 /*RecommandLevel*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 16 /*GroundID*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 16 /*GroundID*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 18 /*BGMId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 18 /*BGMId*/, 8 /*long*/, 8, false)

View File

@ -1,88 +0,0 @@
// <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::SCHALE.Common.Crypto;
using global::Google.FlatBuffers;
public struct FixedEchelonSettingExcelTable : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static FixedEchelonSettingExcelTable GetRootAsFixedEchelonSettingExcelTable(ByteBuffer _bb) { return GetRootAsFixedEchelonSettingExcelTable(_bb, new FixedEchelonSettingExcelTable()); }
public static FixedEchelonSettingExcelTable GetRootAsFixedEchelonSettingExcelTable(ByteBuffer _bb, FixedEchelonSettingExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public FixedEchelonSettingExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.FixedEchelonSettingExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.FixedEchelonSettingExcel?)(new SCHALE.Common.FlatData.FixedEchelonSettingExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; }
public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } }
public static Offset<SCHALE.Common.FlatData.FixedEchelonSettingExcelTable> CreateFixedEchelonSettingExcelTable(FlatBufferBuilder builder,
VectorOffset DataListOffset = default(VectorOffset)) {
builder.StartTable(1);
FixedEchelonSettingExcelTable.AddDataList(builder, DataListOffset);
return FixedEchelonSettingExcelTable.EndFixedEchelonSettingExcelTable(builder);
}
public static void StartFixedEchelonSettingExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); }
public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); }
public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.FixedEchelonSettingExcel>[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.FixedEchelonSettingExcel>[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<SCHALE.Common.FlatData.FixedEchelonSettingExcel>> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<Offset<SCHALE.Common.FlatData.FixedEchelonSettingExcel>>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.FixedEchelonSettingExcelTable> EndFixedEchelonSettingExcelTable(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.FixedEchelonSettingExcelTable>(o);
}
public FixedEchelonSettingExcelTableT UnPack() {
var _o = new FixedEchelonSettingExcelTableT();
this.UnPackTo(_o);
return _o;
}
public void UnPackTo(FixedEchelonSettingExcelTableT _o) {
byte[] key = TableEncryptionService.CreateKey("FixedEchelonSettingExcel");
_o.DataList = new List<SCHALE.Common.FlatData.FixedEchelonSettingExcelT>();
for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);}
}
public static Offset<SCHALE.Common.FlatData.FixedEchelonSettingExcelTable> Pack(FlatBufferBuilder builder, FixedEchelonSettingExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.FixedEchelonSettingExcelTable>);
var _DataList = default(VectorOffset);
if (_o.DataList != null) {
var __DataList = new Offset<SCHALE.Common.FlatData.FixedEchelonSettingExcel>[_o.DataList.Count];
for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.FixedEchelonSettingExcel.Pack(builder, _o.DataList[_j]); }
_DataList = CreateDataListVector(builder, __DataList);
}
return CreateFixedEchelonSettingExcelTable(
builder,
_DataList);
}
}
public class FixedEchelonSettingExcelTableT
{
public List<SCHALE.Common.FlatData.FixedEchelonSettingExcelT> DataList { get; set; }
public FixedEchelonSettingExcelTableT() {
this.DataList = null;
}
}
static public class FixedEchelonSettingExcelTableVerify
{
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{
return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.FixedEchelonSettingExcelVerify.Verify, false)
&& verifier.VerifyTableEnd(tablePos);
}
}
}

View File

@ -21,7 +21,7 @@ public struct FloaterCommonExcel : IFlatbufferObject
public FloaterCommonExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public FloaterCommonExcel __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 Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.TacticEntityType TacticEntityType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.TacticEntityType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEntityType.None; } } public SCHALE.Common.FlatData.TacticEntityType TacticEntityType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.TacticEntityType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEntityType.None; } }
public int FloaterOffsetPosX { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int FloaterOffsetPosX { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public int FloaterOffsetPosY { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int FloaterOffsetPosY { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public int FloaterRandomPosRangeX { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int FloaterRandomPosRangeX { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
@ -29,7 +29,7 @@ public struct FloaterCommonExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.FloaterCommonExcel> CreateFloaterCommonExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.FloaterCommonExcel> CreateFloaterCommonExcel(FlatBufferBuilder builder,
long Id = 0, long Id = 0,
SCHALE.Common.FlatData.TacticEntityType TacticEntityType_ = SCHALE.Common.FlatData.TacticEntityType.None, SCHALE.Common.FlatData.TacticEntityType TacticEntityType = SCHALE.Common.FlatData.TacticEntityType.None,
int FloaterOffsetPosX = 0, int FloaterOffsetPosX = 0,
int FloaterOffsetPosY = 0, int FloaterOffsetPosY = 0,
int FloaterRandomPosRangeX = 0, int FloaterRandomPosRangeX = 0,
@ -40,13 +40,13 @@ public struct FloaterCommonExcel : IFlatbufferObject
FloaterCommonExcel.AddFloaterRandomPosRangeX(builder, FloaterRandomPosRangeX); FloaterCommonExcel.AddFloaterRandomPosRangeX(builder, FloaterRandomPosRangeX);
FloaterCommonExcel.AddFloaterOffsetPosY(builder, FloaterOffsetPosY); FloaterCommonExcel.AddFloaterOffsetPosY(builder, FloaterOffsetPosY);
FloaterCommonExcel.AddFloaterOffsetPosX(builder, FloaterOffsetPosX); FloaterCommonExcel.AddFloaterOffsetPosX(builder, FloaterOffsetPosX);
FloaterCommonExcel.AddTacticEntityType_(builder, TacticEntityType_); FloaterCommonExcel.AddTacticEntityType(builder, TacticEntityType);
return FloaterCommonExcel.EndFloaterCommonExcel(builder); return FloaterCommonExcel.EndFloaterCommonExcel(builder);
} }
public static void StartFloaterCommonExcel(FlatBufferBuilder builder) { builder.StartTable(6); } public static void StartFloaterCommonExcel(FlatBufferBuilder builder) { builder.StartTable(6); }
public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); }
public static void AddTacticEntityType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEntityType tacticEntityType_) { builder.AddInt(1, (int)tacticEntityType_, 0); } public static void AddTacticEntityType(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEntityType tacticEntityType) { builder.AddInt(1, (int)tacticEntityType, 0); }
public static void AddFloaterOffsetPosX(FlatBufferBuilder builder, int floaterOffsetPosX) { builder.AddInt(2, floaterOffsetPosX, 0); } public static void AddFloaterOffsetPosX(FlatBufferBuilder builder, int floaterOffsetPosX) { builder.AddInt(2, floaterOffsetPosX, 0); }
public static void AddFloaterOffsetPosY(FlatBufferBuilder builder, int floaterOffsetPosY) { builder.AddInt(3, floaterOffsetPosY, 0); } public static void AddFloaterOffsetPosY(FlatBufferBuilder builder, int floaterOffsetPosY) { builder.AddInt(3, floaterOffsetPosY, 0); }
public static void AddFloaterRandomPosRangeX(FlatBufferBuilder builder, int floaterRandomPosRangeX) { builder.AddInt(4, floaterRandomPosRangeX, 0); } public static void AddFloaterRandomPosRangeX(FlatBufferBuilder builder, int floaterRandomPosRangeX) { builder.AddInt(4, floaterRandomPosRangeX, 0); }
@ -63,7 +63,7 @@ public struct FloaterCommonExcel : IFlatbufferObject
public void UnPackTo(FloaterCommonExcelT _o) { public void UnPackTo(FloaterCommonExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("FloaterCommon"); byte[] key = TableEncryptionService.CreateKey("FloaterCommon");
_o.Id = TableEncryptionService.Convert(this.Id, key); _o.Id = TableEncryptionService.Convert(this.Id, key);
_o.TacticEntityType_ = TableEncryptionService.Convert(this.TacticEntityType_, key); _o.TacticEntityType = TableEncryptionService.Convert(this.TacticEntityType, key);
_o.FloaterOffsetPosX = TableEncryptionService.Convert(this.FloaterOffsetPosX, key); _o.FloaterOffsetPosX = TableEncryptionService.Convert(this.FloaterOffsetPosX, key);
_o.FloaterOffsetPosY = TableEncryptionService.Convert(this.FloaterOffsetPosY, key); _o.FloaterOffsetPosY = TableEncryptionService.Convert(this.FloaterOffsetPosY, key);
_o.FloaterRandomPosRangeX = TableEncryptionService.Convert(this.FloaterRandomPosRangeX, key); _o.FloaterRandomPosRangeX = TableEncryptionService.Convert(this.FloaterRandomPosRangeX, key);
@ -74,7 +74,7 @@ public struct FloaterCommonExcel : IFlatbufferObject
return CreateFloaterCommonExcel( return CreateFloaterCommonExcel(
builder, builder,
_o.Id, _o.Id,
_o.TacticEntityType_, _o.TacticEntityType,
_o.FloaterOffsetPosX, _o.FloaterOffsetPosX,
_o.FloaterOffsetPosY, _o.FloaterOffsetPosY,
_o.FloaterRandomPosRangeX, _o.FloaterRandomPosRangeX,
@ -85,7 +85,7 @@ public struct FloaterCommonExcel : IFlatbufferObject
public class FloaterCommonExcelT public class FloaterCommonExcelT
{ {
public long Id { get; set; } public long Id { get; set; }
public SCHALE.Common.FlatData.TacticEntityType TacticEntityType_ { get; set; } public SCHALE.Common.FlatData.TacticEntityType TacticEntityType { get; set; }
public int FloaterOffsetPosX { get; set; } public int FloaterOffsetPosX { get; set; }
public int FloaterOffsetPosY { get; set; } public int FloaterOffsetPosY { get; set; }
public int FloaterRandomPosRangeX { get; set; } public int FloaterRandomPosRangeX { get; set; }
@ -93,7 +93,7 @@ public class FloaterCommonExcelT
public FloaterCommonExcelT() { public FloaterCommonExcelT() {
this.Id = 0; this.Id = 0;
this.TacticEntityType_ = SCHALE.Common.FlatData.TacticEntityType.None; this.TacticEntityType = SCHALE.Common.FlatData.TacticEntityType.None;
this.FloaterOffsetPosX = 0; this.FloaterOffsetPosX = 0;
this.FloaterOffsetPosY = 0; this.FloaterOffsetPosY = 0;
this.FloaterRandomPosRangeX = 0; this.FloaterRandomPosRangeX = 0;
@ -108,7 +108,7 @@ static public class FloaterCommonExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*TacticEntityType_*/, 4 /*SCHALE.Common.FlatData.TacticEntityType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*TacticEntityType*/, 4 /*SCHALE.Common.FlatData.TacticEntityType*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*FloaterOffsetPosX*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 8 /*FloaterOffsetPosX*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*FloaterOffsetPosY*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 10 /*FloaterOffsetPosY*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 12 /*FloaterRandomPosRangeX*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 12 /*FloaterRandomPosRangeX*/, 4 /*int*/, 4, false)

View File

@ -20,20 +20,20 @@ public struct Form : IFlatbufferObject
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public Form __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public Form __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.MoveEnd? MoveEnd_ { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.MoveEnd?)(new SCHALE.Common.FlatData.MoveEnd()).__assign(__p.__indirect(o + __p.bb_pos), __p.bb) : null; } } public SCHALE.Common.FlatData.MoveEnd? MoveEnd { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.MoveEnd?)(new SCHALE.Common.FlatData.MoveEnd()).__assign(__p.__indirect(o + __p.bb_pos), __p.bb) : null; } }
public SCHALE.Common.FlatData.Motion? PublicSkill { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.Motion?)(new SCHALE.Common.FlatData.Motion()).__assign(__p.__indirect(o + __p.bb_pos), __p.bb) : null; } } public SCHALE.Common.FlatData.Motion? PublicSkill { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.Motion?)(new SCHALE.Common.FlatData.Motion()).__assign(__p.__indirect(o + __p.bb_pos), __p.bb) : null; } }
public static Offset<SCHALE.Common.FlatData.Form> CreateForm(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.Form> CreateForm(FlatBufferBuilder builder,
Offset<SCHALE.Common.FlatData.MoveEnd> MoveEnd_Offset = default(Offset<SCHALE.Common.FlatData.MoveEnd>), Offset<SCHALE.Common.FlatData.MoveEnd> moveEndOffset = default(Offset<SCHALE.Common.FlatData.MoveEnd>),
Offset<SCHALE.Common.FlatData.Motion> PublicSkillOffset = default(Offset<SCHALE.Common.FlatData.Motion>)) { Offset<SCHALE.Common.FlatData.Motion> PublicSkillOffset = default(Offset<SCHALE.Common.FlatData.Motion>)) {
builder.StartTable(2); builder.StartTable(2);
Form.AddPublicSkill(builder, PublicSkillOffset); Form.AddPublicSkill(builder, PublicSkillOffset);
Form.AddMoveEnd_(builder, MoveEnd_Offset); Form.AddMoveEnd(builder, moveEndOffset);
return Form.EndForm(builder); return Form.EndForm(builder);
} }
public static void StartForm(FlatBufferBuilder builder) { builder.StartTable(2); } public static void StartForm(FlatBufferBuilder builder) { builder.StartTable(2); }
public static void AddMoveEnd_(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.MoveEnd> moveEnd_Offset) { builder.AddOffset(0, moveEnd_Offset.Value, 0); } public static void AddMoveEnd(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.MoveEnd> moveEndOffset) { builder.AddOffset(0, moveEndOffset.Value, 0); }
public static void AddPublicSkill(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.Motion> publicSkillOffset) { builder.AddOffset(1, publicSkillOffset.Value, 0); } public static void AddPublicSkill(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.Motion> publicSkillOffset) { builder.AddOffset(1, publicSkillOffset.Value, 0); }
public static Offset<SCHALE.Common.FlatData.Form> EndForm(FlatBufferBuilder builder) { public static Offset<SCHALE.Common.FlatData.Form> EndForm(FlatBufferBuilder builder) {
int o = builder.EndTable(); int o = builder.EndTable();
@ -46,27 +46,27 @@ public struct Form : IFlatbufferObject
} }
public void UnPackTo(FormT _o) { public void UnPackTo(FormT _o) {
byte[] key = { 0 }; byte[] key = { 0 };
_o.MoveEnd_ = this.MoveEnd_.HasValue ? this.MoveEnd_.Value.UnPack() : null; _o.MoveEnd = this.MoveEnd.HasValue ? this.MoveEnd.Value.UnPack() : null;
_o.PublicSkill = this.PublicSkill.HasValue ? this.PublicSkill.Value.UnPack() : null; _o.PublicSkill = this.PublicSkill.HasValue ? this.PublicSkill.Value.UnPack() : null;
} }
public static Offset<SCHALE.Common.FlatData.Form> Pack(FlatBufferBuilder builder, FormT _o) { public static Offset<SCHALE.Common.FlatData.Form> Pack(FlatBufferBuilder builder, FormT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.Form>); if (_o == null) return default(Offset<SCHALE.Common.FlatData.Form>);
var _MoveEnd_ = _o.MoveEnd_ == null ? default(Offset<SCHALE.Common.FlatData.MoveEnd>) : SCHALE.Common.FlatData.MoveEnd.Pack(builder, _o.MoveEnd_); var _moveEnd = _o.MoveEnd == null ? default(Offset<SCHALE.Common.FlatData.MoveEnd>) : SCHALE.Common.FlatData.MoveEnd.Pack(builder, _o.MoveEnd);
var _PublicSkill = _o.PublicSkill == null ? default(Offset<SCHALE.Common.FlatData.Motion>) : SCHALE.Common.FlatData.Motion.Pack(builder, _o.PublicSkill); var _PublicSkill = _o.PublicSkill == null ? default(Offset<SCHALE.Common.FlatData.Motion>) : SCHALE.Common.FlatData.Motion.Pack(builder, _o.PublicSkill);
return CreateForm( return CreateForm(
builder, builder,
_MoveEnd_, _moveEnd,
_PublicSkill); _PublicSkill);
} }
} }
public class FormT public class FormT
{ {
public SCHALE.Common.FlatData.MoveEndT MoveEnd_ { get; set; } public SCHALE.Common.FlatData.MoveEndT MoveEnd { get; set; }
public SCHALE.Common.FlatData.MotionT PublicSkill { get; set; } public SCHALE.Common.FlatData.MotionT PublicSkill { get; set; }
public FormT() { public FormT() {
this.MoveEnd_ = null; this.MoveEnd = null;
this.PublicSkill = null; this.PublicSkill = null;
} }
} }
@ -77,7 +77,7 @@ static public class FormVerify
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyTable(tablePos, 4 /*MoveEnd_*/, SCHALE.Common.FlatData.MoveEndVerify.Verify, false) && verifier.VerifyTable(tablePos, 4 /*MoveEnd*/, SCHALE.Common.FlatData.MoveEndVerify.Verify, false)
&& verifier.VerifyTable(tablePos, 6 /*PublicSkill*/, SCHALE.Common.FlatData.MotionVerify.Verify, false) && verifier.VerifyTable(tablePos, 6 /*PublicSkill*/, SCHALE.Common.FlatData.MotionVerify.Verify, false)
&& verifier.VerifyTableEnd(tablePos); && verifier.VerifyTableEnd(tablePos);
} }

View File

@ -1,88 +0,0 @@
// <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::SCHALE.Common.Crypto;
using global::Google.FlatBuffers;
public struct FormationLocationExcelTable : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static FormationLocationExcelTable GetRootAsFormationLocationExcelTable(ByteBuffer _bb) { return GetRootAsFormationLocationExcelTable(_bb, new FormationLocationExcelTable()); }
public static FormationLocationExcelTable GetRootAsFormationLocationExcelTable(ByteBuffer _bb, FormationLocationExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public FormationLocationExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.FormationLocationExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.FormationLocationExcel?)(new SCHALE.Common.FlatData.FormationLocationExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; }
public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } }
public static Offset<SCHALE.Common.FlatData.FormationLocationExcelTable> CreateFormationLocationExcelTable(FlatBufferBuilder builder,
VectorOffset DataListOffset = default(VectorOffset)) {
builder.StartTable(1);
FormationLocationExcelTable.AddDataList(builder, DataListOffset);
return FormationLocationExcelTable.EndFormationLocationExcelTable(builder);
}
public static void StartFormationLocationExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); }
public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); }
public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.FormationLocationExcel>[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.FormationLocationExcel>[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<SCHALE.Common.FlatData.FormationLocationExcel>> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<Offset<SCHALE.Common.FlatData.FormationLocationExcel>>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.FormationLocationExcelTable> EndFormationLocationExcelTable(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.FormationLocationExcelTable>(o);
}
public FormationLocationExcelTableT UnPack() {
var _o = new FormationLocationExcelTableT();
this.UnPackTo(_o);
return _o;
}
public void UnPackTo(FormationLocationExcelTableT _o) {
byte[] key = TableEncryptionService.CreateKey("FormationLocationExcel");
_o.DataList = new List<SCHALE.Common.FlatData.FormationLocationExcelT>();
for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);}
}
public static Offset<SCHALE.Common.FlatData.FormationLocationExcelTable> Pack(FlatBufferBuilder builder, FormationLocationExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.FormationLocationExcelTable>);
var _DataList = default(VectorOffset);
if (_o.DataList != null) {
var __DataList = new Offset<SCHALE.Common.FlatData.FormationLocationExcel>[_o.DataList.Count];
for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.FormationLocationExcel.Pack(builder, _o.DataList[_j]); }
_DataList = CreateDataListVector(builder, __DataList);
}
return CreateFormationLocationExcelTable(
builder,
_DataList);
}
}
public class FormationLocationExcelTableT
{
public List<SCHALE.Common.FlatData.FormationLocationExcelT> DataList { get; set; }
public FormationLocationExcelTableT() {
this.DataList = null;
}
}
static public class FormationLocationExcelTableVerify
{
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{
return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.FormationLocationExcelVerify.Verify, false)
&& verifier.VerifyTableEnd(tablePos);
}
}
}

View File

@ -21,8 +21,8 @@ public struct FurnitureExcel : IFlatbufferObject
public FurnitureExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public FurnitureExcel __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 Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.ProductionStep ProductionStep_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } } public SCHALE.Common.FlatData.ProductionStep ProductionStep { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } }
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.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.FurnitureCategory Category { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.FurnitureCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.FurnitureCategory.Furnitures; } } public SCHALE.Common.FlatData.FurnitureCategory Category { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.FurnitureCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.FurnitureCategory.Furnitures; } }
public SCHALE.Common.FlatData.FurnitureSubCategory SubCategory { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.FurnitureSubCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.FurnitureSubCategory.Table; } } public SCHALE.Common.FlatData.FurnitureSubCategory SubCategory { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.FurnitureSubCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.FurnitureSubCategory.Table; } }
public uint LocalizeEtcId { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public uint LocalizeEtcId { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } }
@ -94,8 +94,15 @@ public struct FurnitureExcel : IFlatbufferObject
public long CraftQualityTier1 { get { int o = __p.__offset(60); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long CraftQualityTier1 { get { int o = __p.__offset(60); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long CraftQualityTier2 { get { int o = __p.__offset(62); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long CraftQualityTier2 { get { int o = __p.__offset(62); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long ShiftingCraftQuality { get { int o = __p.__offset(64); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ShiftingCraftQuality { get { int o = __p.__offset(64); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.FurnitureFunctionType FurnitureFunctionType_ { get { int o = __p.__offset(66); return o != 0 ? (SCHALE.Common.FlatData.FurnitureFunctionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.FurnitureFunctionType.None; } } public SCHALE.Common.FlatData.FurnitureFunctionType FurnitureFunctionType { get { int o = __p.__offset(66); return o != 0 ? (SCHALE.Common.FlatData.FurnitureFunctionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.FurnitureFunctionType.None; } }
public long FurnitureFunctionParameter { get { int o = __p.__offset(68); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long FurnitureFunctionParameter(int j) { int o = __p.__offset(68); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; }
public int FurnitureFunctionParameterLength { get { int o = __p.__offset(68); return o != 0 ? __p.__vector_len(o) : 0; } }
#if ENABLE_SPAN_T
public Span<long> GetFurnitureFunctionParameterBytes() { return __p.__vector_as_span<long>(68, 8); }
#else
public ArraySegment<byte>? GetFurnitureFunctionParameterBytes() { return __p.__vector_as_arraysegment(68); }
#endif
public long[] GetFurnitureFunctionParameterArray() { return __p.__vector_as_array<long>(68); }
public long VideoId { get { int o = __p.__offset(70); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long VideoId { get { int o = __p.__offset(70); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long EventCollectionId { get { int o = __p.__offset(72); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventCollectionId { get { int o = __p.__offset(72); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long FurnitureBubbleOffsetX { get { int o = __p.__offset(74); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long FurnitureBubbleOffsetX { get { int o = __p.__offset(74); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -111,8 +118,8 @@ public struct FurnitureExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.FurnitureExcel> CreateFurnitureExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.FurnitureExcel> CreateFurnitureExcel(FlatBufferBuilder builder,
long Id = 0, long Id = 0,
SCHALE.Common.FlatData.ProductionStep ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo, SCHALE.Common.FlatData.ProductionStep ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo,
SCHALE.Common.FlatData.Rarity Rarity_ = SCHALE.Common.FlatData.Rarity.N, SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N,
SCHALE.Common.FlatData.FurnitureCategory Category = SCHALE.Common.FlatData.FurnitureCategory.Furnitures, SCHALE.Common.FlatData.FurnitureCategory Category = SCHALE.Common.FlatData.FurnitureCategory.Furnitures,
SCHALE.Common.FlatData.FurnitureSubCategory SubCategory = SCHALE.Common.FlatData.FurnitureSubCategory.Table, SCHALE.Common.FlatData.FurnitureSubCategory SubCategory = SCHALE.Common.FlatData.FurnitureSubCategory.Table,
uint LocalizeEtcId = 0, uint LocalizeEtcId = 0,
@ -141,8 +148,8 @@ public struct FurnitureExcel : IFlatbufferObject
long CraftQualityTier1 = 0, long CraftQualityTier1 = 0,
long CraftQualityTier2 = 0, long CraftQualityTier2 = 0,
long ShiftingCraftQuality = 0, long ShiftingCraftQuality = 0,
SCHALE.Common.FlatData.FurnitureFunctionType FurnitureFunctionType_ = SCHALE.Common.FlatData.FurnitureFunctionType.None, SCHALE.Common.FlatData.FurnitureFunctionType FurnitureFunctionType = SCHALE.Common.FlatData.FurnitureFunctionType.None,
long FurnitureFunctionParameter = 0, VectorOffset FurnitureFunctionParameterOffset = default(VectorOffset),
long VideoId = 0, long VideoId = 0,
long EventCollectionId = 0, long EventCollectionId = 0,
long FurnitureBubbleOffsetX = 0, long FurnitureBubbleOffsetX = 0,
@ -156,7 +163,6 @@ public struct FurnitureExcel : IFlatbufferObject
FurnitureExcel.AddFurnitureBubbleOffsetX(builder, FurnitureBubbleOffsetX); FurnitureExcel.AddFurnitureBubbleOffsetX(builder, FurnitureBubbleOffsetX);
FurnitureExcel.AddEventCollectionId(builder, EventCollectionId); FurnitureExcel.AddEventCollectionId(builder, EventCollectionId);
FurnitureExcel.AddVideoId(builder, VideoId); FurnitureExcel.AddVideoId(builder, VideoId);
FurnitureExcel.AddFurnitureFunctionParameter(builder, FurnitureFunctionParameter);
FurnitureExcel.AddShiftingCraftQuality(builder, ShiftingCraftQuality); FurnitureExcel.AddShiftingCraftQuality(builder, ShiftingCraftQuality);
FurnitureExcel.AddCraftQualityTier2(builder, CraftQualityTier2); FurnitureExcel.AddCraftQualityTier2(builder, CraftQualityTier2);
FurnitureExcel.AddCraftQualityTier1(builder, CraftQualityTier1); FurnitureExcel.AddCraftQualityTier1(builder, CraftQualityTier1);
@ -173,7 +179,8 @@ public struct FurnitureExcel : IFlatbufferObject
FurnitureExcel.AddCafeCharacterStateMake(builder, CafeCharacterStateMakeOffset); FurnitureExcel.AddCafeCharacterStateMake(builder, CafeCharacterStateMakeOffset);
FurnitureExcel.AddCafeCharacterStateAdd(builder, CafeCharacterStateAddOffset); FurnitureExcel.AddCafeCharacterStateAdd(builder, CafeCharacterStateAddOffset);
FurnitureExcel.AddCafeCharacterStateReq(builder, CafeCharacterStateReqOffset); FurnitureExcel.AddCafeCharacterStateReq(builder, CafeCharacterStateReqOffset);
FurnitureExcel.AddFurnitureFunctionType_(builder, FurnitureFunctionType_); FurnitureExcel.AddFurnitureFunctionParameter(builder, FurnitureFunctionParameterOffset);
FurnitureExcel.AddFurnitureFunctionType(builder, FurnitureFunctionType);
FurnitureExcel.AddTags(builder, TagsOffset); FurnitureExcel.AddTags(builder, TagsOffset);
FurnitureExcel.AddCornerPrefab(builder, CornerPrefabOffset); FurnitureExcel.AddCornerPrefab(builder, CornerPrefabOffset);
FurnitureExcel.AddSubExpandPrefab(builder, SubExpandPrefabOffset); FurnitureExcel.AddSubExpandPrefab(builder, SubExpandPrefabOffset);
@ -189,8 +196,8 @@ public struct FurnitureExcel : IFlatbufferObject
FurnitureExcel.AddLocalizeEtcId(builder, LocalizeEtcId); FurnitureExcel.AddLocalizeEtcId(builder, LocalizeEtcId);
FurnitureExcel.AddSubCategory(builder, SubCategory); FurnitureExcel.AddSubCategory(builder, SubCategory);
FurnitureExcel.AddCategory(builder, Category); FurnitureExcel.AddCategory(builder, Category);
FurnitureExcel.AddRarity_(builder, Rarity_); FurnitureExcel.AddRarity(builder, Rarity);
FurnitureExcel.AddProductionStep_(builder, ProductionStep_); FurnitureExcel.AddProductionStep(builder, ProductionStep);
FurnitureExcel.AddReverseRotation(builder, ReverseRotation); FurnitureExcel.AddReverseRotation(builder, ReverseRotation);
FurnitureExcel.AddEnable(builder, Enable); FurnitureExcel.AddEnable(builder, Enable);
return FurnitureExcel.EndFurnitureExcel(builder); return FurnitureExcel.EndFurnitureExcel(builder);
@ -198,8 +205,8 @@ public struct FurnitureExcel : IFlatbufferObject
public static void StartFurnitureExcel(FlatBufferBuilder builder) { builder.StartTable(41); } public static void StartFurnitureExcel(FlatBufferBuilder builder) { builder.StartTable(41); }
public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); }
public static void AddProductionStep_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep_) { builder.AddInt(1, (int)productionStep_, 0); } public static void AddProductionStep(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep) { builder.AddInt(1, (int)productionStep, 0); }
public static void AddRarity_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity_) { builder.AddInt(2, (int)rarity_, 0); } public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(2, (int)rarity, 0); }
public static void AddCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.FurnitureCategory category) { builder.AddInt(3, (int)category, 0); } public static void AddCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.FurnitureCategory category) { builder.AddInt(3, (int)category, 0); }
public static void AddSubCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.FurnitureSubCategory subCategory) { builder.AddInt(4, (int)subCategory, 0); } public static void AddSubCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.FurnitureSubCategory subCategory) { builder.AddInt(4, (int)subCategory, 0); }
public static void AddLocalizeEtcId(FlatBufferBuilder builder, uint localizeEtcId) { builder.AddUint(5, localizeEtcId, 0); } public static void AddLocalizeEtcId(FlatBufferBuilder builder, uint localizeEtcId) { builder.AddUint(5, localizeEtcId, 0); }
@ -233,8 +240,13 @@ public struct FurnitureExcel : IFlatbufferObject
public static void AddCraftQualityTier1(FlatBufferBuilder builder, long craftQualityTier1) { builder.AddLong(28, craftQualityTier1, 0); } public static void AddCraftQualityTier1(FlatBufferBuilder builder, long craftQualityTier1) { builder.AddLong(28, craftQualityTier1, 0); }
public static void AddCraftQualityTier2(FlatBufferBuilder builder, long craftQualityTier2) { builder.AddLong(29, craftQualityTier2, 0); } public static void AddCraftQualityTier2(FlatBufferBuilder builder, long craftQualityTier2) { builder.AddLong(29, craftQualityTier2, 0); }
public static void AddShiftingCraftQuality(FlatBufferBuilder builder, long shiftingCraftQuality) { builder.AddLong(30, shiftingCraftQuality, 0); } public static void AddShiftingCraftQuality(FlatBufferBuilder builder, long shiftingCraftQuality) { builder.AddLong(30, shiftingCraftQuality, 0); }
public static void AddFurnitureFunctionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.FurnitureFunctionType furnitureFunctionType_) { builder.AddInt(31, (int)furnitureFunctionType_, 0); } public static void AddFurnitureFunctionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.FurnitureFunctionType furnitureFunctionType) { builder.AddInt(31, (int)furnitureFunctionType, 0); }
public static void AddFurnitureFunctionParameter(FlatBufferBuilder builder, long furnitureFunctionParameter) { builder.AddLong(32, furnitureFunctionParameter, 0); } public static void AddFurnitureFunctionParameter(FlatBufferBuilder builder, VectorOffset furnitureFunctionParameterOffset) { builder.AddOffset(32, furnitureFunctionParameterOffset.Value, 0); }
public static VectorOffset CreateFurnitureFunctionParameterVector(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); for (int i = data.Length - 1; i >= 0; i--) builder.AddLong(data[i]); return builder.EndVector(); }
public static VectorOffset CreateFurnitureFunctionParameterVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateFurnitureFunctionParameterVectorBlock(FlatBufferBuilder builder, ArraySegment<long> data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateFurnitureFunctionParameterVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<long>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartFurnitureFunctionParameterVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); }
public static void AddVideoId(FlatBufferBuilder builder, long videoId) { builder.AddLong(33, videoId, 0); } public static void AddVideoId(FlatBufferBuilder builder, long videoId) { builder.AddLong(33, videoId, 0); }
public static void AddEventCollectionId(FlatBufferBuilder builder, long eventCollectionId) { builder.AddLong(34, eventCollectionId, 0); } public static void AddEventCollectionId(FlatBufferBuilder builder, long eventCollectionId) { builder.AddLong(34, eventCollectionId, 0); }
public static void AddFurnitureBubbleOffsetX(FlatBufferBuilder builder, long furnitureBubbleOffsetX) { builder.AddLong(35, furnitureBubbleOffsetX, 0); } public static void AddFurnitureBubbleOffsetX(FlatBufferBuilder builder, long furnitureBubbleOffsetX) { builder.AddLong(35, furnitureBubbleOffsetX, 0); }
@ -275,8 +287,8 @@ public struct FurnitureExcel : IFlatbufferObject
public void UnPackTo(FurnitureExcelT _o) { public void UnPackTo(FurnitureExcelT _o) {
byte[] key = TableEncryptionService.CreateKey("Furniture"); byte[] key = TableEncryptionService.CreateKey("Furniture");
_o.Id = TableEncryptionService.Convert(this.Id, key); _o.Id = TableEncryptionService.Convert(this.Id, key);
_o.ProductionStep_ = TableEncryptionService.Convert(this.ProductionStep_, key); _o.ProductionStep = TableEncryptionService.Convert(this.ProductionStep, key);
_o.Rarity_ = TableEncryptionService.Convert(this.Rarity_, key); _o.Rarity = TableEncryptionService.Convert(this.Rarity, key);
_o.Category = TableEncryptionService.Convert(this.Category, key); _o.Category = TableEncryptionService.Convert(this.Category, key);
_o.SubCategory = TableEncryptionService.Convert(this.SubCategory, key); _o.SubCategory = TableEncryptionService.Convert(this.SubCategory, key);
_o.LocalizeEtcId = TableEncryptionService.Convert(this.LocalizeEtcId, key); _o.LocalizeEtcId = TableEncryptionService.Convert(this.LocalizeEtcId, key);
@ -306,8 +318,9 @@ public struct FurnitureExcel : IFlatbufferObject
_o.CraftQualityTier1 = TableEncryptionService.Convert(this.CraftQualityTier1, key); _o.CraftQualityTier1 = TableEncryptionService.Convert(this.CraftQualityTier1, key);
_o.CraftQualityTier2 = TableEncryptionService.Convert(this.CraftQualityTier2, key); _o.CraftQualityTier2 = TableEncryptionService.Convert(this.CraftQualityTier2, key);
_o.ShiftingCraftQuality = TableEncryptionService.Convert(this.ShiftingCraftQuality, key); _o.ShiftingCraftQuality = TableEncryptionService.Convert(this.ShiftingCraftQuality, key);
_o.FurnitureFunctionType_ = TableEncryptionService.Convert(this.FurnitureFunctionType_, key); _o.FurnitureFunctionType = TableEncryptionService.Convert(this.FurnitureFunctionType, key);
_o.FurnitureFunctionParameter = TableEncryptionService.Convert(this.FurnitureFunctionParameter, key); _o.FurnitureFunctionParameter = new List<long>();
for (var _j = 0; _j < this.FurnitureFunctionParameterLength; ++_j) {_o.FurnitureFunctionParameter.Add(TableEncryptionService.Convert(this.FurnitureFunctionParameter(_j), key));}
_o.VideoId = TableEncryptionService.Convert(this.VideoId, key); _o.VideoId = TableEncryptionService.Convert(this.VideoId, key);
_o.EventCollectionId = TableEncryptionService.Convert(this.EventCollectionId, key); _o.EventCollectionId = TableEncryptionService.Convert(this.EventCollectionId, key);
_o.FurnitureBubbleOffsetX = TableEncryptionService.Convert(this.FurnitureBubbleOffsetX, key); _o.FurnitureBubbleOffsetX = TableEncryptionService.Convert(this.FurnitureBubbleOffsetX, key);
@ -334,6 +347,11 @@ public struct FurnitureExcel : IFlatbufferObject
var __Tags = _o.Tags.ToArray(); var __Tags = _o.Tags.ToArray();
_Tags = CreateTagsVector(builder, __Tags); _Tags = CreateTagsVector(builder, __Tags);
} }
var _FurnitureFunctionParameter = default(VectorOffset);
if (_o.FurnitureFunctionParameter != null) {
var __FurnitureFunctionParameter = _o.FurnitureFunctionParameter.ToArray();
_FurnitureFunctionParameter = CreateFurnitureFunctionParameterVector(builder, __FurnitureFunctionParameter);
}
var _CafeCharacterStateReq = default(VectorOffset); var _CafeCharacterStateReq = default(VectorOffset);
if (_o.CafeCharacterStateReq != null) { if (_o.CafeCharacterStateReq != null) {
var __CafeCharacterStateReq = new StringOffset[_o.CafeCharacterStateReq.Count]; var __CafeCharacterStateReq = new StringOffset[_o.CafeCharacterStateReq.Count];
@ -361,8 +379,8 @@ public struct FurnitureExcel : IFlatbufferObject
return CreateFurnitureExcel( return CreateFurnitureExcel(
builder, builder,
_o.Id, _o.Id,
_o.ProductionStep_, _o.ProductionStep,
_o.Rarity_, _o.Rarity,
_o.Category, _o.Category,
_o.SubCategory, _o.SubCategory,
_o.LocalizeEtcId, _o.LocalizeEtcId,
@ -391,8 +409,8 @@ public struct FurnitureExcel : IFlatbufferObject
_o.CraftQualityTier1, _o.CraftQualityTier1,
_o.CraftQualityTier2, _o.CraftQualityTier2,
_o.ShiftingCraftQuality, _o.ShiftingCraftQuality,
_o.FurnitureFunctionType_, _o.FurnitureFunctionType,
_o.FurnitureFunctionParameter, _FurnitureFunctionParameter,
_o.VideoId, _o.VideoId,
_o.EventCollectionId, _o.EventCollectionId,
_o.FurnitureBubbleOffsetX, _o.FurnitureBubbleOffsetX,
@ -407,8 +425,8 @@ public struct FurnitureExcel : IFlatbufferObject
public class FurnitureExcelT public class FurnitureExcelT
{ {
public long Id { get; set; } public long Id { get; set; }
public SCHALE.Common.FlatData.ProductionStep ProductionStep_ { get; set; } public SCHALE.Common.FlatData.ProductionStep ProductionStep { get; set; }
public SCHALE.Common.FlatData.Rarity Rarity_ { get; set; } public SCHALE.Common.FlatData.Rarity Rarity { get; set; }
public SCHALE.Common.FlatData.FurnitureCategory Category { get; set; } public SCHALE.Common.FlatData.FurnitureCategory Category { get; set; }
public SCHALE.Common.FlatData.FurnitureSubCategory SubCategory { get; set; } public SCHALE.Common.FlatData.FurnitureSubCategory SubCategory { get; set; }
public uint LocalizeEtcId { get; set; } public uint LocalizeEtcId { get; set; }
@ -437,8 +455,8 @@ public class FurnitureExcelT
public long CraftQualityTier1 { get; set; } public long CraftQualityTier1 { get; set; }
public long CraftQualityTier2 { get; set; } public long CraftQualityTier2 { get; set; }
public long ShiftingCraftQuality { get; set; } public long ShiftingCraftQuality { get; set; }
public SCHALE.Common.FlatData.FurnitureFunctionType FurnitureFunctionType_ { get; set; } public SCHALE.Common.FlatData.FurnitureFunctionType FurnitureFunctionType { get; set; }
public long FurnitureFunctionParameter { get; set; } public List<long> FurnitureFunctionParameter { get; set; }
public long VideoId { get; set; } public long VideoId { get; set; }
public long EventCollectionId { get; set; } public long EventCollectionId { get; set; }
public long FurnitureBubbleOffsetX { get; set; } public long FurnitureBubbleOffsetX { get; set; }
@ -450,8 +468,8 @@ public class FurnitureExcelT
public FurnitureExcelT() { public FurnitureExcelT() {
this.Id = 0; this.Id = 0;
this.ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo; this.ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo;
this.Rarity_ = SCHALE.Common.FlatData.Rarity.N; this.Rarity = SCHALE.Common.FlatData.Rarity.N;
this.Category = SCHALE.Common.FlatData.FurnitureCategory.Furnitures; this.Category = SCHALE.Common.FlatData.FurnitureCategory.Furnitures;
this.SubCategory = SCHALE.Common.FlatData.FurnitureSubCategory.Table; this.SubCategory = SCHALE.Common.FlatData.FurnitureSubCategory.Table;
this.LocalizeEtcId = 0; this.LocalizeEtcId = 0;
@ -480,8 +498,8 @@ public class FurnitureExcelT
this.CraftQualityTier1 = 0; this.CraftQualityTier1 = 0;
this.CraftQualityTier2 = 0; this.CraftQualityTier2 = 0;
this.ShiftingCraftQuality = 0; this.ShiftingCraftQuality = 0;
this.FurnitureFunctionType_ = SCHALE.Common.FlatData.FurnitureFunctionType.None; this.FurnitureFunctionType = SCHALE.Common.FlatData.FurnitureFunctionType.None;
this.FurnitureFunctionParameter = 0; this.FurnitureFunctionParameter = null;
this.VideoId = 0; this.VideoId = 0;
this.EventCollectionId = 0; this.EventCollectionId = 0;
this.FurnitureBubbleOffsetX = 0; this.FurnitureBubbleOffsetX = 0;
@ -500,8 +518,8 @@ static public class FurnitureExcelVerify
{ {
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*ProductionStep_*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false) && verifier.VerifyField(tablePos, 6 /*ProductionStep*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*Rarity_*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) && verifier.VerifyField(tablePos, 8 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*Category*/, 4 /*SCHALE.Common.FlatData.FurnitureCategory*/, 4, false) && verifier.VerifyField(tablePos, 10 /*Category*/, 4 /*SCHALE.Common.FlatData.FurnitureCategory*/, 4, false)
&& verifier.VerifyField(tablePos, 12 /*SubCategory*/, 4 /*SCHALE.Common.FlatData.FurnitureSubCategory*/, 4, false) && verifier.VerifyField(tablePos, 12 /*SubCategory*/, 4 /*SCHALE.Common.FlatData.FurnitureSubCategory*/, 4, false)
&& verifier.VerifyField(tablePos, 14 /*LocalizeEtcId*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 14 /*LocalizeEtcId*/, 4 /*uint*/, 4, false)
@ -530,8 +548,8 @@ static public class FurnitureExcelVerify
&& verifier.VerifyField(tablePos, 60 /*CraftQualityTier1*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 60 /*CraftQualityTier1*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 62 /*CraftQualityTier2*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 62 /*CraftQualityTier2*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 64 /*ShiftingCraftQuality*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 64 /*ShiftingCraftQuality*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 66 /*FurnitureFunctionType_*/, 4 /*SCHALE.Common.FlatData.FurnitureFunctionType*/, 4, false) && verifier.VerifyField(tablePos, 66 /*FurnitureFunctionType*/, 4 /*SCHALE.Common.FlatData.FurnitureFunctionType*/, 4, false)
&& verifier.VerifyField(tablePos, 68 /*FurnitureFunctionParameter*/, 8 /*long*/, 8, false) && verifier.VerifyVectorOfData(tablePos, 68 /*FurnitureFunctionParameter*/, 8 /*long*/, false)
&& verifier.VerifyField(tablePos, 70 /*VideoId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 70 /*VideoId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 72 /*EventCollectionId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 72 /*EventCollectionId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 74 /*FurnitureBubbleOffsetX*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 74 /*FurnitureBubbleOffsetX*/, 8 /*long*/, 8, false)

View File

@ -22,9 +22,9 @@ public struct GachaElementExcel : IFlatbufferObject
public long ID { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ID { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long GachaGroupID { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long GachaGroupID { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.ParcelType ParcelType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public SCHALE.Common.FlatData.ParcelType ParcelType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } }
public long ParcelID { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ParcelID { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.Rarity Rarity_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } public SCHALE.Common.FlatData.Rarity Rarity { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } }
public int ParcelAmountMin { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int ParcelAmountMin { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public int ParcelAmountMax { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int ParcelAmountMax { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public int Prob { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int Prob { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
@ -33,9 +33,9 @@ public struct GachaElementExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.GachaElementExcel> CreateGachaElementExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.GachaElementExcel> CreateGachaElementExcel(FlatBufferBuilder builder,
long ID = 0, long ID = 0,
long GachaGroupID = 0, long GachaGroupID = 0,
SCHALE.Common.FlatData.ParcelType ParcelType_ = SCHALE.Common.FlatData.ParcelType.None, SCHALE.Common.FlatData.ParcelType ParcelType = SCHALE.Common.FlatData.ParcelType.None,
long ParcelID = 0, long ParcelID = 0,
SCHALE.Common.FlatData.Rarity Rarity_ = SCHALE.Common.FlatData.Rarity.N, SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N,
int ParcelAmountMin = 0, int ParcelAmountMin = 0,
int ParcelAmountMax = 0, int ParcelAmountMax = 0,
int Prob = 0, int Prob = 0,
@ -48,17 +48,17 @@ public struct GachaElementExcel : IFlatbufferObject
GachaElementExcel.AddProb(builder, Prob); GachaElementExcel.AddProb(builder, Prob);
GachaElementExcel.AddParcelAmountMax(builder, ParcelAmountMax); GachaElementExcel.AddParcelAmountMax(builder, ParcelAmountMax);
GachaElementExcel.AddParcelAmountMin(builder, ParcelAmountMin); GachaElementExcel.AddParcelAmountMin(builder, ParcelAmountMin);
GachaElementExcel.AddRarity_(builder, Rarity_); GachaElementExcel.AddRarity(builder, Rarity);
GachaElementExcel.AddParcelType_(builder, ParcelType_); GachaElementExcel.AddParcelType(builder, ParcelType);
return GachaElementExcel.EndGachaElementExcel(builder); return GachaElementExcel.EndGachaElementExcel(builder);
} }
public static void StartGachaElementExcel(FlatBufferBuilder builder) { builder.StartTable(9); } public static void StartGachaElementExcel(FlatBufferBuilder builder) { builder.StartTable(9); }
public static void AddID(FlatBufferBuilder builder, long iD) { builder.AddLong(0, iD, 0); } public static void AddID(FlatBufferBuilder builder, long iD) { builder.AddLong(0, iD, 0); }
public static void AddGachaGroupID(FlatBufferBuilder builder, long gachaGroupID) { builder.AddLong(1, gachaGroupID, 0); } public static void AddGachaGroupID(FlatBufferBuilder builder, long gachaGroupID) { builder.AddLong(1, gachaGroupID, 0); }
public static void AddParcelType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType_) { builder.AddInt(2, (int)parcelType_, 0); } public static void AddParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType) { builder.AddInt(2, (int)parcelType, 0); }
public static void AddParcelID(FlatBufferBuilder builder, long parcelID) { builder.AddLong(3, parcelID, 0); } public static void AddParcelID(FlatBufferBuilder builder, long parcelID) { builder.AddLong(3, parcelID, 0); }
public static void AddRarity_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity_) { builder.AddInt(4, (int)rarity_, 0); } public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(4, (int)rarity, 0); }
public static void AddParcelAmountMin(FlatBufferBuilder builder, int parcelAmountMin) { builder.AddInt(5, parcelAmountMin, 0); } public static void AddParcelAmountMin(FlatBufferBuilder builder, int parcelAmountMin) { builder.AddInt(5, parcelAmountMin, 0); }
public static void AddParcelAmountMax(FlatBufferBuilder builder, int parcelAmountMax) { builder.AddInt(6, parcelAmountMax, 0); } public static void AddParcelAmountMax(FlatBufferBuilder builder, int parcelAmountMax) { builder.AddInt(6, parcelAmountMax, 0); }
public static void AddProb(FlatBufferBuilder builder, int prob) { builder.AddInt(7, prob, 0); } public static void AddProb(FlatBufferBuilder builder, int prob) { builder.AddInt(7, prob, 0); }
@ -76,9 +76,9 @@ public struct GachaElementExcel : IFlatbufferObject
byte[] key = TableEncryptionService.CreateKey("GachaElement"); byte[] key = TableEncryptionService.CreateKey("GachaElement");
_o.ID = TableEncryptionService.Convert(this.ID, key); _o.ID = TableEncryptionService.Convert(this.ID, key);
_o.GachaGroupID = TableEncryptionService.Convert(this.GachaGroupID, key); _o.GachaGroupID = TableEncryptionService.Convert(this.GachaGroupID, key);
_o.ParcelType_ = TableEncryptionService.Convert(this.ParcelType_, key); _o.ParcelType = TableEncryptionService.Convert(this.ParcelType, key);
_o.ParcelID = TableEncryptionService.Convert(this.ParcelID, key); _o.ParcelID = TableEncryptionService.Convert(this.ParcelID, key);
_o.Rarity_ = TableEncryptionService.Convert(this.Rarity_, key); _o.Rarity = TableEncryptionService.Convert(this.Rarity, key);
_o.ParcelAmountMin = TableEncryptionService.Convert(this.ParcelAmountMin, key); _o.ParcelAmountMin = TableEncryptionService.Convert(this.ParcelAmountMin, key);
_o.ParcelAmountMax = TableEncryptionService.Convert(this.ParcelAmountMax, key); _o.ParcelAmountMax = TableEncryptionService.Convert(this.ParcelAmountMax, key);
_o.Prob = TableEncryptionService.Convert(this.Prob, key); _o.Prob = TableEncryptionService.Convert(this.Prob, key);
@ -90,9 +90,9 @@ public struct GachaElementExcel : IFlatbufferObject
builder, builder,
_o.ID, _o.ID,
_o.GachaGroupID, _o.GachaGroupID,
_o.ParcelType_, _o.ParcelType,
_o.ParcelID, _o.ParcelID,
_o.Rarity_, _o.Rarity,
_o.ParcelAmountMin, _o.ParcelAmountMin,
_o.ParcelAmountMax, _o.ParcelAmountMax,
_o.Prob, _o.Prob,
@ -104,9 +104,9 @@ public class GachaElementExcelT
{ {
public long ID { get; set; } public long ID { get; set; }
public long GachaGroupID { get; set; } public long GachaGroupID { get; set; }
public SCHALE.Common.FlatData.ParcelType ParcelType_ { get; set; } public SCHALE.Common.FlatData.ParcelType ParcelType { get; set; }
public long ParcelID { get; set; } public long ParcelID { get; set; }
public SCHALE.Common.FlatData.Rarity Rarity_ { get; set; } public SCHALE.Common.FlatData.Rarity Rarity { get; set; }
public int ParcelAmountMin { get; set; } public int ParcelAmountMin { get; set; }
public int ParcelAmountMax { get; set; } public int ParcelAmountMax { get; set; }
public int Prob { get; set; } public int Prob { get; set; }
@ -115,9 +115,9 @@ public class GachaElementExcelT
public GachaElementExcelT() { public GachaElementExcelT() {
this.ID = 0; this.ID = 0;
this.GachaGroupID = 0; this.GachaGroupID = 0;
this.ParcelType_ = SCHALE.Common.FlatData.ParcelType.None; this.ParcelType = SCHALE.Common.FlatData.ParcelType.None;
this.ParcelID = 0; this.ParcelID = 0;
this.Rarity_ = SCHALE.Common.FlatData.Rarity.N; this.Rarity = SCHALE.Common.FlatData.Rarity.N;
this.ParcelAmountMin = 0; this.ParcelAmountMin = 0;
this.ParcelAmountMax = 0; this.ParcelAmountMax = 0;
this.Prob = 0; this.Prob = 0;
@ -133,9 +133,9 @@ static public class GachaElementExcelVerify
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*ID*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*ID*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*GachaGroupID*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*GachaGroupID*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 8 /*ParcelType_*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*ParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*ParcelID*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*ParcelID*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 12 /*Rarity_*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) && verifier.VerifyField(tablePos, 12 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false)
&& verifier.VerifyField(tablePos, 14 /*ParcelAmountMin*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 14 /*ParcelAmountMin*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 16 /*ParcelAmountMax*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 16 /*ParcelAmountMax*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 18 /*Prob*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 18 /*Prob*/, 4 /*int*/, 4, false)

View File

@ -22,7 +22,7 @@ public struct GachaElementRecursiveExcel : IFlatbufferObject
public long ID { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ID { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public long GachaGroupID { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long GachaGroupID { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.ParcelType ParcelType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public SCHALE.Common.FlatData.ParcelType ParcelType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } }
public long ParcelID { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ParcelID { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public int ParcelAmountMin { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int ParcelAmountMin { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
public int ParcelAmountMax { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int ParcelAmountMax { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
@ -32,7 +32,7 @@ public struct GachaElementRecursiveExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.GachaElementRecursiveExcel> CreateGachaElementRecursiveExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.GachaElementRecursiveExcel> CreateGachaElementRecursiveExcel(FlatBufferBuilder builder,
long ID = 0, long ID = 0,
long GachaGroupID = 0, long GachaGroupID = 0,
SCHALE.Common.FlatData.ParcelType ParcelType_ = SCHALE.Common.FlatData.ParcelType.None, SCHALE.Common.FlatData.ParcelType ParcelType = SCHALE.Common.FlatData.ParcelType.None,
long ParcelID = 0, long ParcelID = 0,
int ParcelAmountMin = 0, int ParcelAmountMin = 0,
int ParcelAmountMax = 0, int ParcelAmountMax = 0,
@ -46,14 +46,14 @@ public struct GachaElementRecursiveExcel : IFlatbufferObject
GachaElementRecursiveExcel.AddProb(builder, Prob); GachaElementRecursiveExcel.AddProb(builder, Prob);
GachaElementRecursiveExcel.AddParcelAmountMax(builder, ParcelAmountMax); GachaElementRecursiveExcel.AddParcelAmountMax(builder, ParcelAmountMax);
GachaElementRecursiveExcel.AddParcelAmountMin(builder, ParcelAmountMin); GachaElementRecursiveExcel.AddParcelAmountMin(builder, ParcelAmountMin);
GachaElementRecursiveExcel.AddParcelType_(builder, ParcelType_); GachaElementRecursiveExcel.AddParcelType(builder, ParcelType);
return GachaElementRecursiveExcel.EndGachaElementRecursiveExcel(builder); return GachaElementRecursiveExcel.EndGachaElementRecursiveExcel(builder);
} }
public static void StartGachaElementRecursiveExcel(FlatBufferBuilder builder) { builder.StartTable(8); } public static void StartGachaElementRecursiveExcel(FlatBufferBuilder builder) { builder.StartTable(8); }
public static void AddID(FlatBufferBuilder builder, long iD) { builder.AddLong(0, iD, 0); } public static void AddID(FlatBufferBuilder builder, long iD) { builder.AddLong(0, iD, 0); }
public static void AddGachaGroupID(FlatBufferBuilder builder, long gachaGroupID) { builder.AddLong(1, gachaGroupID, 0); } public static void AddGachaGroupID(FlatBufferBuilder builder, long gachaGroupID) { builder.AddLong(1, gachaGroupID, 0); }
public static void AddParcelType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType_) { builder.AddInt(2, (int)parcelType_, 0); } public static void AddParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType) { builder.AddInt(2, (int)parcelType, 0); }
public static void AddParcelID(FlatBufferBuilder builder, long parcelID) { builder.AddLong(3, parcelID, 0); } public static void AddParcelID(FlatBufferBuilder builder, long parcelID) { builder.AddLong(3, parcelID, 0); }
public static void AddParcelAmountMin(FlatBufferBuilder builder, int parcelAmountMin) { builder.AddInt(4, parcelAmountMin, 0); } public static void AddParcelAmountMin(FlatBufferBuilder builder, int parcelAmountMin) { builder.AddInt(4, parcelAmountMin, 0); }
public static void AddParcelAmountMax(FlatBufferBuilder builder, int parcelAmountMax) { builder.AddInt(5, parcelAmountMax, 0); } public static void AddParcelAmountMax(FlatBufferBuilder builder, int parcelAmountMax) { builder.AddInt(5, parcelAmountMax, 0); }
@ -72,7 +72,7 @@ public struct GachaElementRecursiveExcel : IFlatbufferObject
byte[] key = TableEncryptionService.CreateKey("GachaElementRecursive"); byte[] key = TableEncryptionService.CreateKey("GachaElementRecursive");
_o.ID = TableEncryptionService.Convert(this.ID, key); _o.ID = TableEncryptionService.Convert(this.ID, key);
_o.GachaGroupID = TableEncryptionService.Convert(this.GachaGroupID, key); _o.GachaGroupID = TableEncryptionService.Convert(this.GachaGroupID, key);
_o.ParcelType_ = TableEncryptionService.Convert(this.ParcelType_, key); _o.ParcelType = TableEncryptionService.Convert(this.ParcelType, key);
_o.ParcelID = TableEncryptionService.Convert(this.ParcelID, key); _o.ParcelID = TableEncryptionService.Convert(this.ParcelID, key);
_o.ParcelAmountMin = TableEncryptionService.Convert(this.ParcelAmountMin, key); _o.ParcelAmountMin = TableEncryptionService.Convert(this.ParcelAmountMin, key);
_o.ParcelAmountMax = TableEncryptionService.Convert(this.ParcelAmountMax, key); _o.ParcelAmountMax = TableEncryptionService.Convert(this.ParcelAmountMax, key);
@ -85,7 +85,7 @@ public struct GachaElementRecursiveExcel : IFlatbufferObject
builder, builder,
_o.ID, _o.ID,
_o.GachaGroupID, _o.GachaGroupID,
_o.ParcelType_, _o.ParcelType,
_o.ParcelID, _o.ParcelID,
_o.ParcelAmountMin, _o.ParcelAmountMin,
_o.ParcelAmountMax, _o.ParcelAmountMax,
@ -98,7 +98,7 @@ public class GachaElementRecursiveExcelT
{ {
public long ID { get; set; } public long ID { get; set; }
public long GachaGroupID { get; set; } public long GachaGroupID { get; set; }
public SCHALE.Common.FlatData.ParcelType ParcelType_ { get; set; } public SCHALE.Common.FlatData.ParcelType ParcelType { get; set; }
public long ParcelID { get; set; } public long ParcelID { get; set; }
public int ParcelAmountMin { get; set; } public int ParcelAmountMin { get; set; }
public int ParcelAmountMax { get; set; } public int ParcelAmountMax { get; set; }
@ -108,7 +108,7 @@ public class GachaElementRecursiveExcelT
public GachaElementRecursiveExcelT() { public GachaElementRecursiveExcelT() {
this.ID = 0; this.ID = 0;
this.GachaGroupID = 0; this.GachaGroupID = 0;
this.ParcelType_ = SCHALE.Common.FlatData.ParcelType.None; this.ParcelType = SCHALE.Common.FlatData.ParcelType.None;
this.ParcelID = 0; this.ParcelID = 0;
this.ParcelAmountMin = 0; this.ParcelAmountMin = 0;
this.ParcelAmountMax = 0; this.ParcelAmountMax = 0;
@ -125,7 +125,7 @@ static public class GachaElementRecursiveExcelVerify
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*ID*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*ID*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*GachaGroupID*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*GachaGroupID*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 8 /*ParcelType_*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*ParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false)
&& verifier.VerifyField(tablePos, 10 /*ParcelID*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*ParcelID*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 12 /*ParcelAmountMin*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 12 /*ParcelAmountMin*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 14 /*ParcelAmountMax*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 14 /*ParcelAmountMax*/, 4 /*int*/, 4, false)

View File

@ -22,7 +22,7 @@ public struct GoodsExcel : IFlatbufferObject
public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public int Type { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int Type { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)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.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 string IconPath { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } public string IconPath { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
#if ENABLE_SPAN_T #if ENABLE_SPAN_T
public Span<byte> GetIconPathBytes() { return __p.__vector_as_span<byte>(10, 1); } public Span<byte> GetIconPathBytes() { return __p.__vector_as_span<byte>(10, 1); }
@ -111,7 +111,7 @@ public struct GoodsExcel : IFlatbufferObject
public static Offset<SCHALE.Common.FlatData.GoodsExcel> CreateGoodsExcel(FlatBufferBuilder builder, public static Offset<SCHALE.Common.FlatData.GoodsExcel> CreateGoodsExcel(FlatBufferBuilder builder,
long Id = 0, long Id = 0,
int Type = 0, int Type = 0,
SCHALE.Common.FlatData.Rarity Rarity_ = SCHALE.Common.FlatData.Rarity.N, SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N,
StringOffset IconPathOffset = default(StringOffset), StringOffset IconPathOffset = default(StringOffset),
VectorOffset ConsumeParcelTypeOffset = default(VectorOffset), VectorOffset ConsumeParcelTypeOffset = default(VectorOffset),
VectorOffset ConsumeParcelIdOffset = default(VectorOffset), VectorOffset ConsumeParcelIdOffset = default(VectorOffset),
@ -144,7 +144,7 @@ public struct GoodsExcel : IFlatbufferObject
GoodsExcel.AddConsumeParcelId(builder, ConsumeParcelIdOffset); GoodsExcel.AddConsumeParcelId(builder, ConsumeParcelIdOffset);
GoodsExcel.AddConsumeParcelType(builder, ConsumeParcelTypeOffset); GoodsExcel.AddConsumeParcelType(builder, ConsumeParcelTypeOffset);
GoodsExcel.AddIconPath(builder, IconPathOffset); GoodsExcel.AddIconPath(builder, IconPathOffset);
GoodsExcel.AddRarity_(builder, Rarity_); GoodsExcel.AddRarity(builder, Rarity);
GoodsExcel.AddType(builder, Type); GoodsExcel.AddType(builder, Type);
return GoodsExcel.EndGoodsExcel(builder); return GoodsExcel.EndGoodsExcel(builder);
} }
@ -152,7 +152,7 @@ public struct GoodsExcel : IFlatbufferObject
public static void StartGoodsExcel(FlatBufferBuilder builder) { builder.StartTable(18); } public static void StartGoodsExcel(FlatBufferBuilder builder) { builder.StartTable(18); }
public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); }
public static void AddType(FlatBufferBuilder builder, int type) { builder.AddInt(1, type, 0); } public static void AddType(FlatBufferBuilder builder, int type) { builder.AddInt(1, type, 0); }
public static void AddRarity_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity_) { builder.AddInt(2, (int)rarity_, 0); } public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(2, (int)rarity, 0); }
public static void AddIconPath(FlatBufferBuilder builder, StringOffset iconPathOffset) { builder.AddOffset(3, iconPathOffset.Value, 0); } public static void AddIconPath(FlatBufferBuilder builder, StringOffset iconPathOffset) { builder.AddOffset(3, iconPathOffset.Value, 0); }
public static void AddConsumeParcelType(FlatBufferBuilder builder, VectorOffset consumeParcelTypeOffset) { builder.AddOffset(4, consumeParcelTypeOffset.Value, 0); } public static void AddConsumeParcelType(FlatBufferBuilder builder, VectorOffset consumeParcelTypeOffset) { builder.AddOffset(4, consumeParcelTypeOffset.Value, 0); }
public static VectorOffset CreateConsumeParcelTypeVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType[] 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 CreateConsumeParcelTypeVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt((int)data[i]); return builder.EndVector(); }
@ -226,7 +226,7 @@ public struct GoodsExcel : IFlatbufferObject
byte[] key = TableEncryptionService.CreateKey("Goods"); byte[] key = TableEncryptionService.CreateKey("Goods");
_o.Id = TableEncryptionService.Convert(this.Id, key); _o.Id = TableEncryptionService.Convert(this.Id, key);
_o.Type = TableEncryptionService.Convert(this.Type, key); _o.Type = TableEncryptionService.Convert(this.Type, key);
_o.Rarity_ = TableEncryptionService.Convert(this.Rarity_, key); _o.Rarity = TableEncryptionService.Convert(this.Rarity, key);
_o.IconPath = TableEncryptionService.Convert(this.IconPath, key); _o.IconPath = TableEncryptionService.Convert(this.IconPath, key);
_o.ConsumeParcelType = new List<SCHALE.Common.FlatData.ParcelType>(); _o.ConsumeParcelType = new List<SCHALE.Common.FlatData.ParcelType>();
for (var _j = 0; _j < this.ConsumeParcelTypeLength; ++_j) {_o.ConsumeParcelType.Add(TableEncryptionService.Convert(this.ConsumeParcelType(_j), key));} for (var _j = 0; _j < this.ConsumeParcelTypeLength; ++_j) {_o.ConsumeParcelType.Add(TableEncryptionService.Convert(this.ConsumeParcelType(_j), key));}
@ -304,7 +304,7 @@ public struct GoodsExcel : IFlatbufferObject
builder, builder,
_o.Id, _o.Id,
_o.Type, _o.Type,
_o.Rarity_, _o.Rarity,
_IconPath, _IconPath,
_ConsumeParcelType, _ConsumeParcelType,
_ConsumeParcelId, _ConsumeParcelId,
@ -327,7 +327,7 @@ public class GoodsExcelT
{ {
public long Id { get; set; } public long Id { get; set; }
public int Type { get; set; } public int Type { get; set; }
public SCHALE.Common.FlatData.Rarity Rarity_ { get; set; } public SCHALE.Common.FlatData.Rarity Rarity { get; set; }
public string IconPath { get; set; } public string IconPath { get; set; }
public List<SCHALE.Common.FlatData.ParcelType> ConsumeParcelType { get; set; } public List<SCHALE.Common.FlatData.ParcelType> ConsumeParcelType { get; set; }
public List<long> ConsumeParcelId { get; set; } public List<long> ConsumeParcelId { get; set; }
@ -347,7 +347,7 @@ public class GoodsExcelT
public GoodsExcelT() { public GoodsExcelT() {
this.Id = 0; this.Id = 0;
this.Type = 0; this.Type = 0;
this.Rarity_ = SCHALE.Common.FlatData.Rarity.N; this.Rarity = SCHALE.Common.FlatData.Rarity.N;
this.IconPath = null; this.IconPath = null;
this.ConsumeParcelType = null; this.ConsumeParcelType = null;
this.ConsumeParcelId = null; this.ConsumeParcelId = null;
@ -374,7 +374,7 @@ static public class GoodsExcelVerify
return verifier.VerifyTableStart(tablePos) return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 6 /*Type*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 6 /*Type*/, 4 /*int*/, 4, false)
&& verifier.VerifyField(tablePos, 8 /*Rarity_*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) && verifier.VerifyField(tablePos, 8 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false)
&& verifier.VerifyString(tablePos, 10 /*IconPath*/, false) && verifier.VerifyString(tablePos, 10 /*IconPath*/, false)
&& verifier.VerifyVectorOfData(tablePos, 12 /*ConsumeParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false) && verifier.VerifyVectorOfData(tablePos, 12 /*ConsumeParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false)
&& verifier.VerifyVectorOfData(tablePos, 14 /*ConsumeParcelId*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 14 /*ConsumeParcelId*/, 8 /*long*/, false)

View File

@ -31,7 +31,7 @@ public struct GroundExcel : IFlatbufferObject
#endif #endif
public byte[] GetGroundSceneNameArray() { return __p.__vector_as_array<byte>(8); } public byte[] GetGroundSceneNameArray() { return __p.__vector_as_array<byte>(8); }
public long FormationGroupId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long FormationGroupId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
public SCHALE.Common.FlatData.StageTopography StageTopography_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } public SCHALE.Common.FlatData.StageTopography StageTopography { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } }
public SCHALE.Common.FlatData.BulletType EnemyBulletType { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.BulletType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.BulletType.Normal; } } public SCHALE.Common.FlatData.BulletType EnemyBulletType { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.BulletType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.BulletType.Normal; } }
public SCHALE.Common.FlatData.ArmorType EnemyArmorType { get { int o = __p.__offset(16); return o != 0 ? (SCHALE.Common.FlatData.ArmorType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ArmorType.LightArmor; } } public SCHALE.Common.FlatData.ArmorType EnemyArmorType { get { int o = __p.__offset(16); return o != 0 ? (SCHALE.Common.FlatData.ArmorType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ArmorType.LightArmor; } }
public long LevelNPC { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long LevelNPC { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
@ -117,7 +117,7 @@ public struct GroundExcel : IFlatbufferObject
VectorOffset StageFileNameOffset = default(VectorOffset), VectorOffset StageFileNameOffset = default(VectorOffset),
StringOffset GroundSceneNameOffset = default(StringOffset), StringOffset GroundSceneNameOffset = default(StringOffset),
long FormationGroupId = 0, long FormationGroupId = 0,
SCHALE.Common.FlatData.StageTopography StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street, SCHALE.Common.FlatData.StageTopography StageTopography = SCHALE.Common.FlatData.StageTopography.Street,
SCHALE.Common.FlatData.BulletType EnemyBulletType = SCHALE.Common.FlatData.BulletType.Normal, SCHALE.Common.FlatData.BulletType EnemyBulletType = SCHALE.Common.FlatData.BulletType.Normal,
SCHALE.Common.FlatData.ArmorType EnemyArmorType = SCHALE.Common.FlatData.ArmorType.LightArmor, SCHALE.Common.FlatData.ArmorType EnemyArmorType = SCHALE.Common.FlatData.ArmorType.LightArmor,
long LevelNPC = 0, long LevelNPC = 0,
@ -213,7 +213,7 @@ public struct GroundExcel : IFlatbufferObject
GroundExcel.AddForcedTacticSpeed(builder, ForcedTacticSpeed); GroundExcel.AddForcedTacticSpeed(builder, ForcedTacticSpeed);
GroundExcel.AddEnemyArmorType(builder, EnemyArmorType); GroundExcel.AddEnemyArmorType(builder, EnemyArmorType);
GroundExcel.AddEnemyBulletType(builder, EnemyBulletType); GroundExcel.AddEnemyBulletType(builder, EnemyBulletType);
GroundExcel.AddStageTopography_(builder, StageTopography_); GroundExcel.AddStageTopography(builder, StageTopography);
GroundExcel.AddGroundSceneName(builder, GroundSceneNameOffset); GroundExcel.AddGroundSceneName(builder, GroundSceneNameOffset);
GroundExcel.AddStageFileName(builder, StageFileNameOffset); GroundExcel.AddStageFileName(builder, StageFileNameOffset);
GroundExcel.AddCoverPointOff(builder, CoverPointOff); GroundExcel.AddCoverPointOff(builder, CoverPointOff);
@ -239,7 +239,7 @@ public struct GroundExcel : IFlatbufferObject
public static void StartStageFileNameVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } public static void StartStageFileNameVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static void AddGroundSceneName(FlatBufferBuilder builder, StringOffset groundSceneNameOffset) { builder.AddOffset(2, groundSceneNameOffset.Value, 0); } public static void AddGroundSceneName(FlatBufferBuilder builder, StringOffset groundSceneNameOffset) { builder.AddOffset(2, groundSceneNameOffset.Value, 0); }
public static void AddFormationGroupId(FlatBufferBuilder builder, long formationGroupId) { builder.AddLong(3, formationGroupId, 0); } public static void AddFormationGroupId(FlatBufferBuilder builder, long formationGroupId) { builder.AddLong(3, formationGroupId, 0); }
public static void AddStageTopography_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography_) { builder.AddInt(4, (int)stageTopography_, 0); } public static void AddStageTopography(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography) { builder.AddInt(4, (int)stageTopography, 0); }
public static void AddEnemyBulletType(FlatBufferBuilder builder, SCHALE.Common.FlatData.BulletType enemyBulletType) { builder.AddInt(5, (int)enemyBulletType, 0); } public static void AddEnemyBulletType(FlatBufferBuilder builder, SCHALE.Common.FlatData.BulletType enemyBulletType) { builder.AddInt(5, (int)enemyBulletType, 0); }
public static void AddEnemyArmorType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ArmorType enemyArmorType) { builder.AddInt(6, (int)enemyArmorType, 0); } public static void AddEnemyArmorType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ArmorType enemyArmorType) { builder.AddInt(6, (int)enemyArmorType, 0); }
public static void AddLevelNPC(FlatBufferBuilder builder, long levelNPC) { builder.AddLong(7, levelNPC, 0); } public static void AddLevelNPC(FlatBufferBuilder builder, long levelNPC) { builder.AddLong(7, levelNPC, 0); }
@ -327,7 +327,7 @@ public struct GroundExcel : IFlatbufferObject
for (var _j = 0; _j < this.StageFileNameLength; ++_j) {_o.StageFileName.Add(TableEncryptionService.Convert(this.StageFileName(_j), key));} for (var _j = 0; _j < this.StageFileNameLength; ++_j) {_o.StageFileName.Add(TableEncryptionService.Convert(this.StageFileName(_j), key));}
_o.GroundSceneName = TableEncryptionService.Convert(this.GroundSceneName, key); _o.GroundSceneName = TableEncryptionService.Convert(this.GroundSceneName, key);
_o.FormationGroupId = TableEncryptionService.Convert(this.FormationGroupId, key); _o.FormationGroupId = TableEncryptionService.Convert(this.FormationGroupId, key);
_o.StageTopography_ = TableEncryptionService.Convert(this.StageTopography_, key); _o.StageTopography = TableEncryptionService.Convert(this.StageTopography, key);
_o.EnemyBulletType = TableEncryptionService.Convert(this.EnemyBulletType, key); _o.EnemyBulletType = TableEncryptionService.Convert(this.EnemyBulletType, key);
_o.EnemyArmorType = TableEncryptionService.Convert(this.EnemyArmorType, key); _o.EnemyArmorType = TableEncryptionService.Convert(this.EnemyArmorType, key);
_o.LevelNPC = TableEncryptionService.Convert(this.LevelNPC, key); _o.LevelNPC = TableEncryptionService.Convert(this.LevelNPC, key);
@ -423,7 +423,7 @@ public struct GroundExcel : IFlatbufferObject
_StageFileName, _StageFileName,
_GroundSceneName, _GroundSceneName,
_o.FormationGroupId, _o.FormationGroupId,
_o.StageTopography_, _o.StageTopography,
_o.EnemyBulletType, _o.EnemyBulletType,
_o.EnemyArmorType, _o.EnemyArmorType,
_o.LevelNPC, _o.LevelNPC,
@ -484,7 +484,7 @@ public class GroundExcelT
public List<string> StageFileName { get; set; } public List<string> StageFileName { get; set; }
public string GroundSceneName { get; set; } public string GroundSceneName { get; set; }
public long FormationGroupId { get; set; } public long FormationGroupId { get; set; }
public SCHALE.Common.FlatData.StageTopography StageTopography_ { get; set; } public SCHALE.Common.FlatData.StageTopography StageTopography { get; set; }
public SCHALE.Common.FlatData.BulletType EnemyBulletType { get; set; } public SCHALE.Common.FlatData.BulletType EnemyBulletType { get; set; }
public SCHALE.Common.FlatData.ArmorType EnemyArmorType { get; set; } public SCHALE.Common.FlatData.ArmorType EnemyArmorType { get; set; }
public long LevelNPC { get; set; } public long LevelNPC { get; set; }
@ -542,7 +542,7 @@ public class GroundExcelT
this.StageFileName = null; this.StageFileName = null;
this.GroundSceneName = null; this.GroundSceneName = null;
this.FormationGroupId = 0; this.FormationGroupId = 0;
this.StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street; this.StageTopography = SCHALE.Common.FlatData.StageTopography.Street;
this.EnemyBulletType = SCHALE.Common.FlatData.BulletType.Normal; this.EnemyBulletType = SCHALE.Common.FlatData.BulletType.Normal;
this.EnemyArmorType = SCHALE.Common.FlatData.ArmorType.LightArmor; this.EnemyArmorType = SCHALE.Common.FlatData.ArmorType.LightArmor;
this.LevelNPC = 0; this.LevelNPC = 0;
@ -607,7 +607,7 @@ static public class GroundExcelVerify
&& verifier.VerifyVectorOfStrings(tablePos, 6 /*StageFileName*/, false) && verifier.VerifyVectorOfStrings(tablePos, 6 /*StageFileName*/, false)
&& verifier.VerifyString(tablePos, 8 /*GroundSceneName*/, false) && verifier.VerifyString(tablePos, 8 /*GroundSceneName*/, false)
&& verifier.VerifyField(tablePos, 10 /*FormationGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*FormationGroupId*/, 8 /*long*/, 8, false)
&& verifier.VerifyField(tablePos, 12 /*StageTopography_*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) && verifier.VerifyField(tablePos, 12 /*StageTopography*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false)
&& verifier.VerifyField(tablePos, 14 /*EnemyBulletType*/, 4 /*SCHALE.Common.FlatData.BulletType*/, 4, false) && verifier.VerifyField(tablePos, 14 /*EnemyBulletType*/, 4 /*SCHALE.Common.FlatData.BulletType*/, 4, false)
&& verifier.VerifyField(tablePos, 16 /*EnemyArmorType*/, 4 /*SCHALE.Common.FlatData.ArmorType*/, 4, false) && verifier.VerifyField(tablePos, 16 /*EnemyArmorType*/, 4 /*SCHALE.Common.FlatData.ArmorType*/, 4, false)
&& verifier.VerifyField(tablePos, 18 /*LevelNPC*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 18 /*LevelNPC*/, 8 /*long*/, 8, false)

View File

@ -1,88 +0,0 @@
// <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::SCHALE.Common.Crypto;
using global::Google.FlatBuffers;
public struct GroundExcelTable : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static GroundExcelTable GetRootAsGroundExcelTable(ByteBuffer _bb) { return GetRootAsGroundExcelTable(_bb, new GroundExcelTable()); }
public static GroundExcelTable GetRootAsGroundExcelTable(ByteBuffer _bb, GroundExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
public GroundExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
public SCHALE.Common.FlatData.GroundExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.GroundExcel?)(new SCHALE.Common.FlatData.GroundExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; }
public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } }
public static Offset<SCHALE.Common.FlatData.GroundExcelTable> CreateGroundExcelTable(FlatBufferBuilder builder,
VectorOffset DataListOffset = default(VectorOffset)) {
builder.StartTable(1);
GroundExcelTable.AddDataList(builder, DataListOffset);
return GroundExcelTable.EndGroundExcelTable(builder);
}
public static void StartGroundExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); }
public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); }
public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.GroundExcel>[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset<SCHALE.Common.FlatData.GroundExcel>[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<SCHALE.Common.FlatData.GroundExcel>> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add<Offset<SCHALE.Common.FlatData.GroundExcel>>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.GroundExcelTable> EndGroundExcelTable(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.GroundExcelTable>(o);
}
public GroundExcelTableT UnPack() {
var _o = new GroundExcelTableT();
this.UnPackTo(_o);
return _o;
}
public void UnPackTo(GroundExcelTableT _o) {
byte[] key = TableEncryptionService.CreateKey("GroundExcel");
_o.DataList = new List<SCHALE.Common.FlatData.GroundExcelT>();
for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);}
}
public static Offset<SCHALE.Common.FlatData.GroundExcelTable> Pack(FlatBufferBuilder builder, GroundExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.GroundExcelTable>);
var _DataList = default(VectorOffset);
if (_o.DataList != null) {
var __DataList = new Offset<SCHALE.Common.FlatData.GroundExcel>[_o.DataList.Count];
for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.GroundExcel.Pack(builder, _o.DataList[_j]); }
_DataList = CreateDataListVector(builder, __DataList);
}
return CreateGroundExcelTable(
builder,
_DataList);
}
}
public class GroundExcelTableT
{
public List<SCHALE.Common.FlatData.GroundExcelT> DataList { get; set; }
public GroundExcelTableT() {
this.DataList = null;
}
}
static public class GroundExcelTableVerify
{
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
{
return verifier.VerifyTableStart(tablePos)
&& verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.GroundExcelVerify.Verify, false)
&& verifier.VerifyTableEnd(tablePos);
}
}
}

Some files were not shown because too many files have changed in this diff Show More