Beispiel #1
0
 // Loading
 private void Fmain_Load(object sender, EventArgs e)
 {
     SpellLibrary.LoadSpellIconLibrary();
     MountLibrary.LoadMountInfoLibrary();
     PetLibrary.LoadPetInfoLibrary();
     ItemDisplayIconLibrary.LoadMountInfoLibrary();
 }
Beispiel #2
0
        private void btn_Pet_StoreDictionnary_Click(object sender, EventArgs e)
        {
            string PetSpellID        = txtPetSpellID.Text;
            string PetSpellName      = txtPetName.Text;
            string SpellIconID       = txtPetIconID.Text;
            string SpellIcon         = txtPetIcon.Text;
            string CreatureID        = txtPetCreatureID.Text;
            string CreatureDisplayID = txtPetDisplayID.Text;

            PetLibrary.AddToPetXmlLibrary(PetSpellID, CreatureID, CreatureDisplayID, PetSpellName, SpellIcon, SpellIconID);
            PetLibrary.LoadPetInfoLibrary();
        }