TrinityCore
Trinity::XP Namespace Reference

Functions

uint8 GetGrayLevel (uint8 pl_level)
 
XPColorChar GetColorCode (uint8 pl_level, uint8 mob_level)
 
uint8 GetZeroDifference (uint8 pl_level)
 
uint32 BaseGain (uint8 pl_level, uint8 mob_level)
 
uint32 Gain (Player *player, Unit *u, bool isBattleGround=false)
 
float xp_in_group_rate (uint32 count, bool isRaid)
 

Function Documentation

◆ BaseGain()

uint32 Trinity::XP::BaseGain ( uint8  pl_level,
uint8  mob_level 
)
inline

Definition at line 139 of file Formulas.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Gain()

uint32 Trinity::XP::Gain ( Player player,
Unit u,
bool  isBattleGround = false 
)
inline

Definition at line 177 of file Formulas.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetColorCode()

XPColorChar Trinity::XP::GetColorCode ( uint8  pl_level,
uint8  mob_level 
)
inline

Definition at line 87 of file Formulas.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetGrayLevel()

uint8 Trinity::XP::GetGrayLevel ( uint8  pl_level)
inline

Definition at line 66 of file Formulas.h.

+ Here is the caller graph for this function:

◆ GetZeroDifference()

uint8 Trinity::XP::GetZeroDifference ( uint8  pl_level)
inline

Definition at line 106 of file Formulas.h.

+ Here is the caller graph for this function:

◆ xp_in_group_rate()

float Trinity::XP::xp_in_group_rate ( uint32  count,
bool  isRaid 
)
inline

Definition at line 217 of file Formulas.h.

+ Here is the caller graph for this function: