#include <SmartAI.h>
|
| SmartGameObjectAI (GameObject *g) |
|
| ~SmartGameObjectAI () |
|
void | UpdateAI (uint32 diff) override |
|
void | InitializeAI () override |
|
void | Reset () override |
|
SmartScript * | GetScript () |
|
bool | GossipHello (Player *player) override |
|
bool | GossipSelect (Player *player, uint32 sender, uint32 action) override |
|
bool | GossipSelectCode (Player *, uint32, uint32, const char *) override |
|
bool | QuestAccept (Player *player, Quest const *quest) override |
|
bool | QuestReward (Player *player, Quest const *quest, uint32 opt) override |
|
void | Destroyed (Player *player, uint32 eventId) override |
|
void | SetData (uint32 id, uint32 value) override |
|
void | SetScript9 (SmartScriptHolder &e, uint32 entry, Unit *invoker) |
|
void | OnGameEvent (bool start, uint16 eventId) override |
|
void | OnStateChanged (uint32 state, Unit *unit) override |
|
void | EventInform (uint32 eventId) override |
|
| GameObjectAI (GameObject *g) |
|
virtual | ~GameObjectAI () |
|
virtual void | DoAction (int32) |
|
virtual void | SetGUID (uint64, int32) |
|
virtual uint64 | GetGUID (int32) const |
|
virtual uint32 | GetDialogStatus (Player *) |
|
virtual uint32 | GetData (uint32) const |
|
virtual void | SetData64 (uint32, uint64) |
|
virtual uint64 | GetData64 (uint32) const |
|
SmartGameObjectAI::SmartGameObjectAI |
( |
GameObject * |
g | ) |
|
|
inline |
GameObjectAI(GameObject *g)
Definition: GameObjectAI.h:34
SmartGameObjectAI::~SmartGameObjectAI |
( |
| ) |
|
|
inline |
void SmartGameObjectAI::Destroyed |
( |
Player * |
player, |
|
|
uint32 |
eventId |
|
) |
| |
|
overridevirtual |
Reimplemented from GameObjectAI.
SmartScript * GetScript()
Definition: SmartAI.h:242
arena_t NULL
Definition: jemalloc_internal.h:624
Definition: SmartScriptMgr.h:110
void ProcessEventsFor(SMART_EVENT e, Unit *unit=NULL, uint32 var0=0, uint32 var1=0, bool bvar=false, const SpellInfo *spell=NULL, GameObject *gob=NULL)
Definition: SmartScript.cpp:83
GameObject *const go
Definition: GameObjectAI.h:32
void SmartGameObjectAI::EventInform |
( |
uint32 |
eventId | ) |
|
|
overridevirtual |
Reimplemented from GameObjectAI.
Definition: SmartScriptMgr.h:175
SmartScript * GetScript()
Definition: SmartAI.h:242
arena_t NULL
Definition: jemalloc_internal.h:624
void ProcessEventsFor(SMART_EVENT e, Unit *unit=NULL, uint32 var0=0, uint32 var1=0, bool bvar=false, const SpellInfo *spell=NULL, GameObject *gob=NULL)
Definition: SmartScript.cpp:83
SmartScript mScript
Definition: SmartAI.h:258
bool SmartGameObjectAI::GossipHello |
( |
Player * |
player | ) |
|
|
overridevirtual |
Reimplemented from GameObjectAI.
842 TC_LOG_DEBUG(
"scripts.ai",
"SmartGameObjectAI::GossipHello");
SmartScript * GetScript()
Definition: SmartAI.h:242
arena_t NULL
Definition: jemalloc_internal.h:624
#define TC_LOG_DEBUG(filterType__,...)
Definition: Log.h:198
Definition: SmartScriptMgr.h:168
void ProcessEventsFor(SMART_EVENT e, Unit *unit=NULL, uint32 var0=0, uint32 var1=0, bool bvar=false, const SpellInfo *spell=NULL, GameObject *gob=NULL)
Definition: SmartScript.cpp:83
GameObject *const go
Definition: GameObjectAI.h:32
Reimplemented from GameObjectAI.
Definition: SmartScriptMgr.h:166
SmartScript * GetScript()
Definition: SmartAI.h:242
arena_t NULL
Definition: jemalloc_internal.h:624
void ProcessEventsFor(SMART_EVENT e, Unit *unit=NULL, uint32 var0=0, uint32 var1=0, bool bvar=false, const SpellInfo *spell=NULL, GameObject *gob=NULL)
Definition: SmartScript.cpp:83
GameObject *const go
Definition: GameObjectAI.h:32
void SmartGameObjectAI::InitializeAI |
( |
| ) |
|
|
overridevirtual |
Reimplemented from GameObjectAI.
Definition: SmartScriptMgr.h:115
SmartScript * GetScript()
Definition: SmartAI.h:242
void OnInitialize(WorldObject *obj, AreaTriggerEntry const *at=NULL)
Definition: SmartScript.cpp:3555
void ProcessEventsFor(SMART_EVENT e, Unit *unit=NULL, uint32 var0=0, uint32 var1=0, bool bvar=false, const SpellInfo *spell=NULL, GameObject *gob=NULL)
Definition: SmartScript.cpp:83
GameObject *const go
Definition: GameObjectAI.h:32
void SmartGameObjectAI::OnGameEvent |
( |
bool |
start, |
|
|
uint16 |
eventId |
|
) |
| |
|
overridevirtual |
Reimplemented from GameObjectAI.
Definition: SmartScriptMgr.h:173
SmartScript * GetScript()
Definition: SmartAI.h:242
arena_t NULL
Definition: jemalloc_internal.h:624
Definition: SmartScriptMgr.h:172
void ProcessEventsFor(SMART_EVENT e, Unit *unit=NULL, uint32 var0=0, uint32 var1=0, bool bvar=false, const SpellInfo *spell=NULL, GameObject *gob=NULL)
Definition: SmartScript.cpp:83
void SmartGameObjectAI::OnStateChanged |
( |
uint32 |
state, |
|
|
Unit * |
unit |
|
) |
| |
|
overridevirtual |
Reimplemented from GameObjectAI.
Definition: SmartScriptMgr.h:174
SmartScript * GetScript()
Definition: SmartAI.h:242
void ProcessEventsFor(SMART_EVENT e, Unit *unit=NULL, uint32 var0=0, uint32 var1=0, bool bvar=false, const SpellInfo *spell=NULL, GameObject *gob=NULL)
Definition: SmartScript.cpp:83
817 if (g->
GetAIName() ==
"SmartGameObjectAI")
Definition: CreatureAI.h:207
std::string GetAIName() const
Definition: GameObject.cpp:90
Definition: CreatureAI.h:212
Reimplemented from GameObjectAI.
Definition: SmartScriptMgr.h:123
SmartScript * GetScript()
Definition: SmartAI.h:242
arena_t NULL
Definition: jemalloc_internal.h:624
void ProcessEventsFor(SMART_EVENT e, Unit *unit=NULL, uint32 var0=0, uint32 var1=0, bool bvar=false, const SpellInfo *spell=NULL, GameObject *gob=NULL)
Definition: SmartScript.cpp:83
GameObject *const go
Definition: GameObjectAI.h:32
Reimplemented from GameObjectAI.
Definition: SmartScriptMgr.h:124
SmartScript * GetScript()
Definition: SmartAI.h:242
arena_t NULL
Definition: jemalloc_internal.h:624
void ProcessEventsFor(SMART_EVENT e, Unit *unit=NULL, uint32 var0=0, uint32 var1=0, bool bvar=false, const SpellInfo *spell=NULL, GameObject *gob=NULL)
Definition: SmartScript.cpp:83
GameObject *const go
Definition: GameObjectAI.h:32
void SmartGameObjectAI::Reset |
( |
| ) |
|
|
overridevirtual |
Reimplemented from GameObjectAI.
SmartScript * GetScript()
Definition: SmartAI.h:242
void OnReset()
Definition: SmartScript.cpp:66
Reimplemented from GameObjectAI.
SmartScript * GetScript()
Definition: SmartAI.h:242
arena_t NULL
Definition: jemalloc_internal.h:624
Definition: SmartScriptMgr.h:142
void ProcessEventsFor(SMART_EVENT e, Unit *unit=NULL, uint32 var0=0, uint32 var1=0, bool bvar=false, const SpellInfo *spell=NULL, GameObject *gob=NULL)
Definition: SmartScript.cpp:83
const FieldDescriptor value
Definition: descriptor.h:1522
SmartScript * GetScript()
Definition: SmartAI.h:242
ObjectGuid mLastInvoker
Definition: SmartScript.h:236
ObjectGuid const & GetGUID() const
Definition: Object.h:105
void SetScript9(SmartScriptHolder &e, uint32 entry)
Definition: SmartScript.cpp:3702
void SmartGameObjectAI::UpdateAI |
( |
uint32 |
diff | ) |
|
|
overridevirtual |
Reimplemented from GameObjectAI.
void OnUpdate(const uint32 diff)
Definition: SmartScript.cpp:3441
SmartScript * GetScript()
Definition: SmartAI.h:242
The documentation for this class was generated from the following files: