[Cleanup] Remove unused methods (#4449)

This commit is contained in:
Alex King
2024-08-22 11:48:02 -04:00
committed by GitHub
parent e9b84f4d11
commit e3588781aa
2 changed files with 0 additions and 22 deletions
-19
View File
@@ -2931,25 +2931,6 @@ DBnpcspells_Struct *ZoneDatabase::GetNPCSpells(uint32 npc_spells_id)
return nullptr;
}
uint32 ZoneDatabase::GetMaxNPCSpellsID() {
std::string query = "SELECT max(id) from npc_spells";
auto results = QueryDatabase(query);
if (!results.Success()) {
return 0;
}
if (results.RowCount() != 1)
return 0;
auto row = results.begin();
if (!row[0])
return 0;
return Strings::ToInt(row[0]);
}
DBnpcspellseffects_Struct *ZoneDatabase::GetNPCSpellsEffects(uint32 iDBSpellsEffectsID)
{
if (iDBSpellsEffectsID == 0)