Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_XPInfoDisplay Class Reference
Inheritance diagram for SCR_XPInfoDisplay:

Protected Member Functions

override void DisplayInit (IEntity owner)
override bool DisplayStartDrawInit (IEntity owner)
override void DisplayStartDraw (IEntity owner)
bool EnsurePlayerXPHandlerComp ()
void AddNewWidgets (notnull SCR_XPInfoWidgetData hudXPWidget, int id)
bool RemoveWidgetsById (int widgetDataId)
override void OnSettingsChanged ()
void AllowShowingInfo (bool allow)
void RecolorXPBar ()
void RecolorXPText ()
void HideHUD ()
void ShowXPInfo (int totalXP, SCR_EXPRewards rewardID, int XP, bool volunteer, bool profileUsed, int skillLevel)
void ToggleXPInfo (bool visible)
void UpdateData ()
void ~SCR_XPInfoDisplay ()

Static Protected Member Functions

static ResourceName GetRankIconImageSet ()

Protected Attributes

bool m_bInitDone
bool m_bIsInfoAllowed = true
SCR_XPHandlerComponent m_PlayerXPComponent
SCR_PlayerXPHandlerComponent m_PlayerXPHandlerComp
SCR_FactionManager m_FactionManager
ref map< int, ref SCR_XPInfoWidgetData > m_Widgets = new map<int, ref SCR_XPInfoWidgetData>()
string m_sCurrentRankName
string m_sCurrentRankIcon
string m_sNextRankIcon
SCR_ECharacterRank m_ECurrentRank
SCR_ECharacterRank m_EPrevRank
SCR_EXPRewards m_EReward
string m_sRewardName
bool m_bIsHUDbarActive
int m_iSavedXPIncrease

Static Protected Attributes

static const int XP_INFO_DURATION = 10000
static const ResourceName RANK_ICON_IMAGESET = "{70E828A2F6EBE7D0}UI/Textures/Nametags/nametagicons.imageset"

Detailed Description

Definition at line 1 of file SCR_XPInfoDisplay.c.

Constructor & Destructor Documentation

◆ ~SCR_XPInfoDisplay()

void SCR_XPInfoDisplay::~SCR_XPInfoDisplay ( )
inlineprotected

Definition at line 340 of file SCR_XPInfoDisplay.c.

Member Function Documentation

◆ AddNewWidgets()

void SCR_XPInfoDisplay::AddNewWidgets ( notnull SCR_XPInfoWidgetData hudXPWidget,
int id )
inlineprotected

Definition at line 84 of file SCR_XPInfoDisplay.c.

◆ AllowShowingInfo()

void SCR_XPInfoDisplay::AllowShowingInfo ( bool allow)
inlineprotected

Definition at line 145 of file SCR_XPInfoDisplay.c.

◆ DisplayInit()

override void SCR_XPInfoDisplay::DisplayInit ( IEntity owner)
inlineprotected

Definition at line 31 of file SCR_XPInfoDisplay.c.

◆ DisplayStartDraw()

override void SCR_XPInfoDisplay::DisplayStartDraw ( IEntity owner)
inlineprotected

Definition at line 50 of file SCR_XPInfoDisplay.c.

◆ DisplayStartDrawInit()

override bool SCR_XPInfoDisplay::DisplayStartDrawInit ( IEntity owner)
inlineprotected

Definition at line 44 of file SCR_XPInfoDisplay.c.

◆ EnsurePlayerXPHandlerComp()

bool SCR_XPInfoDisplay::EnsurePlayerXPHandlerComp ( )
inlineprotected

Definition at line 73 of file SCR_XPInfoDisplay.c.

◆ GetRankIconImageSet()

ResourceName SCR_XPInfoDisplay::GetRankIconImageSet ( )
inlinestaticprotected
Returns
Image set containing the rank icons

Definition at line 334 of file SCR_XPInfoDisplay.c.

◆ HideHUD()

void SCR_XPInfoDisplay::HideHUD ( )
inlineprotected

Definition at line 180 of file SCR_XPInfoDisplay.c.

◆ OnSettingsChanged()

override void SCR_XPInfoDisplay::OnSettingsChanged ( )
inlineprotected

Definition at line 132 of file SCR_XPInfoDisplay.c.

◆ RecolorXPBar()

void SCR_XPInfoDisplay::RecolorXPBar ( )
inlineprotected

Definition at line 151 of file SCR_XPInfoDisplay.c.

◆ RecolorXPText()

void SCR_XPInfoDisplay::RecolorXPText ( )
inlineprotected

Definition at line 171 of file SCR_XPInfoDisplay.c.

◆ RemoveWidgetsById()

bool SCR_XPInfoDisplay::RemoveWidgetsById ( int widgetDataId)
inlineprotected

Definition at line 124 of file SCR_XPInfoDisplay.c.

◆ ShowXPInfo()

void SCR_XPInfoDisplay::ShowXPInfo ( int totalXP,
SCR_EXPRewards rewardID,
int XP,
bool volunteer,
bool profileUsed,
int skillLevel )
inlineprotected

Definition at line 187 of file SCR_XPInfoDisplay.c.

◆ ToggleXPInfo()

void SCR_XPInfoDisplay::ToggleXPInfo ( bool visible)
inlineprotected

Definition at line 284 of file SCR_XPInfoDisplay.c.

◆ UpdateData()

void SCR_XPInfoDisplay::UpdateData ( )
inlineprotected

Definition at line 303 of file SCR_XPInfoDisplay.c.

Member Data Documentation

◆ m_bInitDone

bool SCR_XPInfoDisplay::m_bInitDone
protected

Definition at line 6 of file SCR_XPInfoDisplay.c.

◆ m_bIsHUDbarActive

bool SCR_XPInfoDisplay::m_bIsHUDbarActive
protected

Definition at line 27 of file SCR_XPInfoDisplay.c.

◆ m_bIsInfoAllowed

bool SCR_XPInfoDisplay::m_bIsInfoAllowed = true
protected

Definition at line 7 of file SCR_XPInfoDisplay.c.

◆ m_ECurrentRank

SCR_ECharacterRank SCR_XPInfoDisplay::m_ECurrentRank
protected

Definition at line 21 of file SCR_XPInfoDisplay.c.

◆ m_EPrevRank

SCR_ECharacterRank SCR_XPInfoDisplay::m_EPrevRank
protected

Definition at line 22 of file SCR_XPInfoDisplay.c.

◆ m_EReward

SCR_EXPRewards SCR_XPInfoDisplay::m_EReward
protected

Definition at line 24 of file SCR_XPInfoDisplay.c.

◆ m_FactionManager

SCR_FactionManager SCR_XPInfoDisplay::m_FactionManager
protected

Definition at line 12 of file SCR_XPInfoDisplay.c.

◆ m_iSavedXPIncrease

int SCR_XPInfoDisplay::m_iSavedXPIncrease
protected

Definition at line 28 of file SCR_XPInfoDisplay.c.

◆ m_PlayerXPComponent

SCR_XPHandlerComponent SCR_XPInfoDisplay::m_PlayerXPComponent
protected

Definition at line 9 of file SCR_XPInfoDisplay.c.

◆ m_PlayerXPHandlerComp

SCR_PlayerXPHandlerComponent SCR_XPInfoDisplay::m_PlayerXPHandlerComp
protected

Definition at line 10 of file SCR_XPInfoDisplay.c.

◆ m_sCurrentRankIcon

string SCR_XPInfoDisplay::m_sCurrentRankIcon
protected

Definition at line 17 of file SCR_XPInfoDisplay.c.

◆ m_sCurrentRankName

string SCR_XPInfoDisplay::m_sCurrentRankName
protected

Definition at line 16 of file SCR_XPInfoDisplay.c.

◆ m_sNextRankIcon

string SCR_XPInfoDisplay::m_sNextRankIcon
protected

Definition at line 19 of file SCR_XPInfoDisplay.c.

◆ m_sRewardName

string SCR_XPInfoDisplay::m_sRewardName
protected

Definition at line 25 of file SCR_XPInfoDisplay.c.

◆ m_Widgets

ref map<int, ref SCR_XPInfoWidgetData> SCR_XPInfoDisplay::m_Widgets = new map<int, ref SCR_XPInfoWidgetData>()
protected

Definition at line 14 of file SCR_XPInfoDisplay.c.

◆ RANK_ICON_IMAGESET

const ResourceName SCR_XPInfoDisplay::RANK_ICON_IMAGESET = "{70E828A2F6EBE7D0}UI/Textures/Nametags/nametagicons.imageset"
staticprotected

Definition at line 4 of file SCR_XPInfoDisplay.c.

◆ XP_INFO_DURATION

const int SCR_XPInfoDisplay::XP_INFO_DURATION = 10000
staticprotected

Definition at line 3 of file SCR_XPInfoDisplay.c.


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