AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "ItemScript.h"
Public Member Functions | |
bool | IsDatabaseBound () const override |
virtual bool | OnQuestAccept (Player *, Item *, Quest const *) |
virtual bool | OnUse (Player *, Item *, SpellCastTargets const &) |
virtual bool | OnRemove (Player *, Item *) |
virtual bool | OnCastItemCombatSpell (Player *, Unit *, SpellInfo const *, Item *) |
virtual bool | OnExpire (Player *, ItemTemplate const *) |
virtual void | OnGossipSelect (Player *, Item *, uint32, uint32) |
virtual void | OnGossipSelectCode (Player *, Item *, uint32, uint32, const char *) |
Public Member Functions inherited from ScriptObject | |
virtual bool | IsDatabaseBound () const |
virtual bool | isAfterLoadScript () const |
virtual void | checkValidity () |
const std::string & | GetName () const |
uint16 | GetTotalAvailableHooks () |
Protected Member Functions | |
ItemScript (const char *name) | |
Protected Member Functions inherited from ScriptObject | |
ScriptObject (const char *name, uint16 totalAvailableHooks=0) | |
virtual | ~ScriptObject ()=default |
|
protected |
References ScriptRegistry< TScript >::AddScript().
|
inlineoverridevirtual |
Reimplemented from ScriptObject.
|
inlinevirtual |
Reimplemented in item_generic_limit_chance_above_60.
|
inlinevirtual |
Reimplemented in item_mysterious_egg, and item_disgusting_jar.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in item_petrov_cluster_bombs, item_only_for_flight, item_incendiary_explosives, and item_captured_frog.