changed name convention
This commit is contained in:
parent
bf2dc38f35
commit
c17f77cf2a
@ -306,7 +306,7 @@ int cPlayer::XpAtLevel(int a_Level)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
int cPlayer::GetExperienceLevel()
|
int cPlayer::XpGetLevel()
|
||||||
{
|
{
|
||||||
return CalcLevelFromXp(m_XpTotal);
|
return CalcLevelFromXp(m_XpTotal);
|
||||||
}
|
}
|
||||||
@ -315,7 +315,7 @@ int cPlayer::GetExperienceLevel()
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
float cPlayer::GetExperiencePercentage()
|
float cPlayer::XpGetPercentage()
|
||||||
{
|
{
|
||||||
int currentLevel = CalcLevelFromXp(m_XpTotal);
|
int currentLevel = CalcLevelFromXp(m_XpTotal);
|
||||||
|
|
||||||
|
@ -76,13 +76,13 @@ public:
|
|||||||
int AddExperience(int a_Xp_delta);
|
int AddExperience(int a_Xp_delta);
|
||||||
|
|
||||||
/// Gets the experience total - XpTotal
|
/// Gets the experience total - XpTotal
|
||||||
inline int GetExperienceTotal(void) { return m_XpTotal; }
|
inline int XpGetTotal(void) { return m_XpTotal; }
|
||||||
|
|
||||||
/// Gets the current level - XpLevel
|
/// Gets the current level - XpLevel
|
||||||
int GetExperienceLevel(void);
|
int XpGetLevel(void);
|
||||||
|
|
||||||
/// Gets the experience bar percentage - XpP
|
/// Gets the experience bar percentage - XpP
|
||||||
float GetExperiencePercentage(void);
|
float XpGetPercentage(void);
|
||||||
|
|
||||||
/// Starts charging the equipped bow
|
/// Starts charging the equipped bow
|
||||||
void StartChargingBow(void);
|
void StartChargingBow(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user