Exemplo n.º 1
0
        //Quickly change a socialstat combobox data
        private void SetSocialStatCombobox(ComboBox combobox, Addresses.SocialStats socialStat, int[] socialStatValues)
        {
            int value = socialStatValues[combobox.SelectedIndex];

            Addresses.SetSocialStat(socialStat, value);
            SetInformationBar(socialStat.ToString() + " set to: " + combobox.Text);
        }
Exemplo n.º 2
0
        //Retrieve the data from a socialstat combobox
        private void GetSocialStatCombobox(ComboBox combobox, Addresses.SocialStats socialStat)
        {
            int value = Addresses.GetSocialStat(socialStat);

            combobox.Text = Addresses.SocialStatName(socialStat, value);
            SetInformationBar(socialStat.ToString() + " retrieved as: " + combobox.Text);
        }
Exemplo n.º 3
0
        private void SetCharmButton_Click(object sender, EventArgs e)
        {
            ComboBox combobox = charmInput;

            Addresses.SocialStats stat = Addresses.SocialStats.Charm;
            int[] socialStatValues     = new int[5] {
                5, 51, 91, 131, 132
            };

            SetSocialStatCombobox(combobox, stat, socialStatValues);
        }
Exemplo n.º 4
0
        private void SetKindnessButton_Click(object sender, EventArgs e)
        {
            ComboBox combobox = kindnessInput;

            Addresses.SocialStats stat = Addresses.SocialStats.Kindness;
            int[] socialStatValues     = new int[5] {
                13, 43, 90, 135, 136
            };

            SetSocialStatCombobox(combobox, stat, socialStatValues);
        }
Exemplo n.º 5
0
        private void SetProficiencyButton_Click(object sender, EventArgs e)
        {
            ComboBox combobox = proficiencyInput;

            Addresses.SocialStats stat = Addresses.SocialStats.Proficiency;
            int[] socialStatValues     = new int[5] {
                11, 33, 59, 86, 87
            };

            SetSocialStatCombobox(combobox, stat, socialStatValues);
        }
Exemplo n.º 6
0
        private void SetGutsButton_Click(object sender, EventArgs e)
        {
            ComboBox combobox = gutsInput;

            Addresses.SocialStats stat = Addresses.SocialStats.Guts;
            int[] socialStatValues     = new int[5] {
                10, 28, 56, 112, 113
            };

            SetSocialStatCombobox(combobox, stat, socialStatValues);
        }
Exemplo n.º 7
0
        private void SetKnowledgeButton_Click(object sender, EventArgs e)
        {
            ComboBox combobox = knowledgeInput;

            Addresses.SocialStats stat = Addresses.SocialStats.Knowledge;
            int[] socialStatValues     = new int[5] {
                33, 81, 125, 191, 192
            };

            SetSocialStatCombobox(combobox, stat, socialStatValues);
        }