|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <CreatureGroups.h>
Public Member Functions | |
| void | AddCreatureToGroup (uint32 group_id, Creature *creature) |
| FormationMgr () | |
| void | LoadCreatureFormations () |
| void | RemoveCreatureFromGroup (CreatureGroup *group, Creature *creature) |
| ~FormationMgr () | |
Public Attributes | |
| CreatureGroupInfoType | CreatureGroupMap |
Friends | |
| class | Skyfire::Singleton< FormationMgr, Skyfire::NullMutex > |
Definition at line 29 of file CreatureGroups.h.
|
inline |
Definition at line 33 of file CreatureGroups.h.
References FormationMgr().
Referenced by FormationMgr().
| FormationMgr::~FormationMgr | ( | ) |
Definition at line 14 of file CreatureGroups.cpp.
References CreatureGroupMap.
Definition at line 20 of file CreatureGroups.cpp.
References CreatureGroup::AddMember(), Map::CreatureGroupHolder, WorldObject::FindMap(), Object::GetGUIDLow(), WorldObject::GetInstanceId(), and SF_LOG_DEBUG.
| void FormationMgr::LoadCreatureFormations | ( | ) |
Definition at line 61 of file CreatureGroups.cpp.
References CreatureGroupMap, FormationInfo::follow_angle, FormationInfo::follow_dist, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), FormationInfo::groupAI, FormationInfo::leaderGUID, M_PI, FormationInfo::point_1, FormationInfo::point_2, SF_LOG_ERROR, SF_LOG_INFO, sObjectMgr, and WorldDatabase.
| void FormationMgr::RemoveCreatureFromGroup | ( | CreatureGroup * | group, |
| Creature * | creature ) |
Definition at line 44 of file CreatureGroups.cpp.
References Map::CreatureGroupHolder, WorldObject::FindMap(), Creature::GetDBTableGUIDLow(), CreatureGroup::GetId(), WorldObject::GetInstanceId(), CreatureGroup::isEmpty(), CreatureGroup::RemoveMember(), and SF_LOG_DEBUG.
|
friend |
Definition at line 24 of file CreatureGroups.h.
| CreatureGroupInfoType FormationMgr::CreatureGroupMap |
Definition at line 38 of file CreatureGroups.h.
Referenced by LoadCreatureFormations(), and ~FormationMgr().