![]() |
TrinityCore
|
Classes | |
| struct | PermissibleOrderPred |
Functions | |
| template<class T , class Value > | |
| int32 | GetPermitFor (T const *obj, Value const &value) |
| template<class AI , class T > | |
| FactoryHolder< AI, T > const * | SelectFactory (T const *obj) |
| CreatureAI * | SelectAI (Creature *creature) |
| uint32 | GetSelectedAIId (Creature const *creature) |
| MovementGenerator * | SelectMovementGenerator (Unit *unit) |
| GameObjectAI * | SelectGameObjectAI (GameObject *go) |
| uint32 | GetSelectedAIId (GameObject const *go) |
| static uint32 | GetNullAreaTriggerAIScriptId () |
| AreaTriggerAI * | SelectAreaTriggerAI (AreaTrigger *at) |
| uint32 | GetSelectedAIId (AreaTrigger const *at) |
| static uint32 | GetNullConversationAIScriptId () |
| ConversationAI * | SelectConversationAI (Conversation *conversation) |
| uint32 | GetSelectedAIId (Conversation const *conversation) |
|
static |
Definition at line 163 of file CreatureAISelector.cpp.
References sObjectMgr.
Referenced by GetSelectedAIId(), and SelectAreaTriggerAI().
|
static |
Definition at line 189 of file CreatureAISelector.cpp.
References sObjectMgr.
Referenced by GetSelectedAIId(), and SelectConversationAI().
|
inline |
Definition at line 39 of file CreatureAISelector.cpp.
References ASSERT_NOTNULL, and Permissible< T >::Permit().
Referenced by FactorySelector::PermissibleOrderPred< T >::operator()(), and SelectFactory().
| TC_GAME_API uint32 FactorySelector::GetSelectedAIId | ( | AreaTrigger const * | at | ) |
Definition at line 176 of file CreatureAISelector.cpp.
References GetNullAreaTriggerAIScriptId(), AreaTrigger::GetScriptId(), and sScriptMgr.
| TC_GAME_API uint32 FactorySelector::GetSelectedAIId | ( | Conversation const * | conversation | ) |
Definition at line 202 of file CreatureAISelector.cpp.
References GetNullConversationAIScriptId(), Conversation::GetScriptId(), and sScriptMgr.
| TC_GAME_API uint32 FactorySelector::GetSelectedAIId | ( | Creature const * | creature | ) |
Definition at line 107 of file CreatureAISelector.cpp.
References ASSERT, ASSERT_NOTNULL, Creature::GetScriptId(), Unit::IsPet(), sCreatureAIRegistry, and sScriptMgr.
Referenced by CreatureGameObjectAreaTriggerConversationScriptRegistrySwapHooks< ObjectType, ScriptType, Base >::VisitObjectsWhereIdWasUpdated().
| TC_GAME_API uint32 FactorySelector::GetSelectedAIId | ( | GameObject const * | go | ) |
Definition at line 147 of file CreatureAISelector.cpp.
References ASSERT, GameObject::GetScriptId(), and sScriptMgr.
| TC_GAME_API CreatureAI * FactorySelector::SelectAI | ( | Creature * | creature | ) |
Definition at line 86 of file CreatureAISelector.cpp.
References ASSERT_NOTNULL, Object::GetEntry(), Creature::GetScriptName(), Unit::IsPet(), sCreatureAIRegistry, sScriptMgr, and TC_LOG_ERROR.
Referenced by Creature::AIM_Create().
| TC_GAME_API AreaTriggerAI * FactorySelector::SelectAreaTriggerAI | ( | AreaTrigger * | at | ) |
Definition at line 168 of file CreatureAISelector.cpp.
References GetNullAreaTriggerAIScriptId(), and sScriptMgr.
Referenced by AreaTrigger::AI_Initialize().
| TC_GAME_API ConversationAI * FactorySelector::SelectConversationAI | ( | Conversation * | conversation | ) |
Definition at line 194 of file CreatureAISelector.cpp.
References GetNullConversationAIScriptId(), and sScriptMgr.
Referenced by Conversation::AI_Initialize().
|
inline |
Definition at line 62 of file CreatureAISelector.cpp.
References ABORT, GetPermitFor(), and ObjectRegistry< T, Key >::GetRegistryItem().
| TC_GAME_API GameObjectAI * FactorySelector::SelectGameObjectAI | ( | GameObject * | go | ) |
Definition at line 138 of file CreatureAISelector.cpp.
References sScriptMgr.
Referenced by GameObject::AIM_Initialize().
| TC_GAME_API MovementGenerator * FactorySelector::SelectMovementGenerator | ( | Unit * | unit | ) |
Definition at line 132 of file CreatureAISelector.cpp.
References ASSERT_NOTNULL, FactoryHolder< T, O, Key >::Create(), Unit::GetDefaultMovementType(), and sMovementGeneratorRegistry.
Referenced by MotionMaster::InitializeDefault().