Arma Reforger Script API
|
Nametag zone config setup. More...
Public Member Functions | |
int | GetZoneStart () |
Getter - minimum distance for the nametag to be drawn in this zone. | |
void | OnZoneChanged (SCR_NameTagData data) |
On nametag switching to different zone. | |
void | DrawElements (SCR_NameTagData data) |
Iterate through and draw every element(widget) assigned to this zone. | |
void | UpdateElementDefs (SCR_NameTagData data) |
Iterate through and set every element to default values according to their state. | |
void | HideElements (SCR_NameTagData data) |
Clear elements upon zone switch since some may not be configured in the current zone anymore. | |
void | SCR_NameTagZone () |
void | ~SCR_NameTagZone () |
Public Attributes | |
int | m_iZoneEnd |
int | m_iZoneEndPow2 |
int | m_iElementsCount |
Protected Attributes | |
string | m_sZoneName |
int | m_iZoneStart |
ref array< ref SCR_NTElementBase > | m_aElements |
Nametag zone config setup.
void SCR_NameTagZone.SCR_NameTagZone | ( | ) |
void SCR_NameTagZone.~SCR_NameTagZone | ( | ) |
void SCR_NameTagZone.DrawElements | ( | SCR_NameTagData | data | ) |
Iterate through and draw every element(widget) assigned to this zone.
data | is nametag struct class |
int SCR_NameTagZone.GetZoneStart | ( | ) |
Getter - minimum distance for the nametag to be drawn in this zone.
void SCR_NameTagZone.HideElements | ( | SCR_NameTagData | data | ) |
Clear elements upon zone switch since some may not be configured in the current zone anymore.
data | is nametag struct class |
void SCR_NameTagZone.OnZoneChanged | ( | SCR_NameTagData | data | ) |
On nametag switching to different zone.
data | is nametag struct |
void SCR_NameTagZone.UpdateElementDefs | ( | SCR_NameTagData | data | ) |
Iterate through and set every element to default values according to their state.
data | is nametag struct class |
|
protected |
int SCR_NameTagZone.m_iElementsCount |
int SCR_NameTagZone.m_iZoneEnd |
int SCR_NameTagZone.m_iZoneEndPow2 |
|
protected |
|
protected |