// // automatically generated by the FlatBuffers compiler, do not modify // namespace SCHALE.Common.FlatData { using global::System; using global::System.Collections.Generic; using global::Google.FlatBuffers; public struct EliminateRaidStageExcel : IFlatbufferObject { private Table __p; public ByteBuffer ByteBuffer { get { return __p.bb; } } public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } public static EliminateRaidStageExcel GetRootAsEliminateRaidStageExcel(ByteBuffer _bb) { return GetRootAsEliminateRaidStageExcel(_bb, new EliminateRaidStageExcel()); } public static EliminateRaidStageExcel GetRootAsEliminateRaidStageExcel(ByteBuffer _bb, EliminateRaidStageExcel obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public EliminateRaidStageExcel __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 bool UseBossIndex { get { int o = __p.__offset(6); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool UseBossAIPhaseSync { get { int o = __p.__offset(8); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public string RaidBossGroup { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetRaidBossGroupBytes() { return __p.__vector_as_span(10, 1); } #else public ArraySegment? GetRaidBossGroupBytes() { return __p.__vector_as_arraysegment(10); } #endif public byte[] GetRaidBossGroupArray() { return __p.__vector_as_array(10); } public SCHALE.Common.FlatData.ParcelType RaidEnterCostType { 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 long RaidEnterCostId { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public int RaidEnterCostAmount { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public string BossSpinePath { get { int o = __p.__offset(18); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetBossSpinePathBytes() { return __p.__vector_as_span(18, 1); } #else public ArraySegment? GetBossSpinePathBytes() { return __p.__vector_as_arraysegment(18); } #endif public byte[] GetBossSpinePathArray() { return __p.__vector_as_array(18); } public string PortraitPath { get { int o = __p.__offset(20); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetPortraitPathBytes() { return __p.__vector_as_span(20, 1); } #else public ArraySegment? GetPortraitPathBytes() { return __p.__vector_as_arraysegment(20); } #endif public byte[] GetPortraitPathArray() { return __p.__vector_as_array(20); } public string BGPath { get { int o = __p.__offset(22); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetBGPathBytes() { return __p.__vector_as_span(22, 1); } #else public ArraySegment? GetBGPathBytes() { return __p.__vector_as_arraysegment(22); } #endif public byte[] GetBGPathArray() { return __p.__vector_as_array(22); } public long RaidCharacterId { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long BossCharacterId(int j) { int o = __p.__offset(26); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } public int BossCharacterIdLength { get { int o = __p.__offset(26); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T public Span GetBossCharacterIdBytes() { return __p.__vector_as_span(26, 8); } #else public ArraySegment? GetBossCharacterIdBytes() { return __p.__vector_as_arraysegment(26); } #endif public long[] GetBossCharacterIdArray() { return __p.__vector_as_array(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 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 int RaidRoomLifeTime { get { int o = __p.__offset(34); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public long BattleDuration { get { int o = __p.__offset(36); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long GroundId { get { int o = __p.__offset(38); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public string GroundDevName { get { int o = __p.__offset(40); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetGroundDevNameBytes() { return __p.__vector_as_span(40, 1); } #else public ArraySegment? GetGroundDevNameBytes() { return __p.__vector_as_arraysegment(40); } #endif public byte[] GetGroundDevNameArray() { return __p.__vector_as_array(40); } public string EnterTimeLine { get { int o = __p.__offset(42); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetEnterTimeLineBytes() { return __p.__vector_as_span(42, 1); } #else public ArraySegment? GetEnterTimeLineBytes() { return __p.__vector_as_arraysegment(42); } #endif public byte[] GetEnterTimeLineArray() { return __p.__vector_as_array(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 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 PerSecondMinusScore { get { int o = __p.__offset(50); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long HPPercentScore { get { int o = __p.__offset(52); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long MinimumAcquisitionScore { get { int o = __p.__offset(54); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long MaximumAcquisitionScore { get { int o = __p.__offset(56); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long RaidRewardGroupId { get { int o = __p.__offset(58); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public string BattleReadyTimelinePath(int j) { int o = __p.__offset(60); return o != 0 ? __p.__string(__p.__vector(o) + j * 4) : null; } public int BattleReadyTimelinePathLength { get { int o = __p.__offset(60); return o != 0 ? __p.__vector_len(o) : 0; } } public int BattleReadyTimelinePhaseStart(int j) { int o = __p.__offset(62); return o != 0 ? __p.bb.GetInt(__p.__vector(o) + j * 4) : (int)0; } public int BattleReadyTimelinePhaseStartLength { get { int o = __p.__offset(62); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T public Span GetBattleReadyTimelinePhaseStartBytes() { return __p.__vector_as_span(62, 4); } #else public ArraySegment? GetBattleReadyTimelinePhaseStartBytes() { return __p.__vector_as_arraysegment(62); } #endif public int[] GetBattleReadyTimelinePhaseStartArray() { return __p.__vector_as_array(62); } public int BattleReadyTimelinePhaseEnd(int j) { int o = __p.__offset(64); return o != 0 ? __p.bb.GetInt(__p.__vector(o) + j * 4) : (int)0; } public int BattleReadyTimelinePhaseEndLength { get { int o = __p.__offset(64); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T public Span GetBattleReadyTimelinePhaseEndBytes() { return __p.__vector_as_span(64, 4); } #else public ArraySegment? GetBattleReadyTimelinePhaseEndBytes() { return __p.__vector_as_arraysegment(64); } #endif public int[] GetBattleReadyTimelinePhaseEndArray() { return __p.__vector_as_array(64); } public string VictoryTimelinePath { get { int o = __p.__offset(66); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetVictoryTimelinePathBytes() { return __p.__vector_as_span(66, 1); } #else public ArraySegment? GetVictoryTimelinePathBytes() { return __p.__vector_as_arraysegment(66); } #endif public byte[] GetVictoryTimelinePathArray() { return __p.__vector_as_array(66); } public string PhaseChangeTimelinePath { get { int o = __p.__offset(68); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetPhaseChangeTimelinePathBytes() { return __p.__vector_as_span(68, 1); } #else public ArraySegment? GetPhaseChangeTimelinePathBytes() { return __p.__vector_as_arraysegment(68); } #endif public byte[] GetPhaseChangeTimelinePathArray() { return __p.__vector_as_array(68); } public long TimeLinePhase { get { int o = __p.__offset(70); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public uint EnterScenarioKey { get { int o = __p.__offset(72); 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 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 static Offset CreateEliminateRaidStageExcel(FlatBufferBuilder builder, long Id = 0, bool UseBossIndex = false, bool UseBossAIPhaseSync = false, StringOffset RaidBossGroupOffset = default(StringOffset), SCHALE.Common.FlatData.ParcelType RaidEnterCostType = SCHALE.Common.FlatData.ParcelType.None, long RaidEnterCostId = 0, int RaidEnterCostAmount = 0, StringOffset BossSpinePathOffset = default(StringOffset), StringOffset PortraitPathOffset = default(StringOffset), StringOffset BGPathOffset = default(StringOffset), long RaidCharacterId = 0, VectorOffset BossCharacterIdOffset = default(VectorOffset), SCHALE.Common.FlatData.Difficulty Difficulty = SCHALE.Common.FlatData.Difficulty.Normal, bool IsOpen = false, long MaxPlayerCount = 0, int RaidRoomLifeTime = 0, long BattleDuration = 0, long GroundId = 0, StringOffset GroundDevNameOffset = default(StringOffset), StringOffset EnterTimeLineOffset = default(StringOffset), SCHALE.Common.FlatData.TacticEnvironment TacticEnvironment = SCHALE.Common.FlatData.TacticEnvironment.None, long DefaultClearScore = 0, long MaximumScore = 0, long PerSecondMinusScore = 0, long HPPercentScore = 0, long MinimumAcquisitionScore = 0, long MaximumAcquisitionScore = 0, long RaidRewardGroupId = 0, VectorOffset BattleReadyTimelinePathOffset = default(VectorOffset), VectorOffset BattleReadyTimelinePhaseStartOffset = default(VectorOffset), VectorOffset BattleReadyTimelinePhaseEndOffset = default(VectorOffset), StringOffset VictoryTimelinePathOffset = default(StringOffset), StringOffset PhaseChangeTimelinePathOffset = default(StringOffset), long TimeLinePhase = 0, uint EnterScenarioKey = 0, uint ClearScenarioKey = 0, bool ShowSkillCard = false, uint BossBGInfoKey = 0, SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base) { builder.StartTable(39); EliminateRaidStageExcel.AddTimeLinePhase(builder, TimeLinePhase); EliminateRaidStageExcel.AddRaidRewardGroupId(builder, RaidRewardGroupId); EliminateRaidStageExcel.AddMaximumAcquisitionScore(builder, MaximumAcquisitionScore); EliminateRaidStageExcel.AddMinimumAcquisitionScore(builder, MinimumAcquisitionScore); EliminateRaidStageExcel.AddHPPercentScore(builder, HPPercentScore); EliminateRaidStageExcel.AddPerSecondMinusScore(builder, PerSecondMinusScore); EliminateRaidStageExcel.AddMaximumScore(builder, MaximumScore); EliminateRaidStageExcel.AddDefaultClearScore(builder, DefaultClearScore); EliminateRaidStageExcel.AddGroundId(builder, GroundId); EliminateRaidStageExcel.AddBattleDuration(builder, BattleDuration); EliminateRaidStageExcel.AddMaxPlayerCount(builder, MaxPlayerCount); EliminateRaidStageExcel.AddRaidCharacterId(builder, RaidCharacterId); EliminateRaidStageExcel.AddRaidEnterCostId(builder, RaidEnterCostId); EliminateRaidStageExcel.AddId(builder, Id); EliminateRaidStageExcel.AddEchelonExtensionType(builder, EchelonExtensionType); EliminateRaidStageExcel.AddBossBGInfoKey(builder, BossBGInfoKey); EliminateRaidStageExcel.AddClearScenarioKey(builder, ClearScenarioKey); EliminateRaidStageExcel.AddEnterScenarioKey(builder, EnterScenarioKey); EliminateRaidStageExcel.AddPhaseChangeTimelinePath(builder, PhaseChangeTimelinePathOffset); EliminateRaidStageExcel.AddVictoryTimelinePath(builder, VictoryTimelinePathOffset); EliminateRaidStageExcel.AddBattleReadyTimelinePhaseEnd(builder, BattleReadyTimelinePhaseEndOffset); EliminateRaidStageExcel.AddBattleReadyTimelinePhaseStart(builder, BattleReadyTimelinePhaseStartOffset); EliminateRaidStageExcel.AddBattleReadyTimelinePath(builder, BattleReadyTimelinePathOffset); EliminateRaidStageExcel.AddTacticEnvironment(builder, TacticEnvironment); EliminateRaidStageExcel.AddEnterTimeLine(builder, EnterTimeLineOffset); EliminateRaidStageExcel.AddGroundDevName(builder, GroundDevNameOffset); EliminateRaidStageExcel.AddRaidRoomLifeTime(builder, RaidRoomLifeTime); EliminateRaidStageExcel.AddDifficulty(builder, Difficulty); EliminateRaidStageExcel.AddBossCharacterId(builder, BossCharacterIdOffset); EliminateRaidStageExcel.AddBGPath(builder, BGPathOffset); EliminateRaidStageExcel.AddPortraitPath(builder, PortraitPathOffset); EliminateRaidStageExcel.AddBossSpinePath(builder, BossSpinePathOffset); EliminateRaidStageExcel.AddRaidEnterCostAmount(builder, RaidEnterCostAmount); EliminateRaidStageExcel.AddRaidEnterCostType(builder, RaidEnterCostType); EliminateRaidStageExcel.AddRaidBossGroup(builder, RaidBossGroupOffset); EliminateRaidStageExcel.AddShowSkillCard(builder, ShowSkillCard); EliminateRaidStageExcel.AddIsOpen(builder, IsOpen); EliminateRaidStageExcel.AddUseBossAIPhaseSync(builder, UseBossAIPhaseSync); EliminateRaidStageExcel.AddUseBossIndex(builder, UseBossIndex); return EliminateRaidStageExcel.EndEliminateRaidStageExcel(builder); } public static void StartEliminateRaidStageExcel(FlatBufferBuilder builder) { builder.StartTable(39); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddUseBossIndex(FlatBufferBuilder builder, bool useBossIndex) { builder.AddBool(1, useBossIndex, false); } public static void AddUseBossAIPhaseSync(FlatBufferBuilder builder, bool useBossAIPhaseSync) { builder.AddBool(2, useBossAIPhaseSync, false); } public static void AddRaidBossGroup(FlatBufferBuilder builder, StringOffset raidBossGroupOffset) { builder.AddOffset(3, raidBossGroupOffset.Value, 0); } public static void AddRaidEnterCostType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType raidEnterCostType) { builder.AddInt(4, (int)raidEnterCostType, 0); } public static void AddRaidEnterCostId(FlatBufferBuilder builder, long raidEnterCostId) { builder.AddLong(5, raidEnterCostId, 0); } public static void AddRaidEnterCostAmount(FlatBufferBuilder builder, int raidEnterCostAmount) { builder.AddInt(6, raidEnterCostAmount, 0); } public static void AddBossSpinePath(FlatBufferBuilder builder, StringOffset bossSpinePathOffset) { builder.AddOffset(7, bossSpinePathOffset.Value, 0); } public static void AddPortraitPath(FlatBufferBuilder builder, StringOffset portraitPathOffset) { builder.AddOffset(8, portraitPathOffset.Value, 0); } public static void AddBGPath(FlatBufferBuilder builder, StringOffset bGPathOffset) { builder.AddOffset(9, bGPathOffset.Value, 0); } public static void AddRaidCharacterId(FlatBufferBuilder builder, long raidCharacterId) { builder.AddLong(10, raidCharacterId, 0); } public static void AddBossCharacterId(FlatBufferBuilder builder, VectorOffset bossCharacterIdOffset) { builder.AddOffset(11, bossCharacterIdOffset.Value, 0); } public static VectorOffset CreateBossCharacterIdVector(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 CreateBossCharacterIdVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateBossCharacterIdVectorBlock(FlatBufferBuilder builder, ArraySegment 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(dataPtr, sizeInBytes); return builder.EndVector(); } 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 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 AddRaidRoomLifeTime(FlatBufferBuilder builder, int raidRoomLifeTime) { builder.AddInt(15, raidRoomLifeTime, 0); } public static void AddBattleDuration(FlatBufferBuilder builder, long battleDuration) { builder.AddLong(16, battleDuration, 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 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 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 AddPerSecondMinusScore(FlatBufferBuilder builder, long perSecondMinusScore) { builder.AddLong(23, perSecondMinusScore, 0); } public static void AddHPPercentScore(FlatBufferBuilder builder, long hPPercentScore) { builder.AddLong(24, hPPercentScore, 0); } public static void AddMinimumAcquisitionScore(FlatBufferBuilder builder, long minimumAcquisitionScore) { builder.AddLong(25, minimumAcquisitionScore, 0); } public static void AddMaximumAcquisitionScore(FlatBufferBuilder builder, long maximumAcquisitionScore) { builder.AddLong(26, maximumAcquisitionScore, 0); } public static void AddRaidRewardGroupId(FlatBufferBuilder builder, long raidRewardGroupId) { builder.AddLong(27, raidRewardGroupId, 0); } public static void AddBattleReadyTimelinePath(FlatBufferBuilder builder, VectorOffset battleReadyTimelinePathOffset) { builder.AddOffset(28, battleReadyTimelinePathOffset.Value, 0); } public static VectorOffset CreateBattleReadyTimelinePathVector(FlatBufferBuilder builder, StringOffset[] 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 CreateBattleReadyTimelinePathVectorBlock(FlatBufferBuilder builder, StringOffset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateBattleReadyTimelinePathVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateBattleReadyTimelinePathVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartBattleReadyTimelinePathVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } public static void AddBattleReadyTimelinePhaseStart(FlatBufferBuilder builder, VectorOffset battleReadyTimelinePhaseStartOffset) { builder.AddOffset(29, battleReadyTimelinePhaseStartOffset.Value, 0); } public static VectorOffset CreateBattleReadyTimelinePhaseStartVector(FlatBufferBuilder builder, int[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt(data[i]); return builder.EndVector(); } public static VectorOffset CreateBattleReadyTimelinePhaseStartVectorBlock(FlatBufferBuilder builder, int[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateBattleReadyTimelinePhaseStartVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateBattleReadyTimelinePhaseStartVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartBattleReadyTimelinePhaseStartVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } public static void AddBattleReadyTimelinePhaseEnd(FlatBufferBuilder builder, VectorOffset battleReadyTimelinePhaseEndOffset) { builder.AddOffset(30, battleReadyTimelinePhaseEndOffset.Value, 0); } public static VectorOffset CreateBattleReadyTimelinePhaseEndVector(FlatBufferBuilder builder, int[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt(data[i]); return builder.EndVector(); } public static VectorOffset CreateBattleReadyTimelinePhaseEndVectorBlock(FlatBufferBuilder builder, int[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateBattleReadyTimelinePhaseEndVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateBattleReadyTimelinePhaseEndVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartBattleReadyTimelinePhaseEndVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } public static void AddVictoryTimelinePath(FlatBufferBuilder builder, StringOffset victoryTimelinePathOffset) { builder.AddOffset(31, victoryTimelinePathOffset.Value, 0); } public static void AddPhaseChangeTimelinePath(FlatBufferBuilder builder, StringOffset phaseChangeTimelinePathOffset) { builder.AddOffset(32, phaseChangeTimelinePathOffset.Value, 0); } public static void AddTimeLinePhase(FlatBufferBuilder builder, long timeLinePhase) { builder.AddLong(33, timeLinePhase, 0); } public static void AddEnterScenarioKey(FlatBufferBuilder builder, uint enterScenarioKey) { builder.AddUint(34, enterScenarioKey, 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 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 Offset EndEliminateRaidStageExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); } } static public class EliminateRaidStageExcelVerify { static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*UseBossIndex*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 8 /*UseBossAIPhaseSync*/, 1 /*bool*/, 1, false) && verifier.VerifyString(tablePos, 10 /*RaidBossGroup*/, false) && verifier.VerifyField(tablePos, 12 /*RaidEnterCostType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 14 /*RaidEnterCostId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 16 /*RaidEnterCostAmount*/, 4 /*int*/, 4, false) && verifier.VerifyString(tablePos, 18 /*BossSpinePath*/, false) && verifier.VerifyString(tablePos, 20 /*PortraitPath*/, false) && verifier.VerifyString(tablePos, 22 /*BGPath*/, false) && verifier.VerifyField(tablePos, 24 /*RaidCharacterId*/, 8 /*long*/, 8, false) && verifier.VerifyVectorOfData(tablePos, 26 /*BossCharacterId*/, 8 /*long*/, 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, 32 /*MaxPlayerCount*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 34 /*RaidRoomLifeTime*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 36 /*BattleDuration*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 38 /*GroundId*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 40 /*GroundDevName*/, false) && verifier.VerifyString(tablePos, 42 /*EnterTimeLine*/, 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, 48 /*MaximumScore*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 50 /*PerSecondMinusScore*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 52 /*HPPercentScore*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 54 /*MinimumAcquisitionScore*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 56 /*MaximumAcquisitionScore*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 58 /*RaidRewardGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyVectorOfStrings(tablePos, 60 /*BattleReadyTimelinePath*/, false) && verifier.VerifyVectorOfData(tablePos, 62 /*BattleReadyTimelinePhaseStart*/, 4 /*int*/, false) && verifier.VerifyVectorOfData(tablePos, 64 /*BattleReadyTimelinePhaseEnd*/, 4 /*int*/, false) && verifier.VerifyString(tablePos, 66 /*VictoryTimelinePath*/, false) && verifier.VerifyString(tablePos, 68 /*PhaseChangeTimelinePath*/, false) && verifier.VerifyField(tablePos, 70 /*TimeLinePhase*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 72 /*EnterScenarioKey*/, 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, 78 /*BossBGInfoKey*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 80 /*EchelonExtensionType*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) && verifier.VerifyTableEnd(tablePos); } } }