![]() |
TrinityCore
|
#include <ScriptSystem.h>
Public Member Functions | |
| SystemMgr (SystemMgr const &)=delete | |
| SystemMgr (SystemMgr &&)=delete | |
| SystemMgr & | operator= (SystemMgr const &)=delete |
| SystemMgr & | operator= (SystemMgr &&)=delete |
| void | LoadScriptSplineChains () |
| std::vector< SplineChainLink > const * | GetSplineChain (uint32 entry, uint16 chainId) const |
| std::vector< SplineChainLink > const * | GetSplineChain (Creature const *who, uint16 id) const |
Static Public Member Functions | |
| static SystemMgr * | instance () |
Private Types | |
| typedef std::pair< uint32, uint16 > | ChainKeyType |
Private Member Functions | |
| SystemMgr () | |
| ~SystemMgr () | |
Private Attributes | |
| std::unordered_map< ChainKeyType, std::vector< SplineChainLink > > | m_mSplineChainsMap |
Definition at line 30 of file ScriptSystem.h.
|
private |
Definition at line 47 of file ScriptSystem.h.
|
delete |
|
delete |
|
privatedefault |
|
privatedefault |
| std::vector< SplineChainLink > const * SystemMgr::GetSplineChain | ( | Creature const * | who, |
| uint16 | id | ||
| ) | const |
Definition at line 117 of file ScriptSystem.cpp.
References Object::GetEntry(), and GetSplineChain().
| std::vector< SplineChainLink > const * SystemMgr::GetSplineChain | ( | uint32 | entry, |
| uint16 | chainId | ||
| ) | const |
Definition at line 109 of file ScriptSystem.cpp.
References m_mSplineChainsMap.
Referenced by GetSplineChain().
|
static |
| void SystemMgr::LoadScriptSplineChains | ( | ) |
Definition at line 35 of file ScriptSystem.cpp.
References Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), m_mSplineChainsMap, SplineChainLink::Points, TC_LOG_INFO, TC_LOG_WARN, and WorldDatabase.
|
private |
Definition at line 52 of file ScriptSystem.h.
Referenced by GetSplineChain(), and LoadScriptSplineChains().