DeleteHuntTable() public static method

public static DeleteHuntTable ( Hunt hunt ) : void
hunt Hunt
return void
Beispiel #1
0
 public static void resetHunt(Hunt h)
 {
     h.Reset();
     LootDatabaseManager.DeleteHuntTable(h);
     LootDatabaseManager.CreateHuntTable(h);
     LootDatabaseManager.UpdateLoot();
 }
Beispiel #2
0
 public static void resetHunt(Hunt h)
 {
     lock (hunts) {
         h.loot.creatureLoot.Clear();
         h.loot.killCount.Clear();
         h.loot.logMessages.Clear();
         h.totalExp  = 0;
         h.totalTime = 0;
     }
     LootDatabaseManager.DeleteHuntTable(h);
     LootDatabaseManager.CreateHuntTable(h);
     LootDatabaseManager.UpdateLoot();
 }