attackers value

This commit is contained in:
Yunfan Li
2023-08-28 15:45:17 +08:00
parent 1f839d950e
commit c437e99f90

View File

@@ -23,9 +23,9 @@ class AttackersValue : public ObjectGuidListCalculatedValue
static bool IsValidTarget(Unit* attacker, Player* bot);
private:
void AddAttackersOf(Group* group, std::set<Unit*>& targets);
void AddAttackersOf(Player* player, std::set<Unit*>& targets);
void RemoveNonThreating(std::set<Unit*>& targets);
void AddAttackersOf(Group* group, std::unordered_set<Unit*>& targets);
void AddAttackersOf(Player* player, std::unordered_set<Unit*>& targets);
void RemoveNonThreating(std::unordered_set<Unit*>& targets);
bool hasRealThreat(Unit* attacker);
};