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

#include <ScriptMgr.h>

Public Member Functions

virtual void OnHonorCalculation (float &, uint8, float)
 
virtual void OnGrayLevelCalculation (uint8 &, uint8)
 
virtual void OnColorCodeCalculation (XPColorChar &, uint8, uint8)
 
virtual void OnZeroDifferenceCalculation (uint8 &, uint8)
 
virtual void OnBaseGainCalculation (uint32 &, uint8, uint8)
 
virtual void OnGainCalculation (uint32 &, Player *, Unit *)
 
virtual void OnGroupRateCalculation (float &, uint32, bool)
 
- Public Member Functions inherited from ScriptObject
const std::string & GetName () const
 

Protected Member Functions

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

Constructor & Destructor Documentation

FormulaScript::FormulaScript ( const char *  name)
protected
1542  : ScriptObject(name)
1543 {
1545 }
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 FormulaScript::OnBaseGainCalculation ( uint32 ,
uint8  ,
uint8   
)
inlinevirtual
287 { }
virtual void FormulaScript::OnColorCodeCalculation ( XPColorChar ,
uint8  ,
uint8   
)
inlinevirtual
281 { }
virtual void FormulaScript::OnGainCalculation ( uint32 ,
Player ,
Unit  
)
inlinevirtual
290 { }
virtual void FormulaScript::OnGrayLevelCalculation ( uint8 ,
uint8   
)
inlinevirtual
278 { }
virtual void FormulaScript::OnGroupRateCalculation ( float &  ,
uint32  ,
bool   
)
inlinevirtual
293 { }
virtual void FormulaScript::OnHonorCalculation ( float &  ,
uint8  ,
float   
)
inlinevirtual
275 { }
virtual void FormulaScript::OnZeroDifferenceCalculation ( uint8 ,
uint8   
)
inlinevirtual
284 { }

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