Exemple #1
0
        public ViewModel()
        {
            String[] names = { "VAAN", "ASHE", "FRAN", "BALTHIER", "BASCH", "PENELO" };
            for (uint i = 0; i < names.Length; i++)
            {
                Party.Add(new Charactor(0x2210 + i * 456, names[i]));
            }

            for (uint i = 0; i < 64; i++)
            {
                Consumable.Add(new Item(0xDACC + i * 2, 0x6948, 0));
            }
            for (uint i = 0; i < 200; i++)
            {
                Weapon.Add(new Item(0xDB4C + i * 2, 0x69CA, 0x1001));
            }
            for (uint i = 0; i < 140; i++)
            {
                Armor.Add(new Item(0xDCDC + i * 2, 0x6B58, 0x10C8));
            }
            for (uint i = 0; i < 120; i++)
            {
                Accessorie.Add(new Item(0xDDF4 + i * 2, 0x6C70, 0x1154));
            }
            for (uint i = 0; i < 24; i++)
            {
                Technique.Add(new Technique(i));
            }
            for (uint i = 0; i < 81; i++)
            {
                Magic.Add(new Magic(i));
            }
        }