qstbak/LLib/LLib/QuestDialogueText.cs
2025-10-09 07:47:19 +10:00

26 lines
758 B
C#

using Lumina.Excel;
using Lumina.Text.ReadOnly;
namespace LLib;
[Sheet("PleaseSpecifyTheSheetExplicitly")]
public readonly struct QuestDialogueText : IQuestDialogueText, IExcelRow<QuestDialogueText>
{
public uint RowId => _003Crow_003EP;
public ReadOnlySeString Key => _003Cpage_003EP.ReadString(_003Coffset_003EP, _003Coffset_003EP);
public ReadOnlySeString Value => _003Cpage_003EP.ReadString(_003Coffset_003EP + 4, _003Coffset_003EP);
public QuestDialogueText(ExcelPage page, uint offset, uint row)
{
_003Cpage_003EP = page;
_003Coffset_003EP = offset;
_003Crow_003EP = row;
}
static QuestDialogueText IExcelRow<QuestDialogueText>.Create(ExcelPage page, uint offset, uint row)
{
return new QuestDialogueText(page, offset, row);
}
}