Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SCR_LoadoutStatisticsComponent Interface Reference

Class for switching and displaying stats for different loadouts. More...

Inheritance diagram for SCR_LoadoutStatisticsComponent:
[legend]

Public Member Functions

override void HandlerAttached (Widget w)
 
void UpdateStats (int id)
 
array< ref LoadoutStatSetGetLodoutStatSets ()
 
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 LoadoutStatSetm_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"
 

Detailed Description

Class for switching and displaying stats for different loadouts.

Member Function Documentation

◆ CreateStatEntries()

void SCR_LoadoutStatisticsComponent.CreateStatEntries ( int  count)
protected

◆ GetCurrentLoadoutId()

int SCR_LoadoutStatisticsComponent.GetCurrentLoadoutId ( )

◆ GetLodoutStatSets()

array< ref LoadoutStatSet > SCR_LoadoutStatisticsComponent.GetLodoutStatSets ( )

◆ HandlerAttached()

override void SCR_LoadoutStatisticsComponent.HandlerAttached ( Widget  w)

◆ OnLoadoutChanged()

void SCR_LoadoutStatisticsComponent.OnLoadoutChanged ( SCR_SpinBoxComponent  spin,
int  id 
)
protected

◆ SetCareerUI()

void SCR_LoadoutStatisticsComponent.SetCareerUI ( CareerMenuUI  careerUI)

◆ SetStatEntry()

void SCR_LoadoutStatisticsComponent.SetStatEntry ( string  sName,
string  sLabel,
string  sValue,
Widget  wEntry = null 
)
protected

◆ SetStatLabel()

void SCR_LoadoutStatisticsComponent.SetStatLabel ( string  sName,
string  sLabel,
Widget  wEntry = null 
)
protected

◆ SetStatValue()

void SCR_LoadoutStatisticsComponent.SetStatValue ( string  sName,
string  sValue,
Widget  wEntry = null 
)
protected

◆ SetupLoadoutSpin()

void SCR_LoadoutStatisticsComponent.SetupLoadoutSpin ( )
protected

Fill spin.

◆ UpdateStats()

void SCR_LoadoutStatisticsComponent.UpdateStats ( int  id)

Member Data Documentation

◆ ENTRY_LAYOUT

const ResourceName SCR_LoadoutStatisticsComponent.ENTRY_LAYOUT = "{C87F7F6734B61688}UI/layouts/Menus/Career/CareerEntry.layout"
staticprotected

◆ m_aLoadouts

ref array<ref LoadoutStatSet> SCR_LoadoutStatisticsComponent.m_aLoadouts
protected

◆ m_aStatWidgets

ref array<ref Widget> SCR_LoadoutStatisticsComponent.m_aStatWidgets = new array<ref Widget>()
protected

◆ m_CareerUI

CareerMenuUI SCR_LoadoutStatisticsComponent.m_CareerUI
protected

◆ m_iEntryCount

int SCR_LoadoutStatisticsComponent.m_iEntryCount = 0
protected

◆ m_iSelected

int SCR_LoadoutStatisticsComponent.m_iSelected = 0
protected

◆ m_LoadoutSpin

SCR_SpinBoxComponent SCR_LoadoutStatisticsComponent.m_LoadoutSpin
protected

◆ m_OnLoadoutChange

ref ScriptInvoker SCR_LoadoutStatisticsComponent.m_OnLoadoutChange = new ScriptInvoker()

◆ m_wLoadoutSpin

Widget SCR_LoadoutStatisticsComponent.m_wLoadoutSpin
protected

◆ m_wRoot

Widget SCR_LoadoutStatisticsComponent.m_wRoot
protected

◆ m_wStatList

Widget SCR_LoadoutStatisticsComponent.m_wStatList
protected

◆ WIDGET_LOADOUT_SPIN

const string SCR_LoadoutStatisticsComponent.WIDGET_LOADOUT_SPIN = "SpinLoadout"
staticprotected

◆ WIDGET_STAT_LIST

const string SCR_LoadoutStatisticsComponent.WIDGET_STAT_LIST = "vStatList"
staticprotected

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