Exemple #1
0
 // Loading
 private void Fmain_Load(object sender, EventArgs e)
 {
     SpellLibrary.LoadSpellIconLibrary();
     MountLibrary.LoadMountInfoLibrary();
     PetLibrary.LoadPetInfoLibrary();
     ItemDisplayIconLibrary.LoadMountInfoLibrary();
 }
Exemple #2
0
        private void btnSaveDictionary_Click(object sender, EventArgs e)
        {
            string CreatureID, CreatureDisplayID, SpellID, SpellIconName, SpellName, SpellDescription;

            CreatureDisplayID = txtm_creaturedisplayid.Text;
            CreatureID        = txtm_CreatureID.Text;
            SpellID           = txtm_spellID.Text;
            SpellName         = txtm_spellname.Text;
            SpellDescription  = txtm_Description.Text;
            SpellIconName     = txtm_spellicon.Text;

            MountLibrary.AddToMountLibrary(SpellID, CreatureID, SpellName, SpellDescription, CreatureDisplayID, SpellIconName);
        }
Exemple #3
0
 private void txtm_spellID_TextChanged(object sender, EventArgs e)
 {
     if (cbxParseLocal.Checked)
     {
         txtm_spellname.Text         = MountLibrary.GetKeyMountName(txtm_spellID.Text);
         txtm_Description.Text       = MountLibrary.GetKeyMountDescription(txtm_spellID.Text);
         txtm_creaturedisplayid.Text = MountLibrary.GetKeyDisplayID(txtm_spellID.Text);
         txtm_CreatureID.Text        = MountLibrary.GetKeyCreatureEntry(txtm_spellID.Text);
         txtm_spellicon.Text         = MountLibrary.GetKeyIconName(txtm_spellID.Text);
     }
     else if (cbxMountParseWoWhead.Checked)
     {
         // Get Info
     }
 }