Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
GenericGameObjectScript< AI > Class Template Reference

#include <ScriptMgr.h>

Inheritance diagram for GenericGameObjectScript< AI >:
Collaboration diagram for GenericGameObjectScript< AI >:

Public Member Functions

 GenericGameObjectScript (char const *name)
GameObjectAIGetAI (GameObject *go) const override
Public Member Functions inherited from GameObjectScript
virtual uint32 GetDialogStatus (Player *, GameObject *)
bool IsDatabaseBound () const FINAL
virtual void OnDamaged (GameObject *, Player *)
virtual void OnDestroyed (GameObject *, Player *)
virtual bool OnDummyEffect (Unit *, uint32, SpellEffIndex, GameObject *)
virtual void OnGameObjectStateChanged (GameObject *, uint32)
virtual bool OnGossipHello (Player *, GameObject *)
virtual bool OnGossipSelect (Player *, GameObject *, uint32, uint32)
virtual bool OnGossipSelectCode (Player *, GameObject *, uint32, uint32, const char *)
virtual void OnLootStateChanged (GameObject *, uint32, Unit *)
virtual bool OnQuestAccept (Player *, GameObject *, Quest const *)
virtual bool OnQuestReward (Player *, GameObject *, Quest const *, uint32)
Public Member Functions inherited from ScriptObject
const std::string & GetName () const
Public Member Functions inherited from UpdatableScript< GameObject >
virtual void OnUpdate (GameObject *, uint32)

Additional Inherited Members

Protected Member Functions inherited from GameObjectScript
 GameObjectScript (const char *name)
Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name)
virtual ~ScriptObject ()
Protected Member Functions inherited from UpdatableScript< GameObject >
 UpdatableScript ()
virtual ~UpdatableScript ()

Detailed Description

template<class AI>
class GenericGameObjectScript< AI >

Definition at line 1031 of file ScriptMgr.h.

Constructor & Destructor Documentation

◆ GenericGameObjectScript()

template<class AI>
GenericGameObjectScript< AI >::GenericGameObjectScript ( char const * name)
inline

Definition at line 1034 of file ScriptMgr.h.

References GameObjectScript::GameObjectScript().

Member Function Documentation

◆ GetAI()

template<class AI>
GameObjectAI * GenericGameObjectScript< AI >::GetAI ( GameObject * go) const
inlineoverridevirtual

Reimplemented from GameObjectScript.

Definition at line 1035 of file ScriptMgr.h.


The documentation for this class was generated from the following file: