2025-02-17 22:12:35 -05:00

20 lines
614 B
C#

using Lumina.Excel;
using Lumina.Text.ReadOnly;
namespace QuestShare.Common
{
//ref: https://github.com/salanth357/NoTypeSay/blob/main/NoTypeSay/QuestDialogue.cs
[Sheet("QuestDialogue")]
public readonly struct QuestDialogue(RawRow row) : IExcelRow<QuestDialogue>
{
public uint RowId => row.RowId;
public ReadOnlySeString Key => row.ReadStringColumn(0);
public ReadOnlySeString Value => row.ReadStringColumn(1);
static QuestDialogue IExcelRow<QuestDialogue>.Create(ExcelPage page, uint offset, uint row) =>
new(new RawRow(page, offset, row));
}
}