TrinityCore
SystemMgr Class Reference

#include <ScriptSystem.h>

Public Member Functions

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 SystemMgrinstance ()
 

Private Types

typedef std::pair< uint32, uint16ChainKeyType
 

Private Member Functions

 SystemMgr ()
 
 ~SystemMgr ()
 
 SystemMgr (SystemMgr const &)=delete
 
SystemMgroperator= (SystemMgr const &)=delete
 

Private Attributes

std::unordered_map< ChainKeyType, std::vector< SplineChainLink > > m_mSplineChainsMap
 

Detailed Description

Definition at line 30 of file ScriptSystem.h.

Member Typedef Documentation

◆ ChainKeyType

typedef std::pair<uint32, uint16> SystemMgr::ChainKeyType
private

Definition at line 42 of file ScriptSystem.h.

Constructor & Destructor Documentation

◆ SystemMgr() [1/2]

SystemMgr::SystemMgr ( )
privatedefault

◆ ~SystemMgr()

SystemMgr::~SystemMgr ( )
privatedefault

◆ SystemMgr() [2/2]

SystemMgr::SystemMgr ( SystemMgr const &  )
privatedelete

Member Function Documentation

◆ GetSplineChain() [1/2]

std::vector< SplineChainLink > const * SystemMgr::GetSplineChain ( Creature const *  who,
uint16  id 
) const

Definition at line 117 of file ScriptSystem.cpp.

+ Here is the call graph for this function:

◆ GetSplineChain() [2/2]

std::vector< SplineChainLink > const * SystemMgr::GetSplineChain ( uint32  entry,
uint16  chainId 
) const

Definition at line 109 of file ScriptSystem.cpp.

+ Here is the caller graph for this function:

◆ instance()

SystemMgr * SystemMgr::instance ( )
static

Definition at line 29 of file ScriptSystem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadScriptSplineChains()

void SystemMgr::LoadScriptSplineChains ( )

Definition at line 35 of file ScriptSystem.cpp.

+ Here is the call graph for this function:

◆ operator=()

SystemMgr & SystemMgr::operator= ( SystemMgr const &  )
privatedelete

Member Data Documentation

◆ m_mSplineChainsMap

std::unordered_map<ChainKeyType, std::vector<SplineChainLink> > SystemMgr::m_mSplineChainsMap
private

Definition at line 50 of file ScriptSystem.h.


The documentation for this class was generated from the following files: