Exemplo n.º 1
0
        public void PopulateData(RowParser parser, Lumina lumina)
        {
            RowId    = parser.Row;
            SubRowId = parser.SubRow;

            ClassJob       = new LazyRow <ClassJob>(lumina, parser.ReadColumn <byte>(0));
            ClassJobLevel  = parser.ReadColumn <byte>(1);
            RewardCurrency = new LazyRow <Currency>(lumina, parser.ReadColumn <ushort>(2));
            UnkStruct3     = new UnkStruct3Struct[8];
            for (var i = 0; i < 8; i++)
            {
                UnkStruct3[i] = new UnkStruct3Struct();
                UnkStruct3[i].RequiredItem            = parser.ReadColumn <uint>(3 + (i * 11 + 0));
                UnkStruct3[i].Quantity                = parser.ReadColumn <byte>(3 + (i * 11 + 1));
                UnkStruct3[i].RequestHq               = parser.ReadColumn <bool>(3 + (i * 11 + 2));
                UnkStruct3[i].CollectabilityHighBonus = parser.ReadColumn <ushort>(3 + (i * 11 + 3));
                UnkStruct3[i].CollectabilityBonus     = parser.ReadColumn <ushort>(3 + (i * 11 + 4));
                UnkStruct3[i].CollectabilityBase      = parser.ReadColumn <ushort>(3 + (i * 11 + 5));
                UnkStruct3[i].ExpModifier             = parser.ReadColumn <ushort>(3 + (i * 11 + 6));
                UnkStruct3[i].RewardScrips            = parser.ReadColumn <ushort>(3 + (i * 11 + 7));
                UnkStruct3[i].BonusMultiplier         = parser.ReadColumn <byte>(3 + (i * 11 + 8));
                UnkStruct3[i].ClassJobLevelMax        = parser.ReadColumn <ushort>(3 + (i * 11 + 9));
                UnkStruct3[i].Stars = parser.ReadColumn <byte>(3 + (i * 11 + 10));
            }
        }
Exemplo n.º 2
0
        public override void PopulateData(RowParser parser, GameData gameData, Language language)
        {
            base.PopulateData(parser, gameData, language);

            Leve          = new LazyRow <Leve>(gameData, parser.ReadColumn <int>(0), language);
            CraftLeveTalk = parser.ReadColumn <int>(1);
            Repeats       = parser.ReadColumn <byte>(2);
            UnkStruct3    = new UnkStruct3Struct[4];
            for (var i = 0; i < 4; i++)
            {
                UnkStruct3[i]           = new UnkStruct3Struct();
                UnkStruct3[i].Item      = parser.ReadColumn <int>(3 + (i * 2 + 0));
                UnkStruct3[i].ItemCount = parser.ReadColumn <ushort>(3 + (i * 2 + 1));
            }
        }
Exemplo n.º 3
0
        public override void PopulateData(RowParser parser, GameData gameData, Language language)
        {
            base.PopulateData(parser, gameData, language);

            BNpcName   = new LazyRow <BNpcName>(gameData, parser.ReadColumn <ushort>(0), language);
            Icon       = parser.ReadColumn <int>(1);
            Town       = new LazyRow <Town>(gameData, parser.ReadColumn <byte>(2), language);
            UnkStruct3 = new UnkStruct3Struct[3];
            for (var i = 0; i < 3; i++)
            {
                UnkStruct3[i] = new UnkStruct3Struct();
                UnkStruct3[i].PlaceNameZone     = parser.ReadColumn <ushort>(3 + (i * 2 + 0));
                UnkStruct3[i].PlaceNameLocation = parser.ReadColumn <ushort>(3 + (i * 2 + 1));
            }
        }
Exemplo n.º 4
0
        public void PopulateData(RowParser parser, Lumina lumina)
        {
            RowId    = parser.Row;
            SubRowId = parser.SubRow;

            BNpcName   = new LazyRow <BNpcName>(lumina, parser.ReadColumn <ushort>(0));
            Icon       = parser.ReadColumn <int>(1);
            Town       = new LazyRow <Town>(lumina, parser.ReadColumn <byte>(2));
            UnkStruct3 = new UnkStruct3Struct[3];
            for (var i = 0; i < 3; i++)
            {
                UnkStruct3[i] = new UnkStruct3Struct();
                UnkStruct3[i].PlaceNameZone     = parser.ReadColumn <ushort>(3 + (i * 2 + 0));
                UnkStruct3[i].PlaceNameLocation = parser.ReadColumn <ushort>(3 + (i * 2 + 1));
            }
        }
Exemplo n.º 5
0
        public void PopulateData(RowParser parser, Lumina lumina, Language language)
        {
            RowId    = parser.Row;
            SubRowId = parser.SubRow;

            Leve          = new LazyRow <Leve>(lumina, parser.ReadColumn <int>(0), language);
            CraftLeveTalk = parser.ReadColumn <int>(1);
            Repeats       = parser.ReadColumn <byte>(2);
            UnkStruct3    = new UnkStruct3Struct[4];
            for (var i = 0; i < 4; i++)
            {
                UnkStruct3[i]           = new UnkStruct3Struct();
                UnkStruct3[i].Item      = parser.ReadColumn <int>(3 + (i * 2 + 0));
                UnkStruct3[i].ItemCount = parser.ReadColumn <ushort>(3 + (i * 2 + 1));
            }
        }
Exemplo n.º 6
0
        public override void PopulateData(RowParser parser, GameData gameData, Language language)
        {
            base.PopulateData(parser, gameData, language);

            Unknown0    = parser.ReadColumn <byte>(0);
            CrystalSand = new LazyRow <Item>(gameData, parser.ReadColumn <uint>(1), language);
            Qty         = parser.ReadColumn <byte>(2);
            UnkStruct3  = new UnkStruct3Struct[8];
            for (var i = 0; i < 8; i++)
            {
                UnkStruct3[i]          = new UnkStruct3Struct();
                UnkStruct3[i].ItemName = parser.ReadColumn <uint>(3 + (i * 3 + 0));
                UnkStruct3[i].IsHQ     = parser.ReadColumn <bool>(3 + (i * 3 + 1));
                UnkStruct3[i].Quantity = parser.ReadColumn <byte>(3 + (i * 3 + 2));
            }
            Category = new LazyRow <AnimaWeapon5PatternGroup>(gameData, parser.ReadColumn <byte>(27), language);
        }
Exemplo n.º 7
0
        public void PopulateData(RowParser parser, Lumina lumina)
        {
            RowId    = parser.Row;
            SubRowId = parser.SubRow;

            Unknown0    = parser.ReadColumn <byte>(0);
            CrystalSand = new LazyRow <Item>(lumina, parser.ReadColumn <uint>(1));
            Qty         = parser.ReadColumn <byte>(2);
            UnkStruct3  = new UnkStruct3Struct[8];
            for (var i = 0; i < 8; i++)
            {
                UnkStruct3[i]          = new UnkStruct3Struct();
                UnkStruct3[i].ItemName = parser.ReadColumn <uint>(3 + (i * 3 + 0));
                UnkStruct3[i].IsHQ     = parser.ReadColumn <bool>(3 + (i * 3 + 1));
                UnkStruct3[i].Quantity = parser.ReadColumn <byte>(3 + (i * 3 + 2));
            }
            Category = new LazyRow <AnimaWeapon5PatternGroup>(lumina, parser.ReadColumn <byte>(27));
        }
Exemplo n.º 8
0
        public override void PopulateData( RowParser parser, GameData gameData, Language language )
        {
            base.PopulateData( parser, gameData, language );

            ClassJob = new LazyRow< ClassJob >( gameData, parser.ReadColumn< byte >( 0 ), language );
            ClassJobLevel = parser.ReadColumn< byte >( 1 );
            RewardCurrency = parser.ReadColumn< ushort >( 2 );
            UnkStruct3 = new UnkStruct3Struct[ 8 ];
            for( var i = 0; i < 8; i++ )
            {
                UnkStruct3[ i ] = new UnkStruct3Struct();
                UnkStruct3[ i ].RequiredItem = parser.ReadColumn< uint >( 3 + ( i * 11 + 0 ) );
                UnkStruct3[ i ].Quantity = parser.ReadColumn< byte >( 3 + ( i * 11 + 1 ) );
                UnkStruct3[ i ].RequestHq = parser.ReadColumn< bool >( 3 + ( i * 11 + 2 ) );
                UnkStruct3[ i ].CollectabilityHighBonus = parser.ReadColumn< ushort >( 3 + ( i * 11 + 3 ) );
                UnkStruct3[ i ].CollectabilityBonus = parser.ReadColumn< ushort >( 3 + ( i * 11 + 4 ) );
                UnkStruct3[ i ].CollectabilityBase = parser.ReadColumn< ushort >( 3 + ( i * 11 + 5 ) );
                UnkStruct3[ i ].ExpModifier = parser.ReadColumn< ushort >( 3 + ( i * 11 + 6 ) );
                UnkStruct3[ i ].RewardScrips = parser.ReadColumn< ushort >( 3 + ( i * 11 + 7 ) );
                UnkStruct3[ i ].BonusMultiplier = parser.ReadColumn< byte >( 3 + ( i * 11 + 8 ) );
                UnkStruct3[ i ].ClassJobLevelMax = parser.ReadColumn< ushort >( 3 + ( i * 11 + 9 ) );
                UnkStruct3[ i ].Stars = parser.ReadColumn< byte >( 3 + ( i * 11 + 10 ) );
            }
        }