76 lines
4.5 KiB
C#
76 lines
4.5 KiB
C#
|
// <auto-generated>
|
||
|
// automatically generated by the FlatBuffers compiler, do not modify
|
||
|
// </auto-generated>
|
||
|
|
||
|
namespace SCHALE.Common.FlatData
|
||
|
{
|
||
|
|
||
|
using global::System;
|
||
|
using global::System.Collections.Generic;
|
||
|
using global::Google.FlatBuffers;
|
||
|
|
||
|
public struct TacticTimeAttackSimulatorConfigExcel : IFlatbufferObject
|
||
|
{
|
||
|
private Table __p;
|
||
|
public ByteBuffer ByteBuffer { get { return __p.bb; } }
|
||
|
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
|
||
|
public static TacticTimeAttackSimulatorConfigExcel GetRootAsTacticTimeAttackSimulatorConfigExcel(ByteBuffer _bb) { return GetRootAsTacticTimeAttackSimulatorConfigExcel(_bb, new TacticTimeAttackSimulatorConfigExcel()); }
|
||
|
public static TacticTimeAttackSimulatorConfigExcel GetRootAsTacticTimeAttackSimulatorConfigExcel(ByteBuffer _bb, TacticTimeAttackSimulatorConfigExcel obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
|
||
|
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
|
||
|
public TacticTimeAttackSimulatorConfigExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
|
||
|
|
||
|
public long Order { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
||
|
public long Repeat { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
||
|
public long PresetGroupId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
||
|
public long AttackStrikerNum { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
||
|
public long AttackSpecialNum { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
||
|
public long GeasId { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
||
|
|
||
|
public static Offset<SCHALE.Common.FlatData.TacticTimeAttackSimulatorConfigExcel> CreateTacticTimeAttackSimulatorConfigExcel(FlatBufferBuilder builder,
|
||
|
long Order = 0,
|
||
|
long Repeat = 0,
|
||
|
long PresetGroupId = 0,
|
||
|
long AttackStrikerNum = 0,
|
||
|
long AttackSpecialNum = 0,
|
||
|
long GeasId = 0) {
|
||
|
builder.StartTable(6);
|
||
|
TacticTimeAttackSimulatorConfigExcel.AddGeasId(builder, GeasId);
|
||
|
TacticTimeAttackSimulatorConfigExcel.AddAttackSpecialNum(builder, AttackSpecialNum);
|
||
|
TacticTimeAttackSimulatorConfigExcel.AddAttackStrikerNum(builder, AttackStrikerNum);
|
||
|
TacticTimeAttackSimulatorConfigExcel.AddPresetGroupId(builder, PresetGroupId);
|
||
|
TacticTimeAttackSimulatorConfigExcel.AddRepeat(builder, Repeat);
|
||
|
TacticTimeAttackSimulatorConfigExcel.AddOrder(builder, Order);
|
||
|
return TacticTimeAttackSimulatorConfigExcel.EndTacticTimeAttackSimulatorConfigExcel(builder);
|
||
|
}
|
||
|
|
||
|
public static void StartTacticTimeAttackSimulatorConfigExcel(FlatBufferBuilder builder) { builder.StartTable(6); }
|
||
|
public static void AddOrder(FlatBufferBuilder builder, long order) { builder.AddLong(0, order, 0); }
|
||
|
public static void AddRepeat(FlatBufferBuilder builder, long repeat) { builder.AddLong(1, repeat, 0); }
|
||
|
public static void AddPresetGroupId(FlatBufferBuilder builder, long presetGroupId) { builder.AddLong(2, presetGroupId, 0); }
|
||
|
public static void AddAttackStrikerNum(FlatBufferBuilder builder, long attackStrikerNum) { builder.AddLong(3, attackStrikerNum, 0); }
|
||
|
public static void AddAttackSpecialNum(FlatBufferBuilder builder, long attackSpecialNum) { builder.AddLong(4, attackSpecialNum, 0); }
|
||
|
public static void AddGeasId(FlatBufferBuilder builder, long geasId) { builder.AddLong(5, geasId, 0); }
|
||
|
public static Offset<SCHALE.Common.FlatData.TacticTimeAttackSimulatorConfigExcel> EndTacticTimeAttackSimulatorConfigExcel(FlatBufferBuilder builder) {
|
||
|
int o = builder.EndTable();
|
||
|
return new Offset<SCHALE.Common.FlatData.TacticTimeAttackSimulatorConfigExcel>(o);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
static public class TacticTimeAttackSimulatorConfigExcelVerify
|
||
|
{
|
||
|
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
|
||
|
{
|
||
|
return verifier.VerifyTableStart(tablePos)
|
||
|
&& verifier.VerifyField(tablePos, 4 /*Order*/, 8 /*long*/, 8, false)
|
||
|
&& verifier.VerifyField(tablePos, 6 /*Repeat*/, 8 /*long*/, 8, false)
|
||
|
&& verifier.VerifyField(tablePos, 8 /*PresetGroupId*/, 8 /*long*/, 8, false)
|
||
|
&& verifier.VerifyField(tablePos, 10 /*AttackStrikerNum*/, 8 /*long*/, 8, false)
|
||
|
&& verifier.VerifyField(tablePos, 12 /*AttackSpecialNum*/, 8 /*long*/, 8, false)
|
||
|
&& verifier.VerifyField(tablePos, 14 /*GeasId*/, 8 /*long*/, 8, false)
|
||
|
&& verifier.VerifyTableEnd(tablePos);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|