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

#include <icecrown_citadel.h>

Classes

class  spell_trigger_spell_from_caster_SpellScript
 

Public Member Functions

 spell_trigger_spell_from_caster (char const *scriptName, uint32 triggerId, TriggerCastFlags triggerFlags=TRIGGERED_FULL_MASK)
 
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 _triggerId
 
TriggerCastFlags _triggerFlags
 

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_trigger_spell_from_caster::spell_trigger_spell_from_caster ( char const scriptName,
uint32  triggerId,
TriggerCastFlags  triggerFlags = TRIGGERED_FULL_MASK 
)
inline
531  : SpellScriptLoader(scriptName), _triggerId(triggerId), _triggerFlags(triggerFlags) { }
TriggerCastFlags _triggerFlags
Definition: icecrown_citadel.h:569
uint32 _triggerId
Definition: icecrown_citadel.h:568
SpellScriptLoader(const char *name)
Definition: ScriptMgr.cpp:1523

Member Function Documentation

SpellScript* spell_trigger_spell_from_caster::GetSpellScript ( ) const
inlineoverridevirtual

Reimplemented from SpellScriptLoader.

563  {
564  return new spell_trigger_spell_from_caster_SpellScript(_triggerId, _triggerFlags);
565  }
TriggerCastFlags _triggerFlags
Definition: icecrown_citadel.h:569
uint32 _triggerId
Definition: icecrown_citadel.h:568

Member Data Documentation

TriggerCastFlags spell_trigger_spell_from_caster::_triggerFlags
private
uint32 spell_trigger_spell_from_caster::_triggerId
private

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