#include "AllItemScript.h"
|
virtual bool | CanItemQuestAccept (Player *, Item *, Quest const *) |
|
virtual bool | CanItemUse (Player *, Item *, SpellCastTargets const &) |
|
virtual bool | CanItemRemove (Player *, Item *) |
|
virtual bool | CanItemExpire (Player *, ItemTemplate const *) |
|
virtual void | OnItemGossipSelect (Player *, Item *, uint32, uint32) |
|
virtual void | OnItemGossipSelectCode (Player *, Item *, uint32, uint32, const char *) |
|
virtual bool | IsDatabaseBound () const |
|
virtual bool | isAfterLoadScript () const |
|
virtual void | checkValidity () |
|
const std::string & | GetName () const |
|
uint16 | GetTotalAvailableHooks () |
|
◆ AllItemScript()
AllItemScript::AllItemScript |
( |
const char * |
name | ) |
|
|
protected |
145 :
147{
149}
static void AddScript(TScript *const script, std::vector< uint16 > enabledHooks={})
Definition: ScriptMgr.h:738
Definition: ScriptObject.h:43
References ScriptRegistry< TScript >::AddScript().
◆ CanItemExpire()
◆ CanItemQuestAccept()
virtual bool AllItemScript::CanItemQuestAccept |
( |
Player * |
, |
|
|
Item * |
, |
|
|
Quest const * |
|
|
) |
| |
|
inlinevirtual |
◆ CanItemRemove()
virtual bool AllItemScript::CanItemRemove |
( |
Player * |
, |
|
|
Item * |
|
|
) |
| |
|
inlinevirtual |
◆ CanItemUse()
◆ OnItemGossipSelect()
◆ OnItemGossipSelectCode()