|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <SmartAI.h>
Static Public Member Functions | |
| static int | Permissible (const GameObject *g) |
| Static Public Member Functions inherited from GameObjectAI | |
| static int | Permissible (GameObject const *go) |
Protected Attributes | |
| bool | _gossipReturn |
| GameObject *const | go |
| SmartScript | mScript |
| Protected Attributes inherited from GameObjectAI | |
| GameObject *const | go |
|
inline |
Definition at line 231 of file SmartAI.h.
References _gossipReturn, GameObjectAI::GameObjectAI(), and go.
Reimplemented from GameObjectAI.
Definition at line 871 of file SmartAI.cpp.
References GetScript(), go, SmartScript::ProcessEventsFor(), and SMART_EVENT_DEATH.
|
virtual |
Reimplemented from GameObjectAI.
Definition at line 898 of file SmartAI.cpp.
References GetScript(), SmartScript::ProcessEventsFor(), and SMART_EVENT_GO_EVENT_INFORM.
Reimplemented from GameObjectAI.
Definition at line 868 of file SmartAI.cpp.
|
inline |
Definition at line 237 of file SmartAI.h.
References GetScript(), and mScript.
Referenced by Destroyed(), EventInform(), GetScript(), GossipHello(), GossipSelect(), InitializeAI(), OnGameEvent(), OnStateChanged(), QuestAccept(), QuestReward(), Reset(), SetData(), SetScript9(), and UpdateAI().
|
virtual |
Reimplemented from GameObjectAI.
Definition at line 832 of file SmartAI.cpp.
References _gossipReturn, GetScript(), go, SmartScript::ProcessEventsFor(), SF_LOG_DEBUG, and SMART_EVENT_GOSSIP_HELLO.
Reimplemented from GameObjectAI.
Definition at line 841 of file SmartAI.cpp.
References GetScript(), go, SmartScript::ProcessEventsFor(), and SMART_EVENT_GOSSIP_SELECT.
Reimplemented from GameObjectAI.
Definition at line 848 of file SmartAI.cpp.
|
virtual |
Reimplemented from GameObjectAI.
Definition at line 819 of file SmartAI.cpp.
References GetScript(), go, SmartScript::OnInitialize(), SmartScript::ProcessEventsFor(), and SMART_EVENT_RESPAWN.
|
virtual |
Reimplemented from GameObjectAI.
Definition at line 888 of file SmartAI.cpp.
References GetScript(), SmartScript::ProcessEventsFor(), SMART_EVENT_GAME_EVENT_END, and SMART_EVENT_GAME_EVENT_START.
Reimplemented from GameObjectAI.
Definition at line 893 of file SmartAI.cpp.
References GetScript(), SmartScript::ProcessEventsFor(), and SMART_EVENT_GO_STATE_CHANGED.
|
static |
Definition at line 807 of file SmartAI.cpp.
References GameObject::GetAIName(), PERMIT_BASE_NO, and PERMIT_BASE_SPECIAL.
Reimplemented from GameObjectAI.
Definition at line 854 of file SmartAI.cpp.
References Quest::GetQuestId(), GetScript(), go, SmartScript::ProcessEventsFor(), and SMART_EVENT_ACCEPTED_QUEST.
Reimplemented from GameObjectAI.
Definition at line 861 of file SmartAI.cpp.
References Quest::GetQuestId(), GetScript(), go, SmartScript::ProcessEventsFor(), and SMART_EVENT_REWARD_QUEST.
|
virtual |
Reimplemented from GameObjectAI.
Definition at line 826 of file SmartAI.cpp.
References GetScript(), and SmartScript::OnReset().
Reimplemented from GameObjectAI.
Definition at line 876 of file SmartAI.cpp.
References GetScript(), SmartScript::ProcessEventsFor(), and SMART_EVENT_DATA_SET.
|
inline |
Definition at line 243 of file SmartAI.h.
References _gossipReturn.
| void SmartGameObjectAI::SetScript9 | ( | SmartScriptHolder & | e, |
| uint32 | entry, | ||
| Unit * | invoker ) |
Definition at line 881 of file SmartAI.cpp.
References Object::GetGUID(), GetScript(), SmartScript::mLastInvoker, and SmartScript::SetScript9().
|
virtual |
Reimplemented from GameObjectAI.
Definition at line 814 of file SmartAI.cpp.
References GetScript(), and SmartScript::OnUpdate().
|
protected |
Definition at line 257 of file SmartAI.h.
Referenced by GossipHello(), SetGossipReturn(), and SmartGameObjectAI().
|
protected |
Definition at line 255 of file SmartAI.h.
Referenced by Destroyed(), GossipHello(), GossipSelect(), InitializeAI(), QuestAccept(), QuestReward(), and SmartGameObjectAI().
|
protected |
Definition at line 256 of file SmartAI.h.
Referenced by GetScript().