feat: add Unit:GetThreatList (#117)

This commit is contained in:
Axel Cocat
2023-04-04 21:19:00 +02:00
committed by GitHub
parent 8a85df8ee7
commit 1407daaf36
3 changed files with 41 additions and 0 deletions

View File

@@ -428,6 +428,7 @@ ElunaRegister<Unit> UnitMethods[] =
// {"RemoveBindSightAuras", &LuaUnit::RemoveBindSightAuras}, // :RemoveBindSightAuras() - UNDOCUMENTED
// {"RemoveCharmAuras", &LuaUnit::RemoveCharmAuras}, // :RemoveCharmAuras() - UNDOCUMENTED
{ "ClearThreatList", &LuaUnit::ClearThreatList },
{ "GetThreatList", &LuaUnit::GetThreatList },
{ "ClearUnitState", &LuaUnit::ClearUnitState },
{ "AddUnitState", &LuaUnit::AddUnitState },
// {"DisableMelee", &LuaUnit::DisableMelee}, // :DisableMelee([disable]) - UNDOCUMENTED - if true, enables