Arma Reforger Script API
|
Class for switching and displaying stats for different loadouts. More...
Public Member Functions | |
override void | HandlerAttached (Widget w) |
void | UpdateStats (int id) |
array< ref LoadoutStatSet > | GetLodoutStatSets () |
int | GetCurrentLoadoutId () |
void | SetCareerUI (CareerMenuUI careerUI) |
Public Attributes | |
ref ScriptInvoker | m_OnLoadoutChange = new ScriptInvoker() |
Protected Member Functions | |
void | SetupLoadoutSpin () |
Fill spin. | |
void | CreateStatEntries (int count) |
void | OnLoadoutChanged (SCR_SpinBoxComponent spin, int id) |
void | SetStatEntry (string sName, string sLabel, string sValue, Widget wEntry=null) |
void | SetStatLabel (string sName, string sLabel, Widget wEntry=null) |
void | SetStatValue (string sName, string sValue, Widget wEntry=null) |
Protected Attributes | |
ref array< ref LoadoutStatSet > | m_aLoadouts |
Widget | m_wRoot |
Widget | m_wStatList |
Widget | m_wLoadoutSpin |
CareerMenuUI | m_CareerUI |
SCR_SpinBoxComponent | m_LoadoutSpin |
ref array< ref Widget > | m_aStatWidgets = new array<ref Widget>() |
int | m_iEntryCount = 0 |
int | m_iSelected = 0 |
Static Protected Attributes | |
const ResourceName | ENTRY_LAYOUT = "{C87F7F6734B61688}UI/layouts/Menus/Career/CareerEntry.layout" |
const string | WIDGET_LOADOUT_SPIN = "SpinLoadout" |
const string | WIDGET_STAT_LIST = "vStatList" |
Class for switching and displaying stats for different loadouts.
|
protected |
int SCR_LoadoutStatisticsComponent.GetCurrentLoadoutId | ( | ) |
array< ref LoadoutStatSet > SCR_LoadoutStatisticsComponent.GetLodoutStatSets | ( | ) |
override void SCR_LoadoutStatisticsComponent.HandlerAttached | ( | Widget | w | ) |
|
protected |
void SCR_LoadoutStatisticsComponent.SetCareerUI | ( | CareerMenuUI | careerUI | ) |
|
protected |
|
protected |
|
protected |
|
protected |
Fill spin.
void SCR_LoadoutStatisticsComponent.UpdateStats | ( | int | id | ) |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
ref ScriptInvoker SCR_LoadoutStatisticsComponent.m_OnLoadoutChange = new ScriptInvoker() |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |