using System.Diagnostics.CodeAnalysis; using Lumina.Excel; using Lumina.Text.ReadOnly; namespace QuestMap { [SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Global")] [SuppressMessage("ReSharper", "MemberCanBePrivate.Global")] [SuppressMessage("ReSharper", "ClassNeverInstantiated.Global")] [Sheet("")] public readonly struct QuestData(ExcelPage page, uint offset, uint row) : IExcelRow { public uint RowId => row; public ReadOnlySeString Id => page.ReadString(offset, offset); public ReadOnlySeString Text => page.ReadString(offset + 4, offset); static QuestData IExcelRow.Create(ExcelPage page, uint offset, uint row) => new(page, offset, row); } }