Пример #1
0
 private void npcInfoBackgroundWorker_DoWork(object sender, DoWorkEventArgs e)
 {
     try
     {
         if (mysql != null)
         {
             npcInfo = mysql.ReadAll(Settings.Default.WorldDB, "creature_template", new string[] { "entry" }, new string[] { editNPCID.ToString() });
         }
     }
     catch
     {
     }
 }
Пример #2
0
 private void lootInfoBackgroundWorker_DoWork(object sender, DoWorkEventArgs e)
 {
     if (mysql != null)
     {
         lootInfo = mysql.ReadAll(Settings.Default.WorldDB, "creature_loot_template", new string[] { "entry" }, new string[] { editLootID.ToString() });
     }
 }
 private void vendorInfoBackgroundWorker_DoWork(object sender, DoWorkEventArgs e)
 {
     if (mysql != null)
     {
         vendorInfo = mysql.ReadAll(Settings.Default.WorldDB, "npc_vendor", new string[] { "entry" }, new string[] { editVendorID.ToString() });
     }
 }
Пример #4
0
 private void mysqlBackgroundWorker_DoWork(object sender, DoWorkEventArgs e)
 {
     charDict = mysql.ReadAll(Settings.Default.CharactersDB, "characters");
 }