TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
spell_item_trigger_spell Class Reference

Classes

class  spell_item_trigger_spell_SpellScript
 

Public Member Functions

 spell_item_trigger_spell (const char *name, uint32 triggeredSpellId)
 
SpellScriptGetSpellScript () const override
 
- Public Member Functions inherited from SpellScriptLoader
virtual AuraScriptGetAuraScript () const
 
- Public Member Functions inherited from ScriptObject
const std::string & GetName () const
 

Private Attributes

uint32 _triggeredSpellId
 

Additional Inherited Members

- Protected Member Functions inherited from SpellScriptLoader
 SpellScriptLoader (const char *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name)
 
virtual ~ScriptObject ()
 

Constructor & Destructor Documentation

spell_item_trigger_spell::spell_item_trigger_spell ( const char *  name,
uint32  triggeredSpellId 
)
inline
41 : SpellScriptLoader(name), _triggeredSpellId(triggeredSpellId) { }
uint32 _triggeredSpellId
Definition: spell_item.cpp:38
SpellScriptLoader(const char *name)
Definition: ScriptMgr.cpp:1523

Member Function Documentation

SpellScript* spell_item_trigger_spell::GetSpellScript ( ) const
inlineoverridevirtual

Reimplemented from SpellScriptLoader.

73  {
74  return new spell_item_trigger_spell_SpellScript(_triggeredSpellId);
75  }
uint32 _triggeredSpellId
Definition: spell_item.cpp:38

Member Data Documentation

uint32 spell_item_trigger_spell::_triggeredSpellId
private

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