Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_XPInfoDisplay.c File Reference

Go to the source code of this file.

Classes

class  SCR_XPInfoDisplay

Enumerations

enum  SCR_EXPInfoWidget { HUD , INVENTORY }

Functions

void InitWidgets (notnull Widget root)
void RecolorXPBar (int color)
void RecolorXPText ()
void UpdateXPTexts (bool toggled, bool volunteer, int XP, int totalXP, bool notify, SCR_EXPRewards rewardID, notnull SCR_RankContainer ranks, SCR_ECharacterRank currentRank, string rankIconName, string rankText, string nextRankIconName, string rewardName)
void UpdateInventoryBarColor (SCR_ECharacterRank currentRank, int XP, notnull SCR_RankContainer ranks)
void UpdateXPProgressBar (SCR_ECharacterRank curRank, SCR_ECharacterRank prevRank, int XP, int totalXP, bool notify, notnull SCR_RankContainer ranks)

Variables

enum SCR_EXPInfoWidget STRING_REWARD_VOLUNTEER = "#AR-Campaign_RewardBonus_Volunteer"
TextWidget m_wTitle
TextWidget m_wRank
TextWidget m_wRankNoIcon
TextWidget m_wSkill
ImageWidget m_wRankIcon
ImageWidget m_wNextRankIcon
ImageWidget m_wNextRankArrowIcon
ProgressBarWidget m_wProgress
ProgressBarWidget m_wProgressDiff

Enumeration Type Documentation

◆ SCR_EXPInfoWidget

Enumerator
HUD 
INVENTORY 

Definition at line 348 of file SCR_XPInfoDisplay.c.

Function Documentation

◆ InitWidgets()

void InitWidgets ( notnull Widget root)
protected

Definition at line 368 of file SCR_XPInfoDisplay.c.

◆ RecolorXPBar()

void RecolorXPBar ( int color)
protected

Definition at line 384 of file SCR_XPInfoDisplay.c.

◆ RecolorXPText()

void RecolorXPText ( )
protected

Definition at line 390 of file SCR_XPInfoDisplay.c.

◆ UpdateInventoryBarColor()

void UpdateInventoryBarColor ( SCR_ECharacterRank currentRank,
int XP,
notnull SCR_RankContainer ranks )
protected

Definition at line 468 of file SCR_XPInfoDisplay.c.

◆ UpdateXPProgressBar()

void UpdateXPProgressBar ( SCR_ECharacterRank curRank,
SCR_ECharacterRank prevRank,
int XP,
int totalXP,
bool notify,
notnull SCR_RankContainer ranks )
protected

Definition at line 484 of file SCR_XPInfoDisplay.c.

◆ UpdateXPTexts()

void UpdateXPTexts ( bool toggled,
bool volunteer,
int XP,
int totalXP,
bool notify,
SCR_EXPRewards rewardID,
notnull SCR_RankContainer ranks,
SCR_ECharacterRank currentRank,
string rankIconName,
string rankText,
string nextRankIconName,
string rewardName )
protected

Definition at line 396 of file SCR_XPInfoDisplay.c.

Variable Documentation

◆ m_wNextRankArrowIcon

ImageWidget m_wNextRankArrowIcon
protected

Definition at line 364 of file SCR_XPInfoDisplay.c.

◆ m_wNextRankIcon

ImageWidget m_wNextRankIcon
protected

Definition at line 363 of file SCR_XPInfoDisplay.c.

◆ m_wProgress

ProgressBarWidget m_wProgress
protected

Definition at line 365 of file SCR_XPInfoDisplay.c.

◆ m_wProgressDiff

ProgressBarWidget m_wProgressDiff
protected

Definition at line 366 of file SCR_XPInfoDisplay.c.

◆ m_wRank

TextWidget m_wRank
protected

Definition at line 359 of file SCR_XPInfoDisplay.c.

◆ m_wRankIcon

ImageWidget m_wRankIcon
protected

Definition at line 362 of file SCR_XPInfoDisplay.c.

◆ m_wRankNoIcon

TextWidget m_wRankNoIcon
protected

Definition at line 360 of file SCR_XPInfoDisplay.c.

◆ m_wSkill

TextWidget m_wSkill
protected

Definition at line 361 of file SCR_XPInfoDisplay.c.

◆ m_wTitle

TextWidget m_wTitle
protected

Definition at line 358 of file SCR_XPInfoDisplay.c.

◆ STRING_REWARD_VOLUNTEER

enum SCR_EXPInfoWidget STRING_REWARD_VOLUNTEER = "#AR-Campaign_RewardBonus_Volunteer"