Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_LoadoutStatisticsComponent Class Reference

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

Inheritance diagram for SCR_LoadoutStatisticsComponent:
ScriptedWidgetComponent

Protected Member Functions

override void HandlerAttached (Widget w)
void SetupLoadoutSpin ()
 Fill spin.
void CreateStatEntries (int count)
void OnLoadoutChanged (SCR_SpinBoxComponent spin, int id)
void UpdateStats (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)
array< ref LoadoutStatSetGetLodoutStatSets ()
int GetCurrentLoadoutId ()
void SetCareerUI (CareerMenuUI careerUI)

Protected Attributes

ref array< ref LoadoutStatSetm_aLoadouts
const ResourceName ENTRY_LAYOUT = "{C87F7F6734B61688}UI/layouts/Menus/Career/CareerEntry.layout"
const string WIDGET_LOADOUT_SPIN = "SpinLoadout"
const string WIDGET_STAT_LIST = "vStatList"
Widget m_wRoot
Widget m_wStatList
Widget m_wLoadoutSpin
CareerMenuUI m_CareerUI
SCR_SpinBoxComponent m_LoadoutSpin
ref array< ref Widgetm_aStatWidgets = new array<ref Widget>()
int m_iEntryCount = 0
int m_iSelected = 0
ref ScriptInvoker m_OnLoadoutChange = new ScriptInvoker()

Detailed Description

Class for switching and displaying stats for different loadouts.

Definition at line 4 of file SCR_LoadoutStatistics.c.

Member Function Documentation

◆ CreateStatEntries()

void SCR_LoadoutStatisticsComponent::CreateStatEntries ( int count)
inlineprotected

Definition at line 84 of file SCR_LoadoutStatistics.c.

◆ GetCurrentLoadoutId()

int SCR_LoadoutStatisticsComponent::GetCurrentLoadoutId ( )
inlineprotected

Definition at line 167 of file SCR_LoadoutStatistics.c.

◆ GetLodoutStatSets()

array< ref LoadoutStatSet > SCR_LoadoutStatisticsComponent::GetLodoutStatSets ( )
inlineprotected

Definition at line 166 of file SCR_LoadoutStatistics.c.

◆ HandlerAttached()

override void SCR_LoadoutStatisticsComponent::HandlerAttached ( Widget w)
inlineprotected

Definition at line 34 of file SCR_LoadoutStatistics.c.

◆ OnLoadoutChanged()

void SCR_LoadoutStatisticsComponent::OnLoadoutChanged ( SCR_SpinBoxComponent spin,
int id )
inlineprotected

Definition at line 95 of file SCR_LoadoutStatistics.c.

◆ SetCareerUI()

void SCR_LoadoutStatisticsComponent::SetCareerUI ( CareerMenuUI careerUI)
inlineprotected

Definition at line 170 of file SCR_LoadoutStatistics.c.

◆ SetStatEntry()

void SCR_LoadoutStatisticsComponent::SetStatEntry ( string sName,
string sLabel,
string sValue,
Widget wEntry = null )
inlineprotected

Definition at line 132 of file SCR_LoadoutStatistics.c.

◆ SetStatLabel()

void SCR_LoadoutStatisticsComponent::SetStatLabel ( string sName,
string sLabel,
Widget wEntry = null )
inlineprotected

Definition at line 142 of file SCR_LoadoutStatistics.c.

◆ SetStatValue()

void SCR_LoadoutStatisticsComponent::SetStatValue ( string sName,
string sValue,
Widget wEntry = null )
inlineprotected

Definition at line 154 of file SCR_LoadoutStatistics.c.

◆ SetupLoadoutSpin()

void SCR_LoadoutStatisticsComponent::SetupLoadoutSpin ( )
inlineprotected

Fill spin.

Definition at line 56 of file SCR_LoadoutStatistics.c.

◆ UpdateStats()

void SCR_LoadoutStatisticsComponent::UpdateStats ( int id)
inlineprotected

Definition at line 102 of file SCR_LoadoutStatistics.c.

Member Data Documentation

◆ ENTRY_LAYOUT

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

Definition at line 10 of file SCR_LoadoutStatistics.c.

◆ m_aLoadouts

ref array<ref LoadoutStatSet> SCR_LoadoutStatisticsComponent::m_aLoadouts
protected

Definition at line 7 of file SCR_LoadoutStatistics.c.

◆ m_aStatWidgets

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

Definition at line 25 of file SCR_LoadoutStatistics.c.

◆ m_CareerUI

CareerMenuUI SCR_LoadoutStatisticsComponent::m_CareerUI
protected

Definition at line 22 of file SCR_LoadoutStatistics.c.

◆ m_iEntryCount

int SCR_LoadoutStatisticsComponent::m_iEntryCount = 0
protected

Definition at line 28 of file SCR_LoadoutStatistics.c.

◆ m_iSelected

int SCR_LoadoutStatisticsComponent::m_iSelected = 0
protected

Definition at line 29 of file SCR_LoadoutStatistics.c.

◆ m_LoadoutSpin

SCR_SpinBoxComponent SCR_LoadoutStatisticsComponent::m_LoadoutSpin
protected

Definition at line 23 of file SCR_LoadoutStatistics.c.

◆ m_OnLoadoutChange

ref ScriptInvoker SCR_LoadoutStatisticsComponent::m_OnLoadoutChange = new ScriptInvoker()
protected

Definition at line 31 of file SCR_LoadoutStatistics.c.

◆ m_wLoadoutSpin

Widget SCR_LoadoutStatisticsComponent::m_wLoadoutSpin
protected

Definition at line 19 of file SCR_LoadoutStatistics.c.

◆ m_wRoot

Widget SCR_LoadoutStatisticsComponent::m_wRoot
protected

Definition at line 17 of file SCR_LoadoutStatistics.c.

◆ m_wStatList

Widget SCR_LoadoutStatisticsComponent::m_wStatList
protected

Definition at line 18 of file SCR_LoadoutStatistics.c.

◆ WIDGET_LOADOUT_SPIN

const string SCR_LoadoutStatisticsComponent::WIDGET_LOADOUT_SPIN = "SpinLoadout"
protected

Definition at line 13 of file SCR_LoadoutStatistics.c.

◆ WIDGET_STAT_LIST

const string SCR_LoadoutStatisticsComponent::WIDGET_STAT_LIST = "vStatList"
protected

Definition at line 14 of file SCR_LoadoutStatistics.c.


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