|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <WaypointManager.h>
Public Member Functions | |
| WaypointPath const * | GetPath (uint32 id) const |
| void | Load () |
| void | ReloadPath (uint32 id) |
Private Member Functions | |
| WaypointMgr () | |
| ~WaypointMgr () | |
Private Attributes | |
| WaypointPathContainer | _waypointStore |
Friends | |
| class | Skyfire::Singleton< WaypointMgr, Skyfire::NullMutex > |
Definition at line 25 of file WaypointManager.h.
|
private |
Definition at line 12 of file WaypointManager.cpp.
|
private |
Definition at line 14 of file WaypointManager.cpp.
References _waypointStore.
|
inline |
Definition at line 37 of file WaypointManager.h.
References _waypointStore, and GetPath().
Referenced by GetPath().
| void WaypointMgr::Load | ( | ) |
Definition at line 27 of file WaypointManager.cpp.
References _waypointStore, WaypointData::delay, WaypointData::event_chance, WaypointData::event_id, Field::GetBool(), Field::GetFloat(), Field::GetInt16(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), WaypointData::id, Skyfire::NormalizeMapCoord(), WaypointData::orientation, WaypointData::run, SF_LOG_ERROR, SF_LOG_INFO, WorldDatabase, WaypointData::x, WaypointData::y, and WaypointData::z.
| void WaypointMgr::ReloadPath | ( | uint32 | id | ) |
Definition at line 75 of file WaypointManager.cpp.
References _waypointStore, WaypointData::delay, WaypointData::event_chance, WaypointData::event_id, Field::GetBool(), Field::GetFloat(), Field::GetUInt32(), Field::GetUInt8(), WaypointData::id, Skyfire::NormalizeMapCoord(), WaypointData::orientation, WaypointData::run, PreparedStatement::setUInt32(), WORLD_SEL_WAYPOINT_DATA_BY_ID, WorldDatabase, WaypointData::x, WaypointData::y, and WaypointData::z.
|
friend |
Definition at line 19 of file WaypointManager.h.
|
private |
Definition at line 51 of file WaypointManager.h.
Referenced by GetPath(), Load(), ReloadPath(), and ~WaypointMgr().