AzeorthCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
FormulaScript Class Reference

#include "ScriptMgr.h"

Inheritance diagram for FormulaScript:
ScriptObject

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, ContentLevels)
 
virtual void OnGainCalculation (uint32 &, Player *, Unit *)
 
virtual void OnGroupRateCalculation (float &, uint32, bool)
 
virtual void OnAfterArenaRatingCalculation (Battleground *const, int32 &, int32 &, int32 &, int32 &)
 
virtual void OnBeforeUpdatingPersonalRating (int32 &, uint32)
 
- Public Member Functions inherited from ScriptObject
virtual bool IsDatabaseBound () const
 
virtual bool isAfterLoadScript () const
 
virtual void checkValidity ()
 
const std::string & GetName () const
 

Protected Member Functions

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

Detailed Description

Constructor & Destructor Documentation

◆ FormulaScript()

FormulaScript::FormulaScript ( const char *  name)
protected
336 : ScriptObject(name)
337{
339}
Definition: ScriptMgr.h:107
static void AddScript(TScript *const script)
Definition: ScriptMgr.h:2708

References ScriptRegistry< TScript >::AddScript().

Member Function Documentation

◆ OnAfterArenaRatingCalculation()

virtual void FormulaScript::OnAfterArenaRatingCalculation ( Battleground * const  ,
int32 ,
int32 ,
int32 ,
int32  
)
inlinevirtual

◆ OnBaseGainCalculation()

virtual void FormulaScript::OnBaseGainCalculation ( uint32 ,
uint8  ,
uint8  ,
ContentLevels   
)
inlinevirtual
267{ }

Referenced by ScriptMgr::OnBaseGainCalculation().

◆ OnBeforeUpdatingPersonalRating()

virtual void FormulaScript::OnBeforeUpdatingPersonalRating ( int32 ,
uint32   
)
inlinevirtual

◆ OnColorCodeCalculation()

virtual void FormulaScript::OnColorCodeCalculation ( XPColorChar ,
uint8  ,
uint8   
)
inlinevirtual
261{ }

Referenced by ScriptMgr::OnColorCodeCalculation().

◆ OnGainCalculation()

virtual void FormulaScript::OnGainCalculation ( uint32 ,
Player ,
Unit  
)
inlinevirtual
270{ }

Referenced by ScriptMgr::OnGainCalculation().

◆ OnGrayLevelCalculation()

virtual void FormulaScript::OnGrayLevelCalculation ( uint8 ,
uint8   
)
inlinevirtual
258{ }

Referenced by ScriptMgr::OnGrayLevelCalculation().

◆ OnGroupRateCalculation()

virtual void FormulaScript::OnGroupRateCalculation ( float &  ,
uint32  ,
bool   
)
inlinevirtual
273{ }

Referenced by ScriptMgr::OnGroupRateCalculation().

◆ OnHonorCalculation()

virtual void FormulaScript::OnHonorCalculation ( float &  ,
uint8  ,
float   
)
inlinevirtual
255{ }

Referenced by ScriptMgr::OnHonorCalculation().

◆ OnZeroDifferenceCalculation()

virtual void FormulaScript::OnZeroDifferenceCalculation ( uint8 ,
uint8   
)
inlinevirtual