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

#include <ScriptMgr.h>

Public Member Functions

virtual void OnHeal (Unit *, Unit *, uint32 &)
 
virtual void OnDamage (Unit *, Unit *, uint32 &)
 
virtual void ModifyPeriodicDamageAurasTick (Unit *, Unit *, uint32 &)
 
virtual void ModifyMeleeDamage (Unit *, Unit *, uint32 &)
 
virtual void ModifySpellDamageTaken (Unit *, Unit *, int32 &)
 
- Public Member Functions inherited from ScriptObject
const std::string & GetName () const
 

Protected Member Functions

 UnitScript (const char *name, bool addToScripts=true)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name)
 
virtual ~ScriptObject ()
 

Constructor & Destructor Documentation

UnitScript::UnitScript ( const char *  name,
bool  addToScripts = true 
)
protected
1548  : ScriptObject(name)
1549 {
1550  ScriptRegistry<UnitScript>::AddScript(this, addToScripts);
1551 }
static void AddScript(TScript *const script, bool addToDeleteContainer=true)
Definition: ScriptMgr.cpp:111
ScriptObject(const char *name)
Definition: ScriptMgr.h:159

+ Here is the call graph for this function:

Member Function Documentation

virtual void UnitScript::ModifyMeleeDamage ( Unit ,
Unit ,
uint32  
)
inlinevirtual
400 { }
virtual void UnitScript::ModifyPeriodicDamageAurasTick ( Unit ,
Unit ,
uint32  
)
inlinevirtual
397 { }
virtual void UnitScript::ModifySpellDamageTaken ( Unit ,
Unit ,
int32  
)
inlinevirtual
403 { }
virtual void UnitScript::OnDamage ( Unit ,
Unit ,
uint32  
)
inlinevirtual
394 { }
virtual void UnitScript::OnHeal ( Unit ,
Unit ,
uint32  
)
inlinevirtual
391 { }

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