示例#1
0
        public void PopulateData(RowParser parser, Lumina lumina, Language language)
        {
            RowId    = parser.Row;
            SubRowId = parser.SubRow;

            EventItem  = new LazyRow <EventItem>(lumina, parser.ReadColumn <uint>(0), language);
            UnkStruct1 = new UnkStruct1Struct[10];
            for (var i = 0; i < 10; i++)
            {
                UnkStruct1[i] = new UnkStruct1Struct();
                UnkStruct1[i].MonsterNoteTargetCommon = parser.ReadColumn <ushort>(1 + (i * 2 + 0));
                UnkStruct1[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>(lumina, parser.ReadColumn <ushort>(21 + i), language);
            }
            Unknown24   = parser.ReadColumn <ushort>(24);
            UnkStruct25 = new UnkStruct25Struct[3];
            for (var i = 0; i < 3; i++)
            {
                UnkStruct25[i]               = new UnkStruct25Struct();
                UnkStruct25[i].Fate          = parser.ReadColumn <ushort>(25 + (i * 2 + 0));
                UnkStruct25[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>(lumina, parser.ReadColumn <ushort>(31 + i), language);
            }
        }
示例#2
0
        public void PopulateData(RowParser parser, Lumina lumina)
        {
            RowId    = parser.Row;
            SubRowId = parser.SubRow;

            InstanceContentType = parser.ReadColumn <byte>(0);
            WeekRestriction     = parser.ReadColumn <byte>(1);
            TimeLimitmin        = parser.ReadColumn <ushort>(2);
            Unknown3            = parser.ReadColumn <bool>(3);
            BGM       = new LazyRow <BGM>(lumina, parser.ReadColumn <ushort>(4));
            WinBGM    = new LazyRow <BGM>(lumina, parser.ReadColumn <ushort>(5));
            Cutscene  = new LazyRow <Cutscene>(lumina, parser.ReadColumn <uint>(6));
            Unknown7  = parser.ReadColumn <uint>(7);
            Order     = parser.ReadColumn <ushort>(8);
            Colosseum = parser.ReadColumn <byte>(9);
            Unknown10 = parser.ReadColumn <bool>(10);
            InstanceContentTextDataBossStart = new LazyRow <InstanceContentTextData>(lumina, parser.ReadColumn <uint>(11));
            InstanceContentTextDataBossEnd   = new LazyRow <InstanceContentTextData>(lumina, parser.ReadColumn <uint>(12));
            BNpcBaseBoss = new LazyRow <BNpcBase>(lumina, parser.ReadColumn <uint>(13));
            InstanceContentTextDataObjectiveStart = new LazyRow <InstanceContentTextData>(lumina, parser.ReadColumn <uint>(14));
            InstanceContentTextDataObjectiveEnd   = new LazyRow <InstanceContentTextData>(lumina, parser.ReadColumn <uint>(15));
            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 <ushort>(22);
            FinalBossCurrencyB = parser.ReadColumn <ushort>(23);
            NewPlayerBonusB    = parser.ReadColumn <ushort>(24);
            UnkStruct25        = new UnkStruct25Struct[5];
            for (var i = 0; i < 5; i++)
            {
                UnkStruct25[i]         = new UnkStruct25Struct();
                UnkStruct25[i].BossExp = parser.ReadColumn <uint>(25 + (i * 1 + 0));
            }
            UnkStruct30 = new UnkStruct30Struct[5];
            for (var i = 0; i < 5; i++)
            {
                UnkStruct30[i] = new UnkStruct30Struct();
                UnkStruct30[i].BossCurrencyA = parser.ReadColumn <ushort>(30 + (i * 1 + 0));
            }
            UnkStruct35 = new UnkStruct35Struct[5];
            for (var i = 0; i < 5; i++)
            {
                UnkStruct35[i] = new UnkStruct35Struct();
                UnkStruct35[i].BossCurrencyB = parser.ReadColumn <ushort>(35 + (i * 1 + 0));
            }
            UnkStruct40 = new UnkStruct40Struct[5];
            for (var i = 0; i < 5; i++)
            {
                UnkStruct40[i] = new UnkStruct40Struct();
                UnkStruct40[i].BossCurrencyC = parser.ReadColumn <ushort>(40 + (i * 1 + 0));
            }
            Unknown45                 = parser.ReadColumn <uint>(45);
            InstanceClearGil          = parser.ReadColumn <uint>(46);
            InstanceContentRewardItem = parser.ReadColumn <uint>(47);
            Unknown48                 = parser.ReadColumn <byte>(48);
            FinalBossExp              = parser.ReadColumn <uint>(49);
            InstanceContentBuff       = new LazyRow <InstanceContentBuff>(lumina, parser.ReadColumn <int>(50));
            ReqInstance               = new LazyRow <InstanceContent>(lumina, parser.ReadColumn <uint>(51));
            Unknown52                 = parser.ReadColumn <short>(52);
            PartyCondition            = parser.ReadColumn <byte>(53);
            Unknown54                 = parser.ReadColumn <byte>(54);
            Unknown55                 = parser.ReadColumn <byte>(55);
            Unknown56                 = parser.ReadColumn <byte>(56);
            Unknown57                 = parser.ReadColumn <bool>(57);
            Unknown58                 = parser.ReadColumn <ushort>(58);
            Unknown59                 = parser.ReadColumn <ushort>(59);
        }