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

Protected Member Functions

override void HandlerAttached (Widget w)
void LoadGroupFlag (notnull SCR_AIGroup aiGroup)
void SetFlagButtonFromImageSet (string name)
void LoadGroupName (notnull SCR_AIGroup aiGroup)
void SetGroupName (string name)
void SetGroupIcon (ResourceName imageset, string iconName)
void SetGroupIconFromFaction (Faction faction, string iconName=string.Empty)

Protected Attributes

ResourceName m_sGroupsBLUFOR
ResourceName m_sGroupsOPFOR
ResourceName m_sGroupsINDFOR
ResourceName m_sGroupsCIVILIAN
ref SCR_AssignedGroupLabelWidgets m_Widgets = new SCR_AssignedGroupLabelWidgets()
const string DEFAULT_ICON_NAME = "undefined"
const string CUSTOM_GROUP_NAME_FORMAT = "#AR-Player_Groups_CustomName_Format"

Detailed Description

Definition at line 1 of file SCR_AssignedGroupLabelUIComponent.c.

Member Function Documentation

◆ HandlerAttached()

override void SCR_AssignedGroupLabelUIComponent::HandlerAttached ( Widget w)
inlineprotected

Definition at line 21 of file SCR_AssignedGroupLabelUIComponent.c.

◆ LoadGroupFlag()

void SCR_AssignedGroupLabelUIComponent::LoadGroupFlag ( notnull SCR_AIGroup aiGroup)
inlineprotected

Definition at line 29 of file SCR_AssignedGroupLabelUIComponent.c.

◆ LoadGroupName()

void SCR_AssignedGroupLabelUIComponent::LoadGroupName ( notnull SCR_AIGroup aiGroup)
inlineprotected

Set formated group name based on group callsign data

Parameters
[in]aiGroupto have name loaded

Definition at line 71 of file SCR_AssignedGroupLabelUIComponent.c.

◆ SetFlagButtonFromImageSet()

void SCR_AssignedGroupLabelUIComponent::SetFlagButtonFromImageSet ( string name)
inlineprotected

Sets flag visuals

Parameters
[in]nameof flag in imagest

Definition at line 48 of file SCR_AssignedGroupLabelUIComponent.c.

◆ SetGroupIcon()

void SCR_AssignedGroupLabelUIComponent::SetGroupIcon ( ResourceName imageset,
string iconName )
inlineprotected

Definition at line 103 of file SCR_AssignedGroupLabelUIComponent.c.

◆ SetGroupIconFromFaction()

void SCR_AssignedGroupLabelUIComponent::SetGroupIconFromFaction ( Faction faction,
string iconName = string.Empty )
inlineprotected

Sets group icon based on its faction

Parameters
[in]factionof group
[in]iconNameof icon in imageset

Definition at line 112 of file SCR_AssignedGroupLabelUIComponent.c.

◆ SetGroupName()

void SCR_AssignedGroupLabelUIComponent::SetGroupName ( string name)
inlineprotected
Parameters
[in]nameof group to be set

Definition at line 94 of file SCR_AssignedGroupLabelUIComponent.c.

Member Data Documentation

◆ CUSTOM_GROUP_NAME_FORMAT

const string SCR_AssignedGroupLabelUIComponent::CUSTOM_GROUP_NAME_FORMAT = "#AR-Player_Groups_CustomName_Format"
protected

Definition at line 18 of file SCR_AssignedGroupLabelUIComponent.c.

◆ DEFAULT_ICON_NAME

const string SCR_AssignedGroupLabelUIComponent::DEFAULT_ICON_NAME = "undefined"
protected

Definition at line 17 of file SCR_AssignedGroupLabelUIComponent.c.

◆ m_sGroupsBLUFOR

ResourceName SCR_AssignedGroupLabelUIComponent::m_sGroupsBLUFOR
protected

Definition at line 4 of file SCR_AssignedGroupLabelUIComponent.c.

◆ m_sGroupsCIVILIAN

ResourceName SCR_AssignedGroupLabelUIComponent::m_sGroupsCIVILIAN
protected

Definition at line 13 of file SCR_AssignedGroupLabelUIComponent.c.

◆ m_sGroupsINDFOR

ResourceName SCR_AssignedGroupLabelUIComponent::m_sGroupsINDFOR
protected

Definition at line 10 of file SCR_AssignedGroupLabelUIComponent.c.

◆ m_sGroupsOPFOR

ResourceName SCR_AssignedGroupLabelUIComponent::m_sGroupsOPFOR
protected

Definition at line 7 of file SCR_AssignedGroupLabelUIComponent.c.

◆ m_Widgets

ref SCR_AssignedGroupLabelWidgets SCR_AssignedGroupLabelUIComponent::m_Widgets = new SCR_AssignedGroupLabelWidgets()
protected

Definition at line 15 of file SCR_AssignedGroupLabelUIComponent.c.


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