[Quest API] Add Hatelist Count Methods to Perl/Lua (#4106)

# Perl
- Add `$mob->GetHateListCount()`.# Perl
- Add `$mob->GetHateListCount()`.
- Add `$mob->GetHateListBotCount()`.
- Add `$mob->GetHateListClientCount()`.
- Add `$mob->GetHateListNPCCount()`.

# Lua
- Add `mob:GetHateListCount()`.
- Add `mob:GetHateListBotCount()`.
- Add `mob:GetHateListClientCount()`.
- Add `mob:GetHateListNPCCount()`.

# Notes
- Allows operators to more easily get a total entity count of a Mob's hate list, can do an overall count, or specifically bots, clients, or NPCs.
This commit is contained in:
Alex King
2024-02-20 23:39:57 -05:00
committed by GitHub
parent f505c2cfd2
commit 67d8250b1c
6 changed files with 92 additions and 1 deletions
+4
View File
@@ -566,6 +566,10 @@ public:
std::string GetRacePlural();
bool IsTemporaryPet();
uint32 GetMobTypeIdentifier();
uint32 GetHateListCount();
uint32 GetHateListBotCount();
uint32 GetHateListClientCount();
uint32 GetHateListNPCCount();
};
#endif