public override void PopulateData(RowParser parser, GameData gameData, Language language) { base.PopulateData(parser, gameData, language); EventItem = new LazyRow <EventItem>(gameData, parser.ReadColumn <uint>(0), language); UnkData1 = new UnkData1Obj[10]; for (var i = 0; i < 10; i++) { UnkData1[i] = new UnkData1Obj(); UnkData1[i].MonsterNoteTargetCommon = parser.ReadColumn <ushort>(1 + (i * 2 + 0)); UnkData1[i].MonsterCount = parser.ReadColumn <byte>(1 + (i * 2 + 1)); } MonsterNoteTargetNM = new LazyRow <MonsterNoteTarget> [3]; for (var i = 0; i < 3; i++) { MonsterNoteTargetNM[i] = new LazyRow <MonsterNoteTarget>(gameData, parser.ReadColumn <ushort>(21 + i), language); } Unknown24 = parser.ReadColumn <ushort>(24); UnkData25 = new UnkData25Obj[3]; for (var i = 0; i < 3; i++) { UnkData25[i] = new UnkData25Obj(); UnkData25[i].Fate = parser.ReadColumn <ushort>(25 + (i * 2 + 0)); UnkData25[i].PlaceNameFate = parser.ReadColumn <ushort>(25 + (i * 2 + 1)); } Leve = new LazyRow <Leve> [3]; for (var i = 0; i < 3; i++) { Leve[i] = new LazyRow <Leve>(gameData, parser.ReadColumn <ushort>(31 + i), language); } }
public override void PopulateData(RowParser parser, GameData gameData, Language language) { base.PopulateData(parser, gameData, language); InstanceContentType = parser.ReadColumn <byte>(0); WeekRestriction = parser.ReadColumn <byte>(1); TimeLimitmin = parser.ReadColumn <ushort>(2); Unknown3 = parser.ReadColumn <bool>(3); BGM = new LazyRow <BGM>(gameData, parser.ReadColumn <ushort>(4), language); WinBGM = new LazyRow <BGM>(gameData, parser.ReadColumn <ushort>(5), language); Cutscene = new LazyRow <Cutscene>(gameData, parser.ReadColumn <uint>(6), language); LGBEventRange = parser.ReadColumn <uint>(7); Order = parser.ReadColumn <ushort>(8); Colosseum = parser.ReadColumn <byte>(9); Unknown10 = parser.ReadColumn <bool>(10); InstanceContentTextDataBossStart = new LazyRow <InstanceContentTextData>(gameData, parser.ReadColumn <uint>(11), language); InstanceContentTextDataBossEnd = new LazyRow <InstanceContentTextData>(gameData, parser.ReadColumn <uint>(12), language); BNpcBaseBoss = new LazyRow <BNpcBase>(gameData, parser.ReadColumn <uint>(13), language); InstanceContentTextDataObjectiveStart = new LazyRow <InstanceContentTextData>(gameData, parser.ReadColumn <uint>(14), language); InstanceContentTextDataObjectiveEnd = new LazyRow <InstanceContentTextData>(gameData, parser.ReadColumn <uint>(15), language); SortKey = parser.ReadColumn <ushort>(16); InstanceClearExp = parser.ReadColumn <uint>(17); Unknown18 = parser.ReadColumn <uint>(18); NewPlayerBonusA = parser.ReadColumn <ushort>(19); FinalBossCurrencyC = parser.ReadColumn <ushort>(20); Unknown21 = parser.ReadColumn <uint>(21); FinalBossCurrencyA = parser.ReadColumn <uint>(22); FinalBossCurrencyB = parser.ReadColumn <ushort>(23); NewPlayerBonusB = parser.ReadColumn <ushort>(24); UnkData25 = new UnkData25Obj[5]; for (var i = 0; i < 5; i++) { UnkData25[i] = new UnkData25Obj(); UnkData25[i].BossExp = parser.ReadColumn <ushort>(25 + (i * 1 + 0)); } UnkData30 = new UnkData30Obj[5]; for (var i = 0; i < 5; i++) { UnkData30[i] = new UnkData30Obj(); UnkData30[i].BossCurrencyA = parser.ReadColumn <uint>(30 + (i * 1 + 0)); } UnkData35 = new UnkData35Obj[5]; for (var i = 0; i < 5; i++) { UnkData35[i] = new UnkData35Obj(); UnkData35[i].BossCurrencyB = parser.ReadColumn <ushort>(35 + (i * 1 + 0)); } UnkData40 = new UnkData40Obj[5]; for (var i = 0; i < 5; i++) { UnkData40[i] = new UnkData40Obj(); UnkData40[i].BossCurrencyC = parser.ReadColumn <ushort>(40 + (i * 1 + 0)); } Unknown45 = parser.ReadColumn <ushort>(45); InstanceClearGil = parser.ReadColumn <uint>(46); InstanceContentRewardItem = parser.ReadColumn <uint>(47); Unknown48 = parser.ReadColumn <uint>(48); FinalBossExp = parser.ReadColumn <byte>(49); InstanceContentBuff = new LazyRow <InstanceContentBuff>(gameData, parser.ReadColumn <uint>(50), language); ReqInstance = new LazyRow <InstanceContent>(gameData, parser.ReadColumn <int>(51), language); Unknown52 = parser.ReadColumn <uint>(52); PartyCondition = parser.ReadColumn <short>(53); Unknown54 = parser.ReadColumn <byte>(54); Unknown55 = parser.ReadColumn <byte>(55); Unknown56 = parser.ReadColumn <byte>(56); Unknown57 = parser.ReadColumn <byte>(57); Unknown58 = parser.ReadColumn <bool>(58); Unknown59 = parser.ReadColumn <ushort>(59); Unknown60 = parser.ReadColumn <ushort>(60); Unknown61 = parser.ReadColumn <ushort>(61); Unknown62 = parser.ReadColumn <ushort>(62); }