2024-04-21 00:21:57 +00:00
|
|
|
// <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;
|
2024-04-29 15:52:45 +00:00
|
|
|
using global::SCHALE.Common.Crypto;
|
2024-04-21 00:21:57 +00:00
|
|
|
using global::Google.FlatBuffers;
|
|
|
|
|
|
|
|
public struct SkillAdditionalTooltipExcel : IFlatbufferObject
|
|
|
|
{
|
|
|
|
private Table __p;
|
|
|
|
public ByteBuffer ByteBuffer { get { return __p.bb; } }
|
|
|
|
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
|
|
|
|
public static SkillAdditionalTooltipExcel GetRootAsSkillAdditionalTooltipExcel(ByteBuffer _bb) { return GetRootAsSkillAdditionalTooltipExcel(_bb, new SkillAdditionalTooltipExcel()); }
|
|
|
|
public static SkillAdditionalTooltipExcel GetRootAsSkillAdditionalTooltipExcel(ByteBuffer _bb, SkillAdditionalTooltipExcel obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
|
|
|
|
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
|
|
|
|
public SkillAdditionalTooltipExcel __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 string AdditionalSkillGroupId { get { int o = __p.__offset(6); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
|
|
|
|
#if ENABLE_SPAN_T
|
|
|
|
public Span<byte> GetAdditionalSkillGroupIdBytes() { return __p.__vector_as_span<byte>(6, 1); }
|
|
|
|
#else
|
|
|
|
public ArraySegment<byte>? GetAdditionalSkillGroupIdBytes() { return __p.__vector_as_arraysegment(6); }
|
|
|
|
#endif
|
|
|
|
public byte[] GetAdditionalSkillGroupIdArray() { return __p.__vector_as_array<byte>(6); }
|
|
|
|
public string ShowSkillSlot { get { int o = __p.__offset(8); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
|
|
|
|
#if ENABLE_SPAN_T
|
|
|
|
public Span<byte> GetShowSkillSlotBytes() { return __p.__vector_as_span<byte>(8, 1); }
|
|
|
|
#else
|
|
|
|
public ArraySegment<byte>? GetShowSkillSlotBytes() { return __p.__vector_as_arraysegment(8); }
|
|
|
|
#endif
|
|
|
|
public byte[] GetShowSkillSlotArray() { return __p.__vector_as_array<byte>(8); }
|
|
|
|
|
|
|
|
public static Offset<SCHALE.Common.FlatData.SkillAdditionalTooltipExcel> CreateSkillAdditionalTooltipExcel(FlatBufferBuilder builder,
|
|
|
|
long GroupId = 0,
|
|
|
|
StringOffset AdditionalSkillGroupIdOffset = default(StringOffset),
|
|
|
|
StringOffset ShowSkillSlotOffset = default(StringOffset)) {
|
|
|
|
builder.StartTable(3);
|
|
|
|
SkillAdditionalTooltipExcel.AddGroupId(builder, GroupId);
|
|
|
|
SkillAdditionalTooltipExcel.AddShowSkillSlot(builder, ShowSkillSlotOffset);
|
|
|
|
SkillAdditionalTooltipExcel.AddAdditionalSkillGroupId(builder, AdditionalSkillGroupIdOffset);
|
|
|
|
return SkillAdditionalTooltipExcel.EndSkillAdditionalTooltipExcel(builder);
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void StartSkillAdditionalTooltipExcel(FlatBufferBuilder builder) { builder.StartTable(3); }
|
|
|
|
public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(0, groupId, 0); }
|
|
|
|
public static void AddAdditionalSkillGroupId(FlatBufferBuilder builder, StringOffset additionalSkillGroupIdOffset) { builder.AddOffset(1, additionalSkillGroupIdOffset.Value, 0); }
|
|
|
|
public static void AddShowSkillSlot(FlatBufferBuilder builder, StringOffset showSkillSlotOffset) { builder.AddOffset(2, showSkillSlotOffset.Value, 0); }
|
|
|
|
public static Offset<SCHALE.Common.FlatData.SkillAdditionalTooltipExcel> EndSkillAdditionalTooltipExcel(FlatBufferBuilder builder) {
|
|
|
|
int o = builder.EndTable();
|
|
|
|
return new Offset<SCHALE.Common.FlatData.SkillAdditionalTooltipExcel>(o);
|
|
|
|
}
|
2024-04-29 15:52:45 +00:00
|
|
|
public SkillAdditionalTooltipExcelT UnPack() {
|
|
|
|
var _o = new SkillAdditionalTooltipExcelT();
|
|
|
|
this.UnPackTo(_o);
|
|
|
|
return _o;
|
|
|
|
}
|
|
|
|
public void UnPackTo(SkillAdditionalTooltipExcelT _o) {
|
|
|
|
byte[] key = TableEncryptionService.CreateKey("SkillAdditionalTooltip");
|
|
|
|
_o.GroupId = TableEncryptionService.Convert(this.GroupId, key);
|
|
|
|
_o.AdditionalSkillGroupId = TableEncryptionService.Convert(this.AdditionalSkillGroupId, key);
|
|
|
|
_o.ShowSkillSlot = TableEncryptionService.Convert(this.ShowSkillSlot, key);
|
|
|
|
}
|
|
|
|
public static Offset<SCHALE.Common.FlatData.SkillAdditionalTooltipExcel> Pack(FlatBufferBuilder builder, SkillAdditionalTooltipExcelT _o) {
|
|
|
|
if (_o == null) return default(Offset<SCHALE.Common.FlatData.SkillAdditionalTooltipExcel>);
|
|
|
|
var _AdditionalSkillGroupId = _o.AdditionalSkillGroupId == null ? default(StringOffset) : builder.CreateString(_o.AdditionalSkillGroupId);
|
|
|
|
var _ShowSkillSlot = _o.ShowSkillSlot == null ? default(StringOffset) : builder.CreateString(_o.ShowSkillSlot);
|
|
|
|
return CreateSkillAdditionalTooltipExcel(
|
|
|
|
builder,
|
|
|
|
_o.GroupId,
|
|
|
|
_AdditionalSkillGroupId,
|
|
|
|
_ShowSkillSlot);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public class SkillAdditionalTooltipExcelT
|
|
|
|
{
|
|
|
|
public long GroupId { get; set; }
|
|
|
|
public string AdditionalSkillGroupId { get; set; }
|
|
|
|
public string ShowSkillSlot { get; set; }
|
|
|
|
|
|
|
|
public SkillAdditionalTooltipExcelT() {
|
|
|
|
this.GroupId = 0;
|
|
|
|
this.AdditionalSkillGroupId = null;
|
|
|
|
this.ShowSkillSlot = null;
|
|
|
|
}
|
2024-04-21 00:21:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static public class SkillAdditionalTooltipExcelVerify
|
|
|
|
{
|
|
|
|
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
|
|
|
|
{
|
|
|
|
return verifier.VerifyTableStart(tablePos)
|
|
|
|
&& verifier.VerifyField(tablePos, 4 /*GroupId*/, 8 /*long*/, 8, false)
|
|
|
|
&& verifier.VerifyString(tablePos, 6 /*AdditionalSkillGroupId*/, false)
|
|
|
|
&& verifier.VerifyString(tablePos, 8 /*ShowSkillSlot*/, false)
|
|
|
|
&& verifier.VerifyTableEnd(tablePos);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|