Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
spell_generic_quest_update_entry_SpellScript Class Reference
Inheritance diagram for spell_generic_quest_update_entry_SpellScript:
Collaboration diagram for spell_generic_quest_update_entry_SpellScript:

Public Member Functions

void HandleDummy (SpellEffIndex)
void Register () OVERRIDE
 spell_generic_quest_update_entry_SpellScript (uint16 spellEffect, uint8 effIndex, uint32 originalEntry, uint32 newEntry, bool shouldAttack, uint32 despawnTime=0)
Public Member Functions inherited from SpellScript
void _FinishScriptCall ()
void _InitHit ()
bool _IsDefaultEffectPrevented (SpellEffIndex effIndex) const
bool _IsEffectPrevented (SpellEffIndex effIndex) const
bool _Load (Spell *spell)
void _PrepareScriptCall (SpellScriptHookType hookType)
bool _Validate (SpellInfo const *entry)
void CreateItem (uint32 effIndex, uint32 itemId)
void FinishCast (SpellCastResult result)
UnitGetCaster ()
ItemGetCastItem ()
int32 GetEffectValue ()
WorldLocation const * GetExplTargetDest ()
GameObjectGetExplTargetGObj ()
ItemGetExplTargetItem ()
UnitGetExplTargetUnit ()
WorldObjectGetExplTargetWorldObject ()
AuraGetHitAura ()
CreatureGetHitCreature ()
int32 GetHitDamage ()
WorldLocationGetHitDest ()
GameObjectGetHitGObj ()
int32 GetHitHeal ()
ItemGetHitItem ()
PlayerGetHitPlayer ()
UnitGetHitUnit ()
UnitGetOriginalCaster ()
SpellGetSpell ()
SpellInfo const * GetSpellInfo ()
SpellValue const * GetSpellValue ()
SpellInfo const * GetTriggeringSpell ()
bool IsInCheckCastHook () const
bool IsInEffectHook () const
bool IsInHitPhase () const
bool IsInTargetHook () const
void PreventHitAura ()
void PreventHitDamage ()
void PreventHitDefaultEffect (SpellEffIndex effIndex)
void PreventHitEffect (SpellEffIndex effIndex)
void PreventHitHeal ()
void SetCustomCastResultMessage (SpellCustomErrors result)
void SetExplTargetDest (WorldLocation &loc)
void SetHitDamage (int32 damage)
void SetHitHeal (int32 heal)
Public Member Functions inherited from _SpellScript
std::string const * _GetScriptName () const
virtual void _Init (std::string const *scriptname, uint32 spellId)
virtual void _Register ()
 _SpellScript ()
virtual void _Unload ()
virtual bool Load ()
virtual void Unload ()
virtual bool Validate (SpellInfo const *)
virtual ~_SpellScript ()

Private Member Functions

 PrepareSpellScript (spell_generic_quest_update_entry_SpellScript)

Private Attributes

uint32 _despawnTime
uint8 _effIndex
uint32 _newEntry
uint32 _originalEntry
bool _shouldAttack
uint16 _spellEffect

Additional Inherited Members

Public Attributes inherited from SpellScript
HookList< CastHandlerAfterCast
HookList< HitHandlerAfterHit
HookList< CastHandlerBeforeCast
HookList< HitHandlerBeforeHit
HookList< CastHandlerOnCast
HookList< CheckCastHandlerOnCheckCast
HookList< EffectHandlerOnEffectHit
HookList< EffectHandlerOnEffectHitTarget
HookList< EffectHandlerOnEffectLaunch
HookList< EffectHandlerOnEffectLaunchTarget
HookList< HitHandlerOnHit
HookList< ObjectAreaTargetSelectHandlerOnObjectAreaTargetSelect
HookList< ObjectTargetSelectHandlerOnObjectTargetSelect
Protected Attributes inherited from _SpellScript
uint8 m_currentScriptState
std::string const * m_scriptName
uint32 m_scriptSpellId

Detailed Description

Definition at line 22 of file spell_quest.cpp.

Constructor & Destructor Documentation

◆ spell_generic_quest_update_entry_SpellScript()

spell_generic_quest_update_entry_SpellScript::spell_generic_quest_update_entry_SpellScript ( uint16 spellEffect,
uint8 effIndex,
uint32 originalEntry,
uint32 newEntry,
bool shouldAttack,
uint32 despawnTime = 0 )
inline

Definition at line 34 of file spell_quest.cpp.

References _despawnTime, _effIndex, _newEntry, _originalEntry, _shouldAttack, and _spellEffect.

Referenced by PrepareSpellScript().

Member Function Documentation

◆ HandleDummy()

void spell_generic_quest_update_entry_SpellScript::HandleDummy ( SpellEffIndex )
inline

◆ PrepareSpellScript()

spell_generic_quest_update_entry_SpellScript::PrepareSpellScript ( spell_generic_quest_update_entry_SpellScript )
private

◆ Register()

void spell_generic_quest_update_entry_SpellScript::Register ( )
inlinevirtual

Member Data Documentation

◆ _despawnTime

uint32 spell_generic_quest_update_entry_SpellScript::_despawnTime
private

Definition at line 31 of file spell_quest.cpp.

Referenced by HandleDummy(), and spell_generic_quest_update_entry_SpellScript().

◆ _effIndex

uint8 spell_generic_quest_update_entry_SpellScript::_effIndex
private

Definition at line 27 of file spell_quest.cpp.

Referenced by Register(), and spell_generic_quest_update_entry_SpellScript().

◆ _newEntry

uint32 spell_generic_quest_update_entry_SpellScript::_newEntry
private

Definition at line 29 of file spell_quest.cpp.

Referenced by HandleDummy(), and spell_generic_quest_update_entry_SpellScript().

◆ _originalEntry

uint32 spell_generic_quest_update_entry_SpellScript::_originalEntry
private

Definition at line 28 of file spell_quest.cpp.

Referenced by HandleDummy(), and spell_generic_quest_update_entry_SpellScript().

◆ _shouldAttack

bool spell_generic_quest_update_entry_SpellScript::_shouldAttack
private

Definition at line 30 of file spell_quest.cpp.

Referenced by HandleDummy(), and spell_generic_quest_update_entry_SpellScript().

◆ _spellEffect

uint16 spell_generic_quest_update_entry_SpellScript::_spellEffect
private

Definition at line 26 of file spell_quest.cpp.

Referenced by Register(), and spell_generic_quest_update_entry_SpellScript().


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