#include "AllGameObjectScript.h"
|
virtual void | OnGameObjectAddWorld (GameObject *) |
| This hook runs after add game object in world. More...
|
|
virtual void | OnGameObjectSaveToDB (GameObject *) |
| This hook runs after the game object iis saved to the database. More...
|
|
virtual void | OnGameObjectRemoveWorld (GameObject *) |
| This hook runs after remove game object in world. More...
|
|
virtual void | OnGameObjectUpdate (GameObject *, uint32) |
| This hook runs after remove game object in world. More...
|
|
virtual bool | CanGameObjectGossipHello (Player *, GameObject *) |
|
virtual bool | CanGameObjectGossipSelect (Player *, GameObject *, uint32, uint32) |
|
virtual bool | CanGameObjectGossipSelectCode (Player *, GameObject *, uint32, uint32, const char *) |
|
virtual bool | CanGameObjectQuestAccept (Player *, GameObject *, Quest const *) |
|
virtual bool | CanGameObjectQuestReward (Player *, GameObject *, Quest const *, uint32) |
|
virtual void | OnGameObjectDestroyed (GameObject *, Player *) |
|
virtual void | OnGameObjectDamaged (GameObject *, Player *) |
|
virtual void | OnGameObjectModifyHealth (GameObject *, Unit *, int32 &, SpellInfo const *) |
|
virtual void | OnGameObjectLootStateChanged (GameObject *, uint32, Unit *) |
|
virtual void | OnGameObjectStateChanged (GameObject *, uint32) |
|
virtual GameObjectAI * | GetGameObjectAI (GameObject *) const |
|
virtual bool | IsDatabaseBound () const |
|
virtual bool | isAfterLoadScript () const |
|
virtual void | checkValidity () |
|
const std::string & | GetName () const |
|
uint16 | GetTotalAvailableHooks () |
|
◆ AllGameObjectScript()
AllGameObjectScript::AllGameObjectScript |
( |
const char * |
name | ) |
|
|
protected |
52 :
54{
56}
static void AddScript(TScript *const script, std::vector< uint16 > enabledHooks={})
Definition: ScriptMgr.h:738
Definition: ScriptObject.h:43
References ScriptRegistry< TScript >::AddScript().
◆ CanGameObjectGossipHello()
virtual bool AllGameObjectScript::CanGameObjectGossipHello |
( |
Player * |
, |
|
|
GameObject * |
|
|
) |
| |
|
inlinevirtual |
◆ CanGameObjectGossipSelect()
◆ CanGameObjectGossipSelectCode()
◆ CanGameObjectQuestAccept()
◆ CanGameObjectQuestReward()
◆ GetGameObjectAI()
◆ OnGameObjectAddWorld()
virtual void AllGameObjectScript::OnGameObjectAddWorld |
( |
GameObject * |
| ) |
|
|
inlinevirtual |
◆ OnGameObjectDamaged()
virtual void AllGameObjectScript::OnGameObjectDamaged |
( |
GameObject * |
, |
|
|
Player * |
|
|
) |
| |
|
inlinevirtual |
◆ OnGameObjectDestroyed()
virtual void AllGameObjectScript::OnGameObjectDestroyed |
( |
GameObject * |
, |
|
|
Player * |
|
|
) |
| |
|
inlinevirtual |
◆ OnGameObjectLootStateChanged()
◆ OnGameObjectModifyHealth()
◆ OnGameObjectRemoveWorld()
virtual void AllGameObjectScript::OnGameObjectRemoveWorld |
( |
GameObject * |
| ) |
|
|
inlinevirtual |
◆ OnGameObjectSaveToDB()
virtual void AllGameObjectScript::OnGameObjectSaveToDB |
( |
GameObject * |
| ) |
|
|
inlinevirtual |
◆ OnGameObjectStateChanged()
virtual void AllGameObjectScript::OnGameObjectStateChanged |
( |
GameObject * |
, |
|
|
uint32 |
|
|
) |
| |
|
inlinevirtual |
◆ OnGameObjectUpdate()