ARKBreedingStats.Form1.editCreatureInTester C# (CSharp) Method

editCreatureInTester() private method

Call this function with a creature c to put all its stats in the levelup-tester (and go to the tester-tab) to see what it could become
private editCreatureInTester ( Creature c, bool virtualCreature = false ) : void
c Creature the creature to test
virtualCreature bool set to true if the creature is not in the library
return void
        private void editCreatureInTester(Creature c, bool virtualCreature = false)
        {
            if (c != null)
            {
                cbbStatTestingSpecies.SelectedIndex = Values.V.speciesNames.IndexOf(c.species);
                NumericUpDownTestingTE.Value = (c.tamingEff >= 0 ? (decimal)c.tamingEff * 100 : 0);
                numericUpDownImprintingBonusTester.Value = (decimal)c.imprintingBonus * 100;
                checkBoxStatTestingBred.Checked = c.isBred;

                for (int s = 0; s < 7; s++)
                {
                    testingIOs[s].LevelWild = c.levelsWild[s];
                    testingIOs[s].LevelDom = c.levelsDom[s];
                }
                tabControlMain.SelectedTab = tabPageStatTesting;
                setTesterEditCreature(c, virtualCreature);
            }
        }
Form1