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 CharacterDialogEventExcel : IFlatbufferObject
|
|
|
|
{
|
|
|
|
private Table __p;
|
|
|
|
public ByteBuffer ByteBuffer { get { return __p.bb; } }
|
|
|
|
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
|
|
|
|
public static CharacterDialogEventExcel GetRootAsCharacterDialogEventExcel(ByteBuffer _bb) { return GetRootAsCharacterDialogEventExcel(_bb, new CharacterDialogEventExcel()); }
|
|
|
|
public static CharacterDialogEventExcel GetRootAsCharacterDialogEventExcel(ByteBuffer _bb, CharacterDialogEventExcel obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
|
|
|
|
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
|
|
|
|
public CharacterDialogEventExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
|
|
|
|
|
|
|
|
public long CostumeUniqueId { get { int o = __p.__offset(4); 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 EventID { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
2024-11-08 10:52:05 +00:00
|
|
|
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.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; } }
|
2024-12-29 16:52:25 +00:00
|
|
|
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_; } }
|
2024-04-21 00:21:57 +00:00
|
|
|
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; } }
|
2024-11-08 10:52:05 +00:00
|
|
|
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; } }
|
2024-04-21 00:21:57 +00:00
|
|
|
public string ActionName { get { int o = __p.__offset(26); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
|
|
|
|
#if ENABLE_SPAN_T
|
|
|
|
public Span<byte> GetActionNameBytes() { return __p.__vector_as_span<byte>(26, 1); }
|
|
|
|
#else
|
|
|
|
public ArraySegment<byte>? GetActionNameBytes() { return __p.__vector_as_arraysegment(26); }
|
|
|
|
#endif
|
|
|
|
public byte[] GetActionNameArray() { return __p.__vector_as_array<byte>(26); }
|
|
|
|
public long Duration { get { int o = __p.__offset(28); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
|
|
|
public string AnimationName { get { int o = __p.__offset(30); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
|
|
|
|
#if ENABLE_SPAN_T
|
|
|
|
public Span<byte> GetAnimationNameBytes() { return __p.__vector_as_span<byte>(30, 1); }
|
|
|
|
#else
|
|
|
|
public ArraySegment<byte>? GetAnimationNameBytes() { return __p.__vector_as_arraysegment(30); }
|
|
|
|
#endif
|
|
|
|
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; } }
|
|
|
|
#if ENABLE_SPAN_T
|
|
|
|
public Span<byte> GetLocalizeKRBytes() { return __p.__vector_as_span<byte>(32, 1); }
|
|
|
|
#else
|
|
|
|
public ArraySegment<byte>? GetLocalizeKRBytes() { return __p.__vector_as_arraysegment(32); }
|
|
|
|
#endif
|
|
|
|
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; } }
|
|
|
|
#if ENABLE_SPAN_T
|
|
|
|
public Span<byte> GetLocalizeJPBytes() { return __p.__vector_as_span<byte>(34, 1); }
|
|
|
|
#else
|
|
|
|
public ArraySegment<byte>? GetLocalizeJPBytes() { return __p.__vector_as_arraysegment(34); }
|
|
|
|
#endif
|
|
|
|
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 int VoiceIdLength { get { int o = __p.__offset(36); return o != 0 ? __p.__vector_len(o) : 0; } }
|
|
|
|
#if ENABLE_SPAN_T
|
|
|
|
public Span<uint> GetVoiceIdBytes() { return __p.__vector_as_span<uint>(36, 4); }
|
|
|
|
#else
|
|
|
|
public ArraySegment<byte>? GetVoiceIdBytes() { return __p.__vector_as_arraysegment(36); }
|
|
|
|
#endif
|
|
|
|
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; } }
|
2024-11-08 10:52:05 +00:00
|
|
|
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; } }
|
2024-04-21 00:21:57 +00:00
|
|
|
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 string LocalizeCVGroup { get { int o = __p.__offset(46); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
|
|
|
|
#if ENABLE_SPAN_T
|
|
|
|
public Span<byte> GetLocalizeCVGroupBytes() { return __p.__vector_as_span<byte>(46, 1); }
|
|
|
|
#else
|
|
|
|
public ArraySegment<byte>? GetLocalizeCVGroupBytes() { return __p.__vector_as_arraysegment(46); }
|
|
|
|
#endif
|
|
|
|
public byte[] GetLocalizeCVGroupArray() { return __p.__vector_as_array<byte>(46); }
|
|
|
|
|
|
|
|
public static Offset<SCHALE.Common.FlatData.CharacterDialogEventExcel> CreateCharacterDialogEventExcel(FlatBufferBuilder builder,
|
|
|
|
long CostumeUniqueId = 0,
|
|
|
|
long OriginalCharacterId = 0,
|
|
|
|
long DisplayOrder = 0,
|
|
|
|
long EventID = 0,
|
2024-11-08 10:52:05 +00:00
|
|
|
SCHALE.Common.FlatData.ProductionStep ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo,
|
|
|
|
SCHALE.Common.FlatData.DialogCategory DialogCategory_ = SCHALE.Common.FlatData.DialogCategory.Cafe,
|
|
|
|
SCHALE.Common.FlatData.DialogCondition DialogCondition_ = SCHALE.Common.FlatData.DialogCondition.Idle,
|
2024-12-29 16:52:25 +00:00
|
|
|
SCHALE.Common.FlatData.DialogConditionDetail DialogConditionDetail_ = SCHALE.Common.FlatData.DialogConditionDetail.None_,
|
2024-04-21 00:21:57 +00:00
|
|
|
long DialogConditionDetailValue = 0,
|
|
|
|
long GroupId = 0,
|
2024-11-08 10:52:05 +00:00
|
|
|
SCHALE.Common.FlatData.DialogType DialogType_ = SCHALE.Common.FlatData.DialogType.Talk,
|
2024-04-21 00:21:57 +00:00
|
|
|
StringOffset ActionNameOffset = default(StringOffset),
|
|
|
|
long Duration = 0,
|
|
|
|
StringOffset AnimationNameOffset = default(StringOffset),
|
|
|
|
StringOffset LocalizeKROffset = default(StringOffset),
|
|
|
|
StringOffset LocalizeJPOffset = default(StringOffset),
|
|
|
|
VectorOffset VoiceIdOffset = default(VectorOffset),
|
|
|
|
bool CollectionVisible = false,
|
2024-11-08 10:52:05 +00:00
|
|
|
SCHALE.Common.FlatData.CVCollectionType CVCollectionType_ = SCHALE.Common.FlatData.CVCollectionType.CVNormal,
|
2024-04-21 00:21:57 +00:00
|
|
|
long UnlockEventSeason = 0,
|
|
|
|
long ScenarioGroupId = 0,
|
|
|
|
StringOffset LocalizeCVGroupOffset = default(StringOffset)) {
|
|
|
|
builder.StartTable(22);
|
|
|
|
CharacterDialogEventExcel.AddScenarioGroupId(builder, ScenarioGroupId);
|
|
|
|
CharacterDialogEventExcel.AddUnlockEventSeason(builder, UnlockEventSeason);
|
|
|
|
CharacterDialogEventExcel.AddDuration(builder, Duration);
|
|
|
|
CharacterDialogEventExcel.AddGroupId(builder, GroupId);
|
|
|
|
CharacterDialogEventExcel.AddDialogConditionDetailValue(builder, DialogConditionDetailValue);
|
|
|
|
CharacterDialogEventExcel.AddEventID(builder, EventID);
|
|
|
|
CharacterDialogEventExcel.AddDisplayOrder(builder, DisplayOrder);
|
|
|
|
CharacterDialogEventExcel.AddOriginalCharacterId(builder, OriginalCharacterId);
|
|
|
|
CharacterDialogEventExcel.AddCostumeUniqueId(builder, CostumeUniqueId);
|
|
|
|
CharacterDialogEventExcel.AddLocalizeCVGroup(builder, LocalizeCVGroupOffset);
|
2024-11-08 10:52:05 +00:00
|
|
|
CharacterDialogEventExcel.AddCVCollectionType_(builder, CVCollectionType_);
|
2024-04-21 00:21:57 +00:00
|
|
|
CharacterDialogEventExcel.AddVoiceId(builder, VoiceIdOffset);
|
|
|
|
CharacterDialogEventExcel.AddLocalizeJP(builder, LocalizeJPOffset);
|
|
|
|
CharacterDialogEventExcel.AddLocalizeKR(builder, LocalizeKROffset);
|
|
|
|
CharacterDialogEventExcel.AddAnimationName(builder, AnimationNameOffset);
|
|
|
|
CharacterDialogEventExcel.AddActionName(builder, ActionNameOffset);
|
2024-11-08 10:52:05 +00:00
|
|
|
CharacterDialogEventExcel.AddDialogType_(builder, DialogType_);
|
|
|
|
CharacterDialogEventExcel.AddDialogConditionDetail_(builder, DialogConditionDetail_);
|
|
|
|
CharacterDialogEventExcel.AddDialogCondition_(builder, DialogCondition_);
|
|
|
|
CharacterDialogEventExcel.AddDialogCategory_(builder, DialogCategory_);
|
|
|
|
CharacterDialogEventExcel.AddProductionStep_(builder, ProductionStep_);
|
2024-04-21 00:21:57 +00:00
|
|
|
CharacterDialogEventExcel.AddCollectionVisible(builder, CollectionVisible);
|
|
|
|
return CharacterDialogEventExcel.EndCharacterDialogEventExcel(builder);
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void StartCharacterDialogEventExcel(FlatBufferBuilder builder) { builder.StartTable(22); }
|
|
|
|
public static void AddCostumeUniqueId(FlatBufferBuilder builder, long costumeUniqueId) { builder.AddLong(0, costumeUniqueId, 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 AddEventID(FlatBufferBuilder builder, long eventID) { builder.AddLong(3, eventID, 0); }
|
2024-11-08 10:52:05 +00:00
|
|
|
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 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); }
|
2024-04-21 00:21:57 +00:00
|
|
|
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); }
|
2024-11-08 10:52:05 +00:00
|
|
|
public static void AddDialogType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogType dialogType_) { builder.AddInt(10, (int)dialogType_, 0); }
|
2024-04-21 00:21:57 +00:00
|
|
|
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 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 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 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, ArraySegment<uint> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); 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 AddCollectionVisible(FlatBufferBuilder builder, bool collectionVisible) { builder.AddBool(17, collectionVisible, false); }
|
2024-11-08 10:52:05 +00:00
|
|
|
public static void AddCVCollectionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.CVCollectionType cVCollectionType_) { builder.AddInt(18, (int)cVCollectionType_, 0); }
|
2024-04-21 00:21:57 +00:00
|
|
|
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 AddLocalizeCVGroup(FlatBufferBuilder builder, StringOffset localizeCVGroupOffset) { builder.AddOffset(21, localizeCVGroupOffset.Value, 0); }
|
|
|
|
public static Offset<SCHALE.Common.FlatData.CharacterDialogEventExcel> EndCharacterDialogEventExcel(FlatBufferBuilder builder) {
|
|
|
|
int o = builder.EndTable();
|
|
|
|
return new Offset<SCHALE.Common.FlatData.CharacterDialogEventExcel>(o);
|
|
|
|
}
|
2024-04-29 15:52:45 +00:00
|
|
|
public CharacterDialogEventExcelT UnPack() {
|
|
|
|
var _o = new CharacterDialogEventExcelT();
|
|
|
|
this.UnPackTo(_o);
|
|
|
|
return _o;
|
|
|
|
}
|
|
|
|
public void UnPackTo(CharacterDialogEventExcelT _o) {
|
|
|
|
byte[] key = TableEncryptionService.CreateKey("CharacterDialogEvent");
|
|
|
|
_o.CostumeUniqueId = TableEncryptionService.Convert(this.CostumeUniqueId, key);
|
|
|
|
_o.OriginalCharacterId = TableEncryptionService.Convert(this.OriginalCharacterId, key);
|
|
|
|
_o.DisplayOrder = TableEncryptionService.Convert(this.DisplayOrder, key);
|
|
|
|
_o.EventID = TableEncryptionService.Convert(this.EventID, key);
|
2024-11-08 10:52:05 +00:00
|
|
|
_o.ProductionStep_ = TableEncryptionService.Convert(this.ProductionStep_, key);
|
|
|
|
_o.DialogCategory_ = TableEncryptionService.Convert(this.DialogCategory_, key);
|
|
|
|
_o.DialogCondition_ = TableEncryptionService.Convert(this.DialogCondition_, key);
|
|
|
|
_o.DialogConditionDetail_ = TableEncryptionService.Convert(this.DialogConditionDetail_, key);
|
2024-04-29 15:52:45 +00:00
|
|
|
_o.DialogConditionDetailValue = TableEncryptionService.Convert(this.DialogConditionDetailValue, key);
|
|
|
|
_o.GroupId = TableEncryptionService.Convert(this.GroupId, key);
|
2024-11-08 10:52:05 +00:00
|
|
|
_o.DialogType_ = TableEncryptionService.Convert(this.DialogType_, key);
|
2024-04-29 15:52:45 +00:00
|
|
|
_o.ActionName = TableEncryptionService.Convert(this.ActionName, key);
|
|
|
|
_o.Duration = TableEncryptionService.Convert(this.Duration, key);
|
|
|
|
_o.AnimationName = TableEncryptionService.Convert(this.AnimationName, key);
|
|
|
|
_o.LocalizeKR = TableEncryptionService.Convert(this.LocalizeKR, key);
|
|
|
|
_o.LocalizeJP = TableEncryptionService.Convert(this.LocalizeJP, key);
|
|
|
|
_o.VoiceId = new List<uint>();
|
|
|
|
for (var _j = 0; _j < this.VoiceIdLength; ++_j) {_o.VoiceId.Add(TableEncryptionService.Convert(this.VoiceId(_j), key));}
|
|
|
|
_o.CollectionVisible = TableEncryptionService.Convert(this.CollectionVisible, key);
|
2024-11-08 10:52:05 +00:00
|
|
|
_o.CVCollectionType_ = TableEncryptionService.Convert(this.CVCollectionType_, key);
|
2024-04-29 15:52:45 +00:00
|
|
|
_o.UnlockEventSeason = TableEncryptionService.Convert(this.UnlockEventSeason, key);
|
|
|
|
_o.ScenarioGroupId = TableEncryptionService.Convert(this.ScenarioGroupId, key);
|
|
|
|
_o.LocalizeCVGroup = TableEncryptionService.Convert(this.LocalizeCVGroup, key);
|
|
|
|
}
|
|
|
|
public static Offset<SCHALE.Common.FlatData.CharacterDialogEventExcel> Pack(FlatBufferBuilder builder, CharacterDialogEventExcelT _o) {
|
|
|
|
if (_o == null) return default(Offset<SCHALE.Common.FlatData.CharacterDialogEventExcel>);
|
|
|
|
var _ActionName = _o.ActionName == null ? default(StringOffset) : builder.CreateString(_o.ActionName);
|
|
|
|
var _AnimationName = _o.AnimationName == null ? default(StringOffset) : builder.CreateString(_o.AnimationName);
|
|
|
|
var _LocalizeKR = _o.LocalizeKR == null ? default(StringOffset) : builder.CreateString(_o.LocalizeKR);
|
|
|
|
var _LocalizeJP = _o.LocalizeJP == null ? default(StringOffset) : builder.CreateString(_o.LocalizeJP);
|
|
|
|
var _VoiceId = default(VectorOffset);
|
|
|
|
if (_o.VoiceId != null) {
|
|
|
|
var __VoiceId = _o.VoiceId.ToArray();
|
|
|
|
_VoiceId = CreateVoiceIdVector(builder, __VoiceId);
|
|
|
|
}
|
|
|
|
var _LocalizeCVGroup = _o.LocalizeCVGroup == null ? default(StringOffset) : builder.CreateString(_o.LocalizeCVGroup);
|
|
|
|
return CreateCharacterDialogEventExcel(
|
|
|
|
builder,
|
|
|
|
_o.CostumeUniqueId,
|
|
|
|
_o.OriginalCharacterId,
|
|
|
|
_o.DisplayOrder,
|
|
|
|
_o.EventID,
|
2024-11-08 10:52:05 +00:00
|
|
|
_o.ProductionStep_,
|
|
|
|
_o.DialogCategory_,
|
|
|
|
_o.DialogCondition_,
|
|
|
|
_o.DialogConditionDetail_,
|
2024-04-29 15:52:45 +00:00
|
|
|
_o.DialogConditionDetailValue,
|
|
|
|
_o.GroupId,
|
2024-11-08 10:52:05 +00:00
|
|
|
_o.DialogType_,
|
2024-04-29 15:52:45 +00:00
|
|
|
_ActionName,
|
|
|
|
_o.Duration,
|
|
|
|
_AnimationName,
|
|
|
|
_LocalizeKR,
|
|
|
|
_LocalizeJP,
|
|
|
|
_VoiceId,
|
|
|
|
_o.CollectionVisible,
|
2024-11-08 10:52:05 +00:00
|
|
|
_o.CVCollectionType_,
|
2024-04-29 15:52:45 +00:00
|
|
|
_o.UnlockEventSeason,
|
|
|
|
_o.ScenarioGroupId,
|
|
|
|
_LocalizeCVGroup);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public class CharacterDialogEventExcelT
|
|
|
|
{
|
|
|
|
public long CostumeUniqueId { get; set; }
|
|
|
|
public long OriginalCharacterId { get; set; }
|
|
|
|
public long DisplayOrder { get; set; }
|
|
|
|
public long EventID { get; set; }
|
2024-11-08 10:52:05 +00:00
|
|
|
public SCHALE.Common.FlatData.ProductionStep ProductionStep_ { get; set; }
|
|
|
|
public SCHALE.Common.FlatData.DialogCategory DialogCategory_ { get; set; }
|
|
|
|
public SCHALE.Common.FlatData.DialogCondition DialogCondition_ { get; set; }
|
|
|
|
public SCHALE.Common.FlatData.DialogConditionDetail DialogConditionDetail_ { get; set; }
|
2024-04-29 15:52:45 +00:00
|
|
|
public long DialogConditionDetailValue { get; set; }
|
|
|
|
public long GroupId { get; set; }
|
2024-11-08 10:52:05 +00:00
|
|
|
public SCHALE.Common.FlatData.DialogType DialogType_ { get; set; }
|
2024-04-29 15:52:45 +00:00
|
|
|
public string ActionName { get; set; }
|
|
|
|
public long Duration { get; set; }
|
|
|
|
public string AnimationName { get; set; }
|
|
|
|
public string LocalizeKR { get; set; }
|
|
|
|
public string LocalizeJP { get; set; }
|
|
|
|
public List<uint> VoiceId { get; set; }
|
|
|
|
public bool CollectionVisible { get; set; }
|
2024-11-08 10:52:05 +00:00
|
|
|
public SCHALE.Common.FlatData.CVCollectionType CVCollectionType_ { get; set; }
|
2024-04-29 15:52:45 +00:00
|
|
|
public long UnlockEventSeason { get; set; }
|
|
|
|
public long ScenarioGroupId { get; set; }
|
|
|
|
public string LocalizeCVGroup { get; set; }
|
|
|
|
|
|
|
|
public CharacterDialogEventExcelT() {
|
|
|
|
this.CostumeUniqueId = 0;
|
|
|
|
this.OriginalCharacterId = 0;
|
|
|
|
this.DisplayOrder = 0;
|
|
|
|
this.EventID = 0;
|
2024-11-08 10:52:05 +00:00
|
|
|
this.ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo;
|
|
|
|
this.DialogCategory_ = SCHALE.Common.FlatData.DialogCategory.Cafe;
|
|
|
|
this.DialogCondition_ = SCHALE.Common.FlatData.DialogCondition.Idle;
|
2024-12-29 16:52:25 +00:00
|
|
|
this.DialogConditionDetail_ = SCHALE.Common.FlatData.DialogConditionDetail.None_;
|
2024-04-29 15:52:45 +00:00
|
|
|
this.DialogConditionDetailValue = 0;
|
|
|
|
this.GroupId = 0;
|
2024-11-08 10:52:05 +00:00
|
|
|
this.DialogType_ = SCHALE.Common.FlatData.DialogType.Talk;
|
2024-04-29 15:52:45 +00:00
|
|
|
this.ActionName = null;
|
|
|
|
this.Duration = 0;
|
|
|
|
this.AnimationName = null;
|
|
|
|
this.LocalizeKR = null;
|
|
|
|
this.LocalizeJP = null;
|
|
|
|
this.VoiceId = null;
|
|
|
|
this.CollectionVisible = false;
|
2024-11-08 10:52:05 +00:00
|
|
|
this.CVCollectionType_ = SCHALE.Common.FlatData.CVCollectionType.CVNormal;
|
2024-04-29 15:52:45 +00:00
|
|
|
this.UnlockEventSeason = 0;
|
|
|
|
this.ScenarioGroupId = 0;
|
|
|
|
this.LocalizeCVGroup = null;
|
|
|
|
}
|
2024-04-21 00:21:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static public class CharacterDialogEventExcelVerify
|
|
|
|
{
|
|
|
|
static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos)
|
|
|
|
{
|
|
|
|
return verifier.VerifyTableStart(tablePos)
|
|
|
|
&& verifier.VerifyField(tablePos, 4 /*CostumeUniqueId*/, 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, 10 /*EventID*/, 8 /*long*/, 8, false)
|
2024-11-08 10:52:05 +00:00
|
|
|
&& 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, 16 /*DialogCondition_*/, 4 /*SCHALE.Common.FlatData.DialogCondition*/, 4, false)
|
|
|
|
&& verifier.VerifyField(tablePos, 18 /*DialogConditionDetail_*/, 4 /*SCHALE.Common.FlatData.DialogConditionDetail*/, 4, false)
|
2024-04-21 00:21:57 +00:00
|
|
|
&& verifier.VerifyField(tablePos, 20 /*DialogConditionDetailValue*/, 8 /*long*/, 8, false)
|
|
|
|
&& verifier.VerifyField(tablePos, 22 /*GroupId*/, 8 /*long*/, 8, false)
|
2024-11-08 10:52:05 +00:00
|
|
|
&& verifier.VerifyField(tablePos, 24 /*DialogType_*/, 4 /*SCHALE.Common.FlatData.DialogType*/, 4, false)
|
2024-04-21 00:21:57 +00:00
|
|
|
&& verifier.VerifyString(tablePos, 26 /*ActionName*/, false)
|
|
|
|
&& verifier.VerifyField(tablePos, 28 /*Duration*/, 8 /*long*/, 8, false)
|
|
|
|
&& verifier.VerifyString(tablePos, 30 /*AnimationName*/, false)
|
|
|
|
&& verifier.VerifyString(tablePos, 32 /*LocalizeKR*/, false)
|
|
|
|
&& verifier.VerifyString(tablePos, 34 /*LocalizeJP*/, false)
|
|
|
|
&& verifier.VerifyVectorOfData(tablePos, 36 /*VoiceId*/, 4 /*uint*/, false)
|
|
|
|
&& verifier.VerifyField(tablePos, 38 /*CollectionVisible*/, 1 /*bool*/, 1, false)
|
2024-11-08 10:52:05 +00:00
|
|
|
&& verifier.VerifyField(tablePos, 40 /*CVCollectionType_*/, 4 /*SCHALE.Common.FlatData.CVCollectionType*/, 4, false)
|
2024-04-21 00:21:57 +00:00
|
|
|
&& verifier.VerifyField(tablePos, 42 /*UnlockEventSeason*/, 8 /*long*/, 8, false)
|
|
|
|
&& verifier.VerifyField(tablePos, 44 /*ScenarioGroupId*/, 8 /*long*/, 8, false)
|
|
|
|
&& verifier.VerifyString(tablePos, 46 /*LocalizeCVGroup*/, false)
|
|
|
|
&& verifier.VerifyTableEnd(tablePos);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|