◆ GameEventAIHookWorker()
| GameEventAIHookWorker::GameEventAIHookWorker |
( |
uint16 |
eventId, |
|
|
bool |
activate |
|
) |
| |
|
inline |
bool _activate
Definition GameEventMgr.cpp:1901
uint16 _eventId
Definition GameEventMgr.cpp:1900
◆ Visit() [1/3]
| void GameEventAIHookWorker::Visit |
( |
std::unordered_map< ObjectGuid, Creature * > & |
creatureMap | ) |
|
|
inline |
1883 {
1884 for (auto const& p : creatureMap)
1885 if (p.second->IsInWorld() && !p.second->IsDuringRemoveFromWorld() && p.second->FindMap() && p.second->IsAIEnabled && p.second->AI())
1887 }
References _activate, and _eventId.
◆ Visit() [2/3]
1890 {
1891 for (auto const& p : gameObjectMap)
1892 if (p.second->IsInWorld() && p.second->FindMap() && p.second->AI())
1894 }
References _activate, and _eventId.
◆ Visit() [3/3]
template<class T >
| void GameEventAIHookWorker::Visit |
( |
std::unordered_map< ObjectGuid, T * > & |
| ) |
|
|
inline |
◆ _activate
| bool GameEventAIHookWorker::_activate |
|
private |
◆ _eventId
| uint16 GameEventAIHookWorker::_eventId |
|
private |
The documentation for this class was generated from the following file: