using Lumina; using Lumina.Data; using Lumina.Excel; using Lumina.Excel.GeneratedSheets; namespace ZodiacFinder.Excel { [Sheet("RelicNote", columnHash: 0xb557320e)] public partial class RelicNote : ExcelRow { public class RelicNoteMonsterNoteTargetCommon { public LazyRow MonsterNoteTargetCommon { get; set; } public byte MonsterCount { get; set; } } public class RelicNoteFate { public LazyRow Fate { get; set; } public LazyRow PlaceName { get; set; } } public LazyRow EventItem { get; set; } public RelicNoteMonsterNoteTargetCommon[] MonsterNoteTargetCommon { get; set; } public LazyRow[] MonsterNoteTargetNM { get; set; } public ushort Unknown24 { get; set; } public RelicNoteFate[] Fate { get; set; } public LazyRow[] Leve { get; set; } /// public override void PopulateData(RowParser parser, GameData gameData, Language language) { base.PopulateData(parser, gameData, language); this.EventItem = new LazyRow(gameData, parser.ReadColumn(0), language); this.MonsterNoteTargetCommon = new RelicNoteMonsterNoteTargetCommon[10]; for (var i = 0; i < 10; i++) { this.MonsterNoteTargetCommon[i] = new RelicNoteMonsterNoteTargetCommon { MonsterNoteTargetCommon = new LazyRow(gameData, parser.ReadColumn(1 + (i * 2) + 0), language), MonsterCount = parser.ReadColumn(1 + (i * 2) + 1), }; } this.MonsterNoteTargetNM = new LazyRow[3]; for (var i = 0; i < 3; i++) this.MonsterNoteTargetNM[i] = new LazyRow(gameData, parser.ReadColumn(21 + i), language); this.Unknown24 = parser.ReadColumn(24); this.Fate = new RelicNoteFate[3]; for (var i = 0; i < 3; i++) { this.Fate[i] = new RelicNoteFate { Fate = new LazyRow(gameData, parser.ReadColumn(25 + (i * 2) + 0), language), PlaceName = new LazyRow(gameData, parser.ReadColumn(25 + (i * 2) + 1), language), }; } this.Leve = new LazyRow[3]; for (var i = 0; i < 3; i++) this.Leve[i] = new LazyRow(gameData, parser.ReadColumn(31 + i), language); } } [Sheet("MonsterNoteTarget", columnHash: 0x4157404f)] public partial class MonsterNoteTarget : ExcelRow { public class MonsterNoteTargetPlaceName { public LazyRow Zone { get; set; } public LazyRow Location { get; set; } } public LazyRow BNpcName { get; set; } public int Icon { get; set; } public LazyRow Town { get; set; } public MonsterNoteTargetPlaceName[] PlaceName { get; set; } public override void PopulateData(RowParser parser, GameData gameData, Language language) { base.PopulateData(parser, gameData, language); this.BNpcName = new LazyRow(gameData, parser.ReadColumn(0), language); this.Icon = parser.ReadColumn(1); this.Town = new LazyRow(gameData, parser.ReadColumn(2), language); this.PlaceName = new MonsterNoteTargetPlaceName[3]; for (var i = 0; i < 3; i++) { this.PlaceName[i] = new MonsterNoteTargetPlaceName { Zone = new LazyRow(gameData, parser.ReadColumn(3 + (i * 2) + 0), language), Location = new LazyRow(gameData, parser.ReadColumn(3 + (i * 2) + 1), language), }; } } } }