Esempio n. 1
0
        private void PopulateFieldsPK8()
        {
            if (!(pkm is PK8 pk8))
            {
                return;
            }

            LoadMisc1(pk8);
            LoadMisc2(pk8);
            LoadMisc3(pk8);
            LoadMisc4(pk8);
            LoadMisc6(pk8);
            SizeCP.LoadPKM(pk8);

            LoadPartyStats(pk8);
            UpdateStats();
        }
Esempio n. 2
0
        private void PopulateFieldsPK8()
        {
            if (!(Entity is PK8 pk8))
            {
                throw new FormatException(nameof(Entity));
            }

            LoadMisc1(pk8);
            LoadMisc2(pk8);
            LoadMisc3(pk8);
            LoadMisc4(pk8);
            LoadMisc6(pk8);
            SizeCP.LoadPKM(pk8);
            LoadMisc8(pk8);

            LoadPartyStats(pk8);
            UpdateStats();
        }
Esempio n. 3
0
        private void PopulateFieldsPB7()
        {
            if (Entity is not PB7 pk7)
            {
                throw new FormatException(nameof(Entity));
            }

            LoadMisc1(pk7);
            LoadMisc2(pk7);
            LoadMisc3(pk7);
            LoadMisc4(pk7);
            LoadMisc6(pk7);
            LoadAVs(pk7);
            SizeCP.LoadPKM(pk7);

            LoadPartyStats(pk7);
            UpdateStats();
        }