예제 #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");
 }