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

Protected Member Functions

void SetVisuals (EDamageType damageType)
void SetVisuals (SCR_DamageStateUIInfo uiInfo, int iconIndex=-1)
void SetSize (float size)
SCR_DamageStateUIInfo GetUiInfo ()
override void HandlerAttached (Widget w)

Protected Attributes

ref SCR_DamageStateConfig m_DamageStateConfig
bool m_bAutoSetVisuals
EDamageType m_eDamageType
string m_sIconName
string m_sOutlineName
string m_sBackgroundName
SCR_DamageStateUIInfo m_UiInfo
Widget m_wRoot

Detailed Description

Definition at line 1 of file SCR_DamageStateUIComponent.c.

Member Function Documentation

◆ GetUiInfo()

SCR_DamageStateUIInfo SCR_DamageStateUIComponent::GetUiInfo ( )
inlineprotected

Get set UI info to obtain all releative visual information and strings

Returns
UiInfo that is set.

Definition at line 106 of file SCR_DamageStateUIComponent.c.

◆ HandlerAttached()

override void SCR_DamageStateUIComponent::HandlerAttached ( Widget w)
inlineprotected

Definition at line 111 of file SCR_DamageStateUIComponent.c.

◆ SetSize()

void SCR_DamageStateUIComponent::SetSize ( float size)
inlineprotected

Set size of images

Parameters
sizeSize of images

Definition at line 88 of file SCR_DamageStateUIComponent.c.

◆ SetVisuals() [1/2]

void SCR_DamageStateUIComponent::SetVisuals ( EDamageType damageType)
inlineprotected

Set visuals using EDamageType

Parameters
damageTypeDamage type of the visual that needs to be obtained

Definition at line 29 of file SCR_DamageStateUIComponent.c.

◆ SetVisuals() [2/2]

void SCR_DamageStateUIComponent::SetVisuals ( SCR_DamageStateUIInfo uiInfo,
int iconIndex = -1 )
inlineprotected

Set visuals using SCR_DamageStateUIInfo

Parameters
uiInfoVisuals to set

Definition at line 43 of file SCR_DamageStateUIComponent.c.

Member Data Documentation

◆ m_bAutoSetVisuals

bool SCR_DamageStateUIComponent::m_bAutoSetVisuals
protected

Definition at line 7 of file SCR_DamageStateUIComponent.c.

◆ m_DamageStateConfig

ref SCR_DamageStateConfig SCR_DamageStateUIComponent::m_DamageStateConfig
protected

Definition at line 4 of file SCR_DamageStateUIComponent.c.

◆ m_eDamageType

EDamageType SCR_DamageStateUIComponent::m_eDamageType
protected

Definition at line 10 of file SCR_DamageStateUIComponent.c.

◆ m_sBackgroundName

string SCR_DamageStateUIComponent::m_sBackgroundName
protected

Definition at line 19 of file SCR_DamageStateUIComponent.c.

◆ m_sIconName

string SCR_DamageStateUIComponent::m_sIconName
protected

Definition at line 13 of file SCR_DamageStateUIComponent.c.

◆ m_sOutlineName

string SCR_DamageStateUIComponent::m_sOutlineName
protected

Definition at line 16 of file SCR_DamageStateUIComponent.c.

◆ m_UiInfo

SCR_DamageStateUIInfo SCR_DamageStateUIComponent::m_UiInfo
protected

Definition at line 21 of file SCR_DamageStateUIComponent.c.

◆ m_wRoot

Widget SCR_DamageStateUIComponent::m_wRoot
protected

Definition at line 23 of file SCR_DamageStateUIComponent.c.


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