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

Protected Member Functions

Color GetColor ()
Color GetBackgroundColor ()
Color GetOutlineColor ()
Color GetBackgroundColorRegen ()
Color GetOutlineColorRegen ()
ResourceName GetOutlineImage ()
ResourceName GetBackgroundImage ()
string GetOutlineQuadName ()
string GetBackgroundQuadName ()
bool SetImageTo (ImageWidget imageWidget, ResourceName imageRes, string quadName=string.Empty)
bool SetIconTo (ImageWidget imageWidget, int iconIndex)
string GetIconSetName (int iconIndex)

Protected Attributes

ref Color m_Color
ref Color m_BackgroundColor
ref Color m_OutlineColor
ref Color m_BackgroundColorRegen
ref Color m_OutlineColorRegen
ResourceName m_sOutlineImage
string m_sOutlineQuadName
ResourceName m_sBackgroundImage
string m_sBackgroundQuadName
ref array< stringm_aIconNames

Detailed Description

Definition at line 2 of file SCR_DamageStateUIInfo.c.

Member Function Documentation

◆ GetBackgroundColor()

Color SCR_DamageStateUIInfo::GetBackgroundColor ( )
inlineprotected

Get color of background

Returns
background colour

Definition at line 45 of file SCR_DamageStateUIInfo.c.

◆ GetBackgroundColorRegen()

Color SCR_DamageStateUIInfo::GetBackgroundColorRegen ( )
inlineprotected

Get regeneration color of background

Returns
background's regeneration colour

Definition at line 61 of file SCR_DamageStateUIInfo.c.

◆ GetBackgroundImage()

ResourceName SCR_DamageStateUIInfo::GetBackgroundImage ( )
inlineprotected

Get ResourceName of outline image

Returns
Outline image

Definition at line 85 of file SCR_DamageStateUIInfo.c.

◆ GetBackgroundQuadName()

string SCR_DamageStateUIInfo::GetBackgroundQuadName ( )
inlineprotected

Get name of background image quad (if is from imageset)

Returns
Background image quad name

Definition at line 101 of file SCR_DamageStateUIInfo.c.

◆ GetColor()

Color SCR_DamageStateUIInfo::GetColor ( )
inlineprotected

Get color of Icon and Outline

Returns
icon/outline colour

Definition at line 37 of file SCR_DamageStateUIInfo.c.

◆ GetIconSetName()

string SCR_DamageStateUIInfo::GetIconSetName ( int iconIndex)
inlineprotected

GetIconSetName() overload specified by an array index

Parameters
iconIndexIndex of an icon from m_aIconNames array
Returns

Definition at line 150 of file SCR_DamageStateUIInfo.c.

◆ GetOutlineColor()

Color SCR_DamageStateUIInfo::GetOutlineColor ( )
inlineprotected

Get color of outline

Returns
outline colour

Definition at line 53 of file SCR_DamageStateUIInfo.c.

◆ GetOutlineColorRegen()

Color SCR_DamageStateUIInfo::GetOutlineColorRegen ( )
inlineprotected

Get regeneration color of outline

Returns

Definition at line 69 of file SCR_DamageStateUIInfo.c.

◆ GetOutlineImage()

ResourceName SCR_DamageStateUIInfo::GetOutlineImage ( )
inlineprotected

Get ResourceName of outline image

Returns
Outline image

Definition at line 77 of file SCR_DamageStateUIInfo.c.

◆ GetOutlineQuadName()

string SCR_DamageStateUIInfo::GetOutlineQuadName ( )
inlineprotected

Get name of outline image quad (if is from imageset)

Returns
Outline image quad name

Definition at line 93 of file SCR_DamageStateUIInfo.c.

◆ SetIconTo()

bool SCR_DamageStateUIInfo::SetIconTo ( ImageWidget imageWidget,
int iconIndex )
inlineprotected

SetIconTo() overload that accepts an index when m_aIconNames is not empty

Parameters
imageWidgetTarget image widget
iconIndexIndex of an icon from m_aIconNames array
Returns
True when the image was set

Definition at line 131 of file SCR_DamageStateUIInfo.c.

◆ SetImageTo()

bool SCR_DamageStateUIInfo::SetImageTo ( ImageWidget imageWidget,
ResourceName imageRes,
string quadName = string.Empty )
inlineprotected

Set image to given image widget.

Parameters
imageWidgetTarget image widget
imageResSource image resource
Returns
True when the image was set

Definition at line 111 of file SCR_DamageStateUIInfo.c.

Member Data Documentation

◆ m_aIconNames

ref array<string> SCR_DamageStateUIInfo::m_aIconNames
protected

Definition at line 32 of file SCR_DamageStateUIInfo.c.

◆ m_BackgroundColor

ref Color SCR_DamageStateUIInfo::m_BackgroundColor
protected

Definition at line 8 of file SCR_DamageStateUIInfo.c.

◆ m_BackgroundColorRegen

ref Color SCR_DamageStateUIInfo::m_BackgroundColorRegen
protected

Definition at line 14 of file SCR_DamageStateUIInfo.c.

◆ m_Color

ref Color SCR_DamageStateUIInfo::m_Color
protected

Definition at line 5 of file SCR_DamageStateUIInfo.c.

◆ m_OutlineColor

ref Color SCR_DamageStateUIInfo::m_OutlineColor
protected

Definition at line 11 of file SCR_DamageStateUIInfo.c.

◆ m_OutlineColorRegen

ref Color SCR_DamageStateUIInfo::m_OutlineColorRegen
protected

Definition at line 17 of file SCR_DamageStateUIInfo.c.

◆ m_sBackgroundImage

ResourceName SCR_DamageStateUIInfo::m_sBackgroundImage
protected

Definition at line 26 of file SCR_DamageStateUIInfo.c.

◆ m_sBackgroundQuadName

string SCR_DamageStateUIInfo::m_sBackgroundQuadName
protected

Definition at line 29 of file SCR_DamageStateUIInfo.c.

◆ m_sOutlineImage

ResourceName SCR_DamageStateUIInfo::m_sOutlineImage
protected

Definition at line 20 of file SCR_DamageStateUIInfo.c.

◆ m_sOutlineQuadName

string SCR_DamageStateUIInfo::m_sOutlineQuadName
protected

Definition at line 23 of file SCR_DamageStateUIInfo.c.


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