2021-03-10 19:08:28 +00:00
|
|
|
|
using Lumina.Data;
|
|
|
|
|
using Lumina.Excel;
|
|
|
|
|
using Lumina.Text;
|
|
|
|
|
|
|
|
|
|
namespace HUD_Manager.Lumina {
|
|
|
|
|
[Sheet("Hud")]
|
2021-04-05 19:02:06 +00:00
|
|
|
|
public class HudSheet : ExcelRow {
|
2021-03-10 19:08:28 +00:00
|
|
|
|
public string Name { get; set; } = null!;
|
|
|
|
|
public string ShortName { get; set; } = null!;
|
|
|
|
|
public string ShorterName { get; set; } = null!;
|
|
|
|
|
|
2021-04-05 19:02:06 +00:00
|
|
|
|
public override void PopulateData(RowParser parser, global::Lumina.GameData lumina, Language language) {
|
2021-03-10 19:08:28 +00:00
|
|
|
|
this.RowId = parser.Row;
|
|
|
|
|
this.SubRowId = parser.SubRow;
|
|
|
|
|
this.Name = parser.ReadColumn<SeString>(0);
|
|
|
|
|
this.ShortName = parser.ReadColumn<SeString>(1);
|
|
|
|
|
this.ShorterName = parser.ReadColumn<SeString>(2);
|
2021-04-05 19:02:06 +00:00
|
|
|
|
|
|
|
|
|
this.SheetLanguage = language;
|
|
|
|
|
this.SheetName = parser.Sheet.Name;
|
2021-03-10 19:08:28 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|