Esempio n. 1
0
        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);

            Name     = parser.ReadColumn <SeString>(0);
            UnkData1 = new UnkData1Obj[10];
            for (var i = 0; i < 10; i++)
            {
                UnkData1[i] = new UnkData1Obj();
                UnkData1[i].CompanyCraftType = parser.ReadColumn <ushort>(1 + (i * 1 + 0));
            }
        }
Esempio n. 3
0
        public override void PopulateData(RowParser parser, GameData gameData, Language language)
        {
            base.PopulateData(parser, gameData, language);

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

            Unknown0 = parser.ReadColumn <byte>(0);
            UnkData1 = new UnkData1Obj[2];
            for (var i = 0; i < 2; i++)
            {
                UnkData1[i] = new UnkData1Obj();
                UnkData1[i].RewardCurrency = parser.ReadColumn <ushort>(1 + (i * 4 + 0));
                UnkData1[i].QuantityLow    = parser.ReadColumn <ushort>(1 + (i * 4 + 1));
                UnkData1[i].QuantityMid    = parser.ReadColumn <ushort>(1 + (i * 4 + 2));
                UnkData1[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);
        }
Esempio n. 5
0
        public override void PopulateData(RowParser parser, GameData gameData, Language language)
        {
            base.PopulateData(parser, gameData, language);

            Name     = parser.ReadColumn <SeString>(0);
            UnkData1 = new UnkData1Obj[10];
            for (var i = 0; i < 10; i++)
            {
                UnkData1[i]      = new UnkData1Obj();
                UnkData1[i].Item = parser.ReadColumn <uint>(1 + (i * 1 + 0));
            }
            UnkData11 = new UnkData11Obj[10];
            for (var i = 0; i < 10; i++)
            {
                UnkData11[i]      = new UnkData11Obj();
                UnkData11[i].Cost = parser.ReadColumn <uint>(11 + (i * 1 + 0));
            }
            UnkData21 = new UnkData21Obj[10];
            for (var i = 0; i < 10; i++)
            {
                UnkData21[i] = new UnkData21Obj();
                UnkData21[i].FCRankRequired = parser.ReadColumn <byte>(21 + (i * 1 + 0));
            }
        }