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

Protected Member Functions

override void HandlerAttached (Widget w)
SCR_ECharacterTypeUI GetCharacterTypes ()
void SetIdentity (SCR_ECharacterTypeUI characterTypes)
float GetRotationFloat ()
void SetRotation (float arrowRotation)
Color GetColor ()
void SetColor (Color characterColor)
void SetCharTypeTexture (ImageWidget characterTypeIcon, array< string > typeArray)
void SetArrowRotation (ImageWidget arrowWidget)
void SetCharacterColor (OverlayWidget characterOverlay)

Protected Attributes

float m_fArrowRotation
SCR_ECharacterTypeUI m_eCharacterTypes
ref Color m_CharacterColor
string m_sIconCharType
string m_sIconArrowTexture
string m_sCharacterOverlay
ResourceName m_sCharTypeImageset
ref array< stringm_aTypes = {"AntiTank","CrewCommander","CrewMan","Driver","Engineer","Grenadier","HeliCrew","HeliPilot","Machinegunner","Medic","MortarCrew","Officer","Outline","PlatoonLeader","PlattonSergeant","RadioOperator","Rifleman","Sapper","Scout","ScoutRadioOperator","Sharpshooter","SpecialForces"}

Detailed Description

Definition at line 1 of file SCR_CharacterComponent.c.

Member Function Documentation

◆ GetCharacterTypes()

SCR_ECharacterTypeUI SCR_CharacterUIComponent::GetCharacterTypes ( )
inlineprotected

Get character types enum.

Returns
Characters

Definition at line 43 of file SCR_CharacterComponent.c.

◆ GetColor()

Color SCR_CharacterUIComponent::GetColor ( )
inlineprotected

Get Character Color

Returns
m_CharacterColor

Definition at line 83 of file SCR_CharacterComponent.c.

◆ GetRotationFloat()

float SCR_CharacterUIComponent::GetRotationFloat ( )
inlineprotected

Get rotation Float.

Returns
m_fArrowRotation

Definition at line 63 of file SCR_CharacterComponent.c.

◆ HandlerAttached()

override void SCR_CharacterUIComponent::HandlerAttached ( Widget w)
inlineprotected

Definition at line 26 of file SCR_CharacterComponent.c.

◆ SetArrowRotation()

void SCR_CharacterUIComponent::SetArrowRotation ( ImageWidget arrowWidget)
inlineprotected

Set Arrow Rotation

Parameters
arrowWidget

Definition at line 114 of file SCR_CharacterComponent.c.

◆ SetCharacterColor()

void SCR_CharacterUIComponent::SetCharacterColor ( OverlayWidget characterOverlay)
inlineprotected

Set character widget color

Parameters
characterOverlay

Definition at line 124 of file SCR_CharacterComponent.c.

◆ SetCharTypeTexture()

void SCR_CharacterUIComponent::SetCharTypeTexture ( ImageWidget characterTypeIcon,
array< string > typeArray )
inlineprotected

Set character type texture

Parameters
characterTypeIcon
typeArray

Definition at line 104 of file SCR_CharacterComponent.c.

◆ SetColor()

void SCR_CharacterUIComponent::SetColor ( Color characterColor)
inlineprotected

Set Color.

Parameters
characterColor

Definition at line 93 of file SCR_CharacterComponent.c.

◆ SetIdentity()

void SCR_CharacterUIComponent::SetIdentity ( SCR_ECharacterTypeUI characterTypes)
inlineprotected

Set character type.

Parameters
characterTypes

Definition at line 53 of file SCR_CharacterComponent.c.

◆ SetRotation()

void SCR_CharacterUIComponent::SetRotation ( float arrowRotation)
inlineprotected

Set character type.

Parameters
arrowRotation

Definition at line 73 of file SCR_CharacterComponent.c.

Member Data Documentation

◆ m_aTypes

ref array<string> SCR_CharacterUIComponent::m_aTypes = {"AntiTank","CrewCommander","CrewMan","Driver","Engineer","Grenadier","HeliCrew","HeliPilot","Machinegunner","Medic","MortarCrew","Officer","Outline","PlatoonLeader","PlattonSergeant","RadioOperator","Rifleman","Sapper","Scout","ScoutRadioOperator","Sharpshooter","SpecialForces"}
protected

Definition at line 24 of file SCR_CharacterComponent.c.

◆ m_CharacterColor

ref Color SCR_CharacterUIComponent::m_CharacterColor
protected

Definition at line 10 of file SCR_CharacterComponent.c.

◆ m_eCharacterTypes

SCR_ECharacterTypeUI SCR_CharacterUIComponent::m_eCharacterTypes
protected

Definition at line 7 of file SCR_CharacterComponent.c.

◆ m_fArrowRotation

float SCR_CharacterUIComponent::m_fArrowRotation
protected

Definition at line 4 of file SCR_CharacterComponent.c.

◆ m_sCharacterOverlay

string SCR_CharacterUIComponent::m_sCharacterOverlay
protected

Definition at line 19 of file SCR_CharacterComponent.c.

◆ m_sCharTypeImageset

ResourceName SCR_CharacterUIComponent::m_sCharTypeImageset
protected

Definition at line 22 of file SCR_CharacterComponent.c.

◆ m_sIconArrowTexture

string SCR_CharacterUIComponent::m_sIconArrowTexture
protected

Definition at line 16 of file SCR_CharacterComponent.c.

◆ m_sIconCharType

string SCR_CharacterUIComponent::m_sIconCharType
protected

Definition at line 13 of file SCR_CharacterComponent.c.


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