![]() |
TrinityCore
|
#include <CreatureGroups.h>
Public Member Functions | |
| CreatureGroup (ObjectGuid::LowType leaderSpawnId) | |
| CreatureGroup (CreatureGroup const &)=delete | |
| CreatureGroup (CreatureGroup &&)=delete | |
| CreatureGroup & | operator= (CreatureGroup const &)=delete |
| CreatureGroup & | operator= (CreatureGroup &&)=delete |
| ~CreatureGroup () | |
| Creature * | GetLeader () const |
| ObjectGuid::LowType | GetLeaderSpawnId () const |
| bool | IsEmpty () const |
| bool | IsFormed () const |
| bool | IsLeader (Creature const *creature) const |
| bool | HasMember (Creature *member) const |
| void | AddMember (Creature *member) |
| void | RemoveMember (Creature *member) |
| void | FormationReset (bool dismiss) |
| void | LeaderStartedMoving () |
| void | MemberEngagingTarget (Creature *member, Unit *target) |
| bool | CanLeaderStartMoving () const |
| bool | HasAliveMembers () const |
| bool | LeaderHasStringId (std::string_view id) const |
Private Types | |
| using | MembersMap = std::unordered_map< Creature *, FormationInfo * > |
Private Attributes | |
| Creature * | _leader |
| MembersMap | _members |
| ObjectGuid::LowType | _leaderSpawnId |
| bool | _formed |
| bool | _engaging |
Definition at line 73 of file CreatureGroups.h.
|
private |
Definition at line 78 of file CreatureGroups.h.
|
explicit |
Definition at line 193 of file CreatureGroups.cpp.
|
delete |
|
delete |
|
default |
| void CreatureGroup::AddMember | ( | Creature * | member | ) |
Definition at line 199 of file CreatureGroups.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool CreatureGroup::CanLeaderStartMoving | ( | ) | const |
Definition at line 299 of file CreatureGroups.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CreatureGroup::FormationReset | ( | bool | dismiss | ) |
Definition at line 263 of file CreatureGroups.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
| bool CreatureGroup::HasAliveMembers | ( | ) | const |
Definition at line 313 of file CreatureGroups.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 100 of file CreatureGroups.h.
|
inline |
|
inline |
|
inline |
| bool CreatureGroup::LeaderHasStringId | ( | std::string_view | id | ) | const |
Definition at line 318 of file CreatureGroups.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CreatureGroup::LeaderStartedMoving | ( | ) |
Definition at line 281 of file CreatureGroups.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
delete |
|
delete |
| void CreatureGroup::RemoveMember | ( | Creature * | member | ) |
Definition at line 215 of file CreatureGroups.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 83 of file CreatureGroups.h.
|
private |
Definition at line 82 of file CreatureGroups.h.
|
private |
Definition at line 76 of file CreatureGroups.h.
|
private |
Definition at line 81 of file CreatureGroups.h.
|
private |
Definition at line 79 of file CreatureGroups.h.