mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
attackers value
This commit is contained in:
parent
1f839d950e
commit
c437e99f90
@ -23,9 +23,9 @@ class AttackersValue : public ObjectGuidListCalculatedValue
|
|||||||
static bool IsValidTarget(Unit* attacker, Player* bot);
|
static bool IsValidTarget(Unit* attacker, Player* bot);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void AddAttackersOf(Group* group, std::set<Unit*>& targets);
|
void AddAttackersOf(Group* group, std::unordered_set<Unit*>& targets);
|
||||||
void AddAttackersOf(Player* player, std::set<Unit*>& targets);
|
void AddAttackersOf(Player* player, std::unordered_set<Unit*>& targets);
|
||||||
void RemoveNonThreating(std::set<Unit*>& targets);
|
void RemoveNonThreating(std::unordered_set<Unit*>& targets);
|
||||||
bool hasRealThreat(Unit* attacker);
|
bool hasRealThreat(Unit* attacker);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user