86 lines
5.2 KiB
C#
86 lines
5.2 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 CombatEmojiExcel : IFlatbufferObject
|
|
{
|
|
private Table __p;
|
|
public ByteBuffer ByteBuffer { get { return __p.bb; } }
|
|
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
|
|
public static CombatEmojiExcel GetRootAsCombatEmojiExcel(ByteBuffer _bb) { return GetRootAsCombatEmojiExcel(_bb, new CombatEmojiExcel()); }
|
|
public static CombatEmojiExcel GetRootAsCombatEmojiExcel(ByteBuffer _bb, CombatEmojiExcel obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
|
|
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
|
|
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 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 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 EmojiTurnOn { get { int o = __p.__offset(14); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } }
|
|
public int ShowEmojiDelay { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
|
|
public bool ShowDefaultBG { 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.CombatEmojiExcel> CreateCombatEmojiExcel(FlatBufferBuilder builder,
|
|
long UniqueId = 0,
|
|
SCHALE.Common.FlatData.EmojiEvent EmojiEvent = SCHALE.Common.FlatData.EmojiEvent.EnterConver,
|
|
int OrderOfPriority = 0,
|
|
bool EmojiDuration = false,
|
|
bool EmojiReversal = false,
|
|
bool EmojiTurnOn = false,
|
|
int ShowEmojiDelay = 0,
|
|
bool ShowDefaultBG = false) {
|
|
builder.StartTable(8);
|
|
CombatEmojiExcel.AddUniqueId(builder, UniqueId);
|
|
CombatEmojiExcel.AddShowEmojiDelay(builder, ShowEmojiDelay);
|
|
CombatEmojiExcel.AddOrderOfPriority(builder, OrderOfPriority);
|
|
CombatEmojiExcel.AddEmojiEvent(builder, EmojiEvent);
|
|
CombatEmojiExcel.AddShowDefaultBG(builder, ShowDefaultBG);
|
|
CombatEmojiExcel.AddEmojiTurnOn(builder, EmojiTurnOn);
|
|
CombatEmojiExcel.AddEmojiReversal(builder, EmojiReversal);
|
|
CombatEmojiExcel.AddEmojiDuration(builder, EmojiDuration);
|
|
return CombatEmojiExcel.EndCombatEmojiExcel(builder);
|
|
}
|
|
|
|
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 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 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 AddEmojiTurnOn(FlatBufferBuilder builder, bool emojiTurnOn) { builder.AddBool(5, emojiTurnOn, false); }
|
|
public static void AddShowEmojiDelay(FlatBufferBuilder builder, int showEmojiDelay) { builder.AddInt(6, showEmojiDelay, 0); }
|
|
public static void AddShowDefaultBG(FlatBufferBuilder builder, bool showDefaultBG) { builder.AddBool(7, showDefaultBG, false); }
|
|
public static Offset<SCHALE.Common.FlatData.CombatEmojiExcel> EndCombatEmojiExcel(FlatBufferBuilder builder) {
|
|
int o = builder.EndTable();
|
|
return new Offset<SCHALE.Common.FlatData.CombatEmojiExcel>(o);
|
|
}
|
|
}
|
|
|
|
|
|
static public class CombatEmojiExcelVerify
|
|
{
|
|
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
|
|
{
|
|
return verifier.VerifyTableStart(tablePos)
|
|
&& verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, 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, 10 /*EmojiDuration*/, 1 /*bool*/, 1, false)
|
|
&& verifier.VerifyField(tablePos, 12 /*EmojiReversal*/, 1 /*bool*/, 1, false)
|
|
&& verifier.VerifyField(tablePos, 14 /*EmojiTurnOn*/, 1 /*bool*/, 1, false)
|
|
&& verifier.VerifyField(tablePos, 16 /*ShowEmojiDelay*/, 4 /*int*/, 4, false)
|
|
&& verifier.VerifyField(tablePos, 18 /*ShowDefaultBG*/, 1 /*bool*/, 1, false)
|
|
&& verifier.VerifyTableEnd(tablePos);
|
|
}
|
|
}
|
|
|
|
}
|