Arma Reforger Script API
|
Nametag zone element base class, not for setup. More...
Public Member Functions | |
void | SetDefaults (SCR_NameTagData data, int index) |
Set initial/default widget values for the element. | |
void | UpdateElement (SCR_NameTagData data, int index) |
Widget element update. | |
void | SCR_NTElementBase () |
Public Attributes | |
string | m_sWidgetName |
Protected Member Functions | |
void | InitElementWidget (SCR_NameTagData data, int index) |
Find and set this elements widget of nametag struct. | |
SCR_NTStateConfigBase | GetEntityStateConfig (SCR_NameTagData data) |
Get config for entity state setup. | |
void | ScaleElement (SCR_NameTagData data, int index) |
Element scaling. | |
Protected Attributes | |
ref array< ref SCR_NTStateConfigBase > | m_aEntityStates |
bool | m_bScaleElement |
ref map< ENameTagEntityState, SCR_NTStateConfigBase > | m_aEntityStatesMap = new map< ENameTagEntityState, SCR_NTStateConfigBase> |
Nametag zone element base class, not for setup.
void SCR_NTElementBase.SCR_NTElementBase | ( | ) |
|
protected |
Get config for entity state setup.
data | is nametag struct |
|
protected |
Find and set this elements widget of nametag struct.
|
protected |
Element scaling.
data | is the nametag struct |
Implemented in SCR_NTIconBase, and SCR_NTTextBase.
void SCR_NTElementBase.SetDefaults | ( | SCR_NameTagData | data, |
int | index | ||
) |
Set initial/default widget values for the element.
Implemented in SCR_NTIconBase, SCR_NTIconState, SCR_NTIconPlatform, and SCR_NTTextBase.
void SCR_NTElementBase.UpdateElement | ( | SCR_NameTagData | data, |
int | index | ||
) |
Widget element update.
data | is nametag struct |
Implemented in SCR_NTIconPlatform, SCR_NTName, and SCR_NTTextDebug.
|
protected |
|
protected |
|
protected |
string SCR_NTElementBase.m_sWidgetName |