feat(Core): GetDeadCreatureListInGrid helper added, for aoe loot (#8445)

This commit is contained in:
acidmanifesto
2021-10-13 10:32:01 -04:00
committed by GitHub
parent b5f8b485a8
commit 430157f71d
5 changed files with 38 additions and 0 deletions

View File

@@ -505,5 +505,6 @@ Creature* GetClosestCreatureWithEntry(WorldObject* source, uint32 entry, float m
GameObject* GetClosestGameObjectWithEntry(WorldObject* source, uint32 entry, float maxSearchRange);
void GetCreatureListWithEntryInGrid(std::list<Creature*>& list, WorldObject* source, uint32 entry, float maxSearchRange);
void GetGameObjectListWithEntryInGrid(std::list<GameObject*>& list, WorldObject* source, uint32 entry, float maxSearchRange);
void GetDeadCreatureListInGrid(std::list<Creature*>& list, WorldObject* source, float maxSearchRange, bool alive = false);
#endif // SCRIPTEDCREATURE_H_