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

            Name       = parser.ReadColumn <string>(0);
            UnkStruct1 = new UnkStruct1Struct[10];
            for (var i = 0; i < 10; i++)
            {
                UnkStruct1[i]      = new UnkStruct1Struct();
                UnkStruct1[i].Item = parser.ReadColumn <uint>(1 + (i * 1 + 0));
            }
            UnkStruct11 = new UnkStruct11Struct[10];
            for (var i = 0; i < 10; i++)
            {
                UnkStruct11[i]      = new UnkStruct11Struct();
                UnkStruct11[i].Cost = parser.ReadColumn <uint>(11 + (i * 1 + 0));
            }
            UnkStruct21 = new UnkStruct21Struct[10];
            for (var i = 0; i < 10; i++)
            {
                UnkStruct21[i] = new UnkStruct21Struct();
                UnkStruct21[i].FCRankRequired = parser.ReadColumn <byte>(21 + (i * 1 + 0));
            }
        }
Exemplo n.º 2
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);
            }
        }
Exemplo n.º 3
0
        public override void PopulateData(RowParser parser, GameData gameData, Language language)
        {
            base.PopulateData(parser, gameData, language);

            Name       = parser.ReadColumn <SeString>(0);
            UnkStruct1 = new UnkStruct1Struct[10];
            for (var i = 0; i < 10; i++)
            {
                UnkStruct1[i] = new UnkStruct1Struct();
                UnkStruct1[i].CompanyCraftType = parser.ReadColumn <ushort>(1 + (i * 1 + 0));
            }
        }
Exemplo n.º 4
0
        public void PopulateData(RowParser parser, Lumina lumina, Language language)
        {
            RowId    = parser.Row;
            SubRowId = parser.SubRow;

            Name       = parser.ReadColumn <string>(0);
            UnkStruct1 = new UnkStruct1Struct[10];
            for (var i = 0; i < 10; i++)
            {
                UnkStruct1[i] = new UnkStruct1Struct();
                UnkStruct1[i].CompanyCraftType = parser.ReadColumn <ushort>(1 + (i * 1 + 0));
            }
        }
Exemplo n.º 5
0
        public override void PopulateData(RowParser parser, GameData gameData, Language language)
        {
            base.PopulateData(parser, gameData, language);

            EXPBonusPct = parser.ReadColumn <byte>(0);
            UnkStruct1  = new UnkStruct1Struct[3];
            for (var i = 0; i < 3; i++)
            {
                UnkStruct1[i]            = new UnkStruct1Struct();
                UnkStruct1[i].BaseParam  = parser.ReadColumn <byte>(1 + (i * 6 + 0));
                UnkStruct1[i].IsRelative = parser.ReadColumn <bool>(1 + (i * 6 + 1));
                UnkStruct1[i].Value      = parser.ReadColumn <sbyte>(1 + (i * 6 + 2));
                UnkStruct1[i].Max        = parser.ReadColumn <short>(1 + (i * 6 + 3));
                UnkStruct1[i].ValueHQ    = parser.ReadColumn <sbyte>(1 + (i * 6 + 4));
                UnkStruct1[i].MaxHQ      = parser.ReadColumn <short>(1 + (i * 6 + 5));
            }
        }
Exemplo n.º 6
0
        public void PopulateData(RowParser parser, Lumina lumina)
        {
            RowId    = parser.Row;
            SubRowId = parser.SubRow;

            EXPBonusPct = parser.ReadColumn <byte>(0);
            UnkStruct1  = new UnkStruct1Struct[3];
            for (var i = 0; i < 3; i++)
            {
                UnkStruct1[i]            = new UnkStruct1Struct();
                UnkStruct1[i].BaseParam  = parser.ReadColumn <byte>(1 + (i * 6 + 0));
                UnkStruct1[i].IsRelative = parser.ReadColumn <bool>(1 + (i * 6 + 1));
                UnkStruct1[i].Value      = parser.ReadColumn <sbyte>(1 + (i * 6 + 2));
                UnkStruct1[i].Max        = parser.ReadColumn <short>(1 + (i * 6 + 3));
                UnkStruct1[i].ValueHQ    = parser.ReadColumn <sbyte>(1 + (i * 6 + 4));
                UnkStruct1[i].MaxHQ      = parser.ReadColumn <short>(1 + (i * 6 + 5));
            }
        }
Exemplo n.º 7
0
        public override void PopulateData(RowParser parser, GameData gameData, Language language)
        {
            base.PopulateData(parser, gameData, language);

            Unknown0   = parser.ReadColumn <byte>(0);
            UnkStruct1 = new UnkStruct1Struct[2];
            for (var i = 0; i < 2; i++)
            {
                UnkStruct1[i] = new UnkStruct1Struct();
                UnkStruct1[i].RewardCurrency = parser.ReadColumn <ushort>(1 + (i * 4 + 0));
                UnkStruct1[i].QuantityLow    = parser.ReadColumn <ushort>(1 + (i * 4 + 1));
                UnkStruct1[i].QuantityMid    = parser.ReadColumn <ushort>(1 + (i * 4 + 2));
                UnkStruct1[i].QuantityHigh   = parser.ReadColumn <ushort>(1 + (i * 4 + 3));
            }
            Unknown9         = parser.ReadColumn <byte>(9);
            SatisfactionLow  = parser.ReadColumn <ushort>(10);
            SatisfactionMid  = parser.ReadColumn <ushort>(11);
            SatisfactionHigh = parser.ReadColumn <ushort>(12);
            GilLow           = parser.ReadColumn <ushort>(13);
            GilMid           = parser.ReadColumn <ushort>(14);
            GilHigh          = parser.ReadColumn <ushort>(15);
        }
Exemplo n.º 8
0
        public void PopulateData(RowParser parser, Lumina lumina)
        {
            RowId    = parser.Row;
            SubRowId = parser.SubRow;

            Unknown0   = parser.ReadColumn <byte>(0);
            UnkStruct1 = new UnkStruct1Struct[2];
            for (var i = 0; i < 2; i++)
            {
                UnkStruct1[i] = new UnkStruct1Struct();
                UnkStruct1[i].RewardCurrency = parser.ReadColumn <ushort>(1 + (i * 4 + 0));
                UnkStruct1[i].QuantityLow    = parser.ReadColumn <ushort>(1 + (i * 4 + 1));
                UnkStruct1[i].QuantityMid    = parser.ReadColumn <ushort>(1 + (i * 4 + 2));
                UnkStruct1[i].QuantityHigh   = parser.ReadColumn <ushort>(1 + (i * 4 + 3));
            }
            Unknown9         = parser.ReadColumn <byte>(9);
            SatisfactionLow  = parser.ReadColumn <ushort>(10);
            SatisfactionMid  = parser.ReadColumn <ushort>(11);
            SatisfactionHigh = parser.ReadColumn <ushort>(12);
            GilLow           = parser.ReadColumn <ushort>(13);
            GilMid           = parser.ReadColumn <ushort>(14);
            GilHigh          = parser.ReadColumn <ushort>(15);
        }
Exemplo n.º 9
0
        public override void PopulateData(RowParser parser, GameData gameData, Language language)
        {
            base.PopulateData(parser, gameData, language);

            Name       = parser.ReadColumn <SeString>(0);
            UnkStruct1 = new UnkStruct1Struct[10];
            for (var i = 0; i < 10; i++)
            {
                UnkStruct1[i]      = new UnkStruct1Struct();
                UnkStruct1[i].Item = parser.ReadColumn <uint>(1 + (i * 1 + 0));
            }
            UnkStruct11 = new UnkStruct11Struct[10];
            for (var i = 0; i < 10; i++)
            {
                UnkStruct11[i]      = new UnkStruct11Struct();
                UnkStruct11[i].Cost = parser.ReadColumn <uint>(11 + (i * 1 + 0));
            }
            UnkStruct21 = new UnkStruct21Struct[10];
            for (var i = 0; i < 10; i++)
            {
                UnkStruct21[i] = new UnkStruct21Struct();
                UnkStruct21[i].FCRankRequired = parser.ReadColumn <byte>(21 + (i * 1 + 0));
            }
        }