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 { public uint RowId => row.RowId; public ReadOnlySeString Key => row.ReadStringColumn(0); public ReadOnlySeString Value => row.ReadStringColumn(1); static QuestDialogue IExcelRow.Create(ExcelPage page, uint offset, uint row) => new(new RawRow(page, offset, row)); } }