|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include "Common.h"#include "Creature.h"#include "CreatureAI.h"#include "DB2Stores.h"#include "Platform/Singleton.h"#include "Spell.h"#include "Unit.h"Go to the source code of this file.
Classes | |
| struct | SmartAction |
| class | SmartAIMgr |
| struct | SmartEvent |
| struct | SmartScriptHolder |
| struct | SmartTarget |
| class | SmartWaypointMgr |
| struct | WayPoint |
Macros | |
| #define | sSmartScriptMgr Skyfire::Singleton<SmartAIMgr, Skyfire::NullMutex>::instance() |
| #define | sSmartWaypointMgr Skyfire::Singleton<SmartWaypointMgr, Skyfire::NullMutex>::instance() |
Typedefs | |
| typedef std::map< uint32, std::pair< uint32, SpellEffIndex > > | CacheSpellContainer |
| typedef std::pair< CacheSpellContainer::const_iterator, CacheSpellContainer::const_iterator > | CacheSpellContainerBounds |
| typedef std::list< WorldObject * > | ObjectList |
| typedef UNORDERED_MAP< uint32, ObjectList * > | ObjectListMap |
| typedef std::vector< SmartScriptHolder > | SmartAIEventList |
| typedef UNORDERED_MAP< int32, SmartAIEventList > | SmartAIEventMap |
| typedef UNORDERED_MAP< uint32, WayPoint * > | WPPath |
Variables | |
| const uint32 | SmartAIEventMask [SMART_EVENT_END][2] |
| const uint32 | SmartAITypeMask [SMART_SCRIPT_TYPE_MAX][2] |
| const uint32 | SmartPhaseMask [SMART_EVENT_PHASE_COUNT][2] |
| #define sSmartScriptMgr Skyfire::Singleton<SmartAIMgr, Skyfire::NullMutex>::instance() |
Definition at line 1543 of file SmartScriptMgr.h.
Referenced by SmartScript::GetScript(), reload_commandscript::HandleReloadSmartScripts(), World::SetInitialWorldSettings(), and SmartScript::SetScript9().
| #define sSmartWaypointMgr Skyfire::Singleton<SmartWaypointMgr, Skyfire::NullMutex>::instance() |
Definition at line 1544 of file SmartScriptMgr.h.
Referenced by SmartAIMgr::IsEventValid(), SmartAI::LoadPath(), and World::SetInitialWorldSettings().
| typedef std::map<uint32 , std::pair<uint32 , SpellEffIndex > > CacheSpellContainer |
Definition at line 1368 of file SmartScriptMgr.h.
| typedef std::pair<CacheSpellContainer::const_iterator, CacheSpellContainer::const_iterator> CacheSpellContainerBounds |
Definition at line 1369 of file SmartScriptMgr.h.
| typedef std::list<WorldObject*> ObjectList |
Definition at line 1338 of file SmartScriptMgr.h.
| typedef UNORDERED_MAP<uint32, ObjectList*> ObjectListMap |
Definition at line 1339 of file SmartScriptMgr.h.
| typedef std::vector<SmartScriptHolder> SmartAIEventList |
Definition at line 1362 of file SmartScriptMgr.h.
| typedef UNORDERED_MAP<int32, SmartAIEventList> SmartAIEventMap |
Definition at line 1365 of file SmartScriptMgr.h.
| typedef UNORDERED_MAP<uint32, WayPoint*> WPPath |
Definition at line 1336 of file SmartScriptMgr.h.
| enum eSmartAI |
| Enumerator | |
|---|---|
| SMART_EVENT_PARAM_COUNT | |
| SMART_ACTION_PARAM_COUNT | |
| SMART_SUMMON_COUNTER | |
| SMART_ESCORT_LAST_OOC_POINT | |
| SMART_RANDOM_POINT | |
| SMART_ESCORT_TARGETS | |
Definition at line 1151 of file SmartScriptMgr.h.
| enum SMART_ACTION |
Definition at line 387 of file SmartScriptMgr.h.
| enum SMART_EVENT |
Definition at line 69 of file SmartScriptMgr.h.
| enum SMART_EVENT_PHASE |
Definition at line 33 of file SmartScriptMgr.h.
Definition at line 47 of file SmartScriptMgr.h.
| Enumerator | |
|---|---|
| SMART_SCRIPT_RESPAWN_CONDITION_NONE | |
| SMART_SCRIPT_RESPAWN_CONDITION_MAP | |
| SMART_SCRIPT_RESPAWN_CONDITION_AREA | |
| SMART_SCRIPT_RESPAWN_CONDITION_END | |
Definition at line 379 of file SmartScriptMgr.h.
| enum SMARTAI_TARGETS |
Definition at line 1018 of file SmartScriptMgr.h.
| enum SMARTAI_TEMPLATE |
| Enumerator | |
|---|---|
| SMARTAI_TEMPLATE_BASIC | |
| SMARTAI_TEMPLATE_CASTER | |
| SMARTAI_TEMPLATE_TURRET | |
| SMARTAI_TEMPLATE_PASSIVE | |
| SMARTAI_TEMPLATE_CAGED_GO_PART | |
| SMARTAI_TEMPLATE_CAGED_NPC_PART | |
| SMARTAI_TEMPLATE_END | |
Definition at line 1007 of file SmartScriptMgr.h.
| enum SmartAITypeMaskId |
Definition at line 1176 of file SmartScriptMgr.h.
| enum SmartCastFlags |
| Enumerator | |
|---|---|
| SMARTCAST_INTERRUPT_PREVIOUS | |
| SMARTCAST_TRIGGERED | |
| SMARTCAST_AURA_NOT_PRESENT | |
Definition at line 1299 of file SmartScriptMgr.h.
| enum SmartEventFlags |
Definition at line 1283 of file SmartScriptMgr.h.
| enum SmartScriptType |
Definition at line 1161 of file SmartScriptMgr.h.
| const uint32 SmartAIEventMask[SMART_EVENT_END][2] |
Definition at line 1204 of file SmartScriptMgr.h.
Referenced by SmartAIMgr::IsEventValid().
| const uint32 SmartAITypeMask[SMART_SCRIPT_TYPE_MAX][2] |
Definition at line 1190 of file SmartScriptMgr.h.
Referenced by SmartAIMgr::IsEventValid().
| const uint32 SmartPhaseMask[SMART_EVENT_PHASE_COUNT][2] |
Definition at line 59 of file SmartScriptMgr.h.