mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
53 lines
1.2 KiB
C#
53 lines
1.2 KiB
C#
using Lumina.Excel;
|
|
|
|
namespace Dalamud.Data.TransientSheet
|
|
{
|
|
[Sheet( "Completion", columnHash: 0x2e6c55a3 )]
|
|
public class Completion : IExcelRow
|
|
{
|
|
// column defs from Mon, 02 Mar 2020 11:00:20 GMT
|
|
|
|
|
|
// col: 03 offset: 0000
|
|
public string Text;
|
|
|
|
// col: 04 offset: 0004
|
|
public string GroupTitle;
|
|
|
|
// col: 02 offset: 0008
|
|
public string LookupTable;
|
|
|
|
// col: 00 offset: 000c
|
|
public ushort Group;
|
|
|
|
// col: 01 offset: 000e
|
|
public ushort Key;
|
|
|
|
|
|
public int RowId { get; set; }
|
|
public int SubRowId { get; set; }
|
|
|
|
public void PopulateData( RowParser parser, Lumina.Lumina lumina )
|
|
{
|
|
RowId = parser.Row;
|
|
SubRowId = parser.SubRow;
|
|
|
|
// col: 3 offset: 0000
|
|
Text = parser.ReadOffset< string >( 0x0 );
|
|
|
|
// col: 4 offset: 0004
|
|
GroupTitle = parser.ReadOffset< string >( 0x4 );
|
|
|
|
// col: 2 offset: 0008
|
|
LookupTable = parser.ReadOffset< string >( 0x8 );
|
|
|
|
// col: 0 offset: 000c
|
|
Group = parser.ReadOffset< ushort >( 0xc );
|
|
|
|
// col: 1 offset: 000e
|
|
Key = parser.ReadOffset< ushort >( 0xe );
|
|
|
|
|
|
}
|
|
}
|
|
}
|