![]() |
TrinityCore
|
#include <CreatureGroups.h>
Public Member Functions | |
| void | AddCreatureToGroup (ObjectGuid::LowType leaderSpawnId, Creature *creature) |
| void | RemoveCreatureFromGroup (CreatureGroup *group, Creature *creature) |
| void | LoadCreatureFormations () |
| FormationInfo * | GetFormationInfo (ObjectGuid::LowType spawnId) |
| void | AddFormationMember (ObjectGuid::LowType spawnId, float followAng, float followDist, ObjectGuid::LowType leaderSpawnId, uint32 groupAI) |
Static Public Member Functions | |
| static FormationMgr * | instance () |
Private Member Functions | |
| FormationMgr () | |
| ~FormationMgr () | |
Private Attributes | |
| std::unordered_map< ObjectGuid::LowType, FormationInfo > | _creatureGroupMap |
Definition at line 49 of file CreatureGroups.h.
|
private |
Definition at line 31 of file CreatureGroups.cpp.
|
private |
Definition at line 35 of file CreatureGroups.cpp.
| void FormationMgr::AddCreatureToGroup | ( | ObjectGuid::LowType | leaderSpawnId, |
| Creature * | creature | ||
| ) |
| void FormationMgr::AddFormationMember | ( | ObjectGuid::LowType | spawnId, |
| float | followAng, | ||
| float | followDist, | ||
| ObjectGuid::LowType | leaderSpawnId, | ||
| uint32 | groupAI | ||
| ) |
Definition at line 179 of file CreatureGroups.cpp.
| FormationInfo * FormationMgr::GetFormationInfo | ( | ObjectGuid::LowType | spawnId | ) |
|
static |
Definition at line 39 of file CreatureGroups.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void FormationMgr::LoadCreatureFormations | ( | ) |
| void FormationMgr::RemoveCreatureFromGroup | ( | CreatureGroup * | group, |
| Creature * | creature | ||
| ) |
|
private |
Definition at line 55 of file CreatureGroups.h.