Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_WeaponSelectionMenu Class Reference
Inheritance diagram for SCR_WeaponSelectionMenu:

Protected Member Functions

void Init (IEntity owner)
void EquipHealingItem ()
void UpdateWeaponsList ()
bool DidWeaponsChange ()
bool SelectHighlightedWeapon ()
void CreateWeaponWidgets ()
array< WeaponSlotComponentGetSortedWeaponSlots (array< WeaponSlotComponent > weapons)
Widget LoadWeaponPrefab (Widget parent, BaseWeaponComponent weapon, int category)
void HighlightWeapon (int i)
void HighlightNextWeapon ()
void HighlightPreviousWeapon ()
void HighlightCurrentWeapon ()
int GetHighlightedWeaponIndex ()
void HandleKeyboardWeaponSwitch ()
void SetDefaultColor (Widget w, bool animate=true)
void SetHighlightColor (Widget w, bool animate=true)
void HighlightWidget (Widget w, Color backgroundColor, Color colorChild, bool animate=true)

Protected Attributes

ResourceName m_sNumberWidgetLayout
ResourceName m_sWeaponWidgetLayout
ref Color m_ColorSelected
ref Color m_ColorChildSelected
ref Color m_ColorDefault
ref Color m_ColorChildDefault
float m_fHighlightAnimationSpeed
ResourceName m_sSoundSwitch
ResourceName m_sWeaponNumberImageset

Static Protected Attributes

static ref ScriptInvoker Event_OnSelectWeapon = new ScriptInvoker

Detailed Description

Definition at line 4 of file WeaponSelectionMenu.c.

Member Function Documentation

◆ CreateWeaponWidgets()

void SCR_WeaponSelectionMenu::CreateWeaponWidgets ( )
inlineprotected

Definition at line 222 of file WeaponSelectionMenu.c.

◆ DidWeaponsChange()

bool SCR_WeaponSelectionMenu::DidWeaponsChange ( )
inlineprotected

Definition at line 185 of file WeaponSelectionMenu.c.

◆ EquipHealingItem()

void SCR_WeaponSelectionMenu::EquipHealingItem ( )
inlineprotected

Definition at line 157 of file WeaponSelectionMenu.c.

◆ GetHighlightedWeaponIndex()

int SCR_WeaponSelectionMenu::GetHighlightedWeaponIndex ( )
inlineprotected

Definition at line 422 of file WeaponSelectionMenu.c.

◆ GetSortedWeaponSlots()

array< WeaponSlotComponent > SCR_WeaponSelectionMenu::GetSortedWeaponSlots ( array< WeaponSlotComponent > weapons)
inlineprotected

Definition at line 270 of file WeaponSelectionMenu.c.

◆ HandleKeyboardWeaponSwitch()

void SCR_WeaponSelectionMenu::HandleKeyboardWeaponSwitch ( )
inlineprotected

Definition at line 445 of file WeaponSelectionMenu.c.

◆ HighlightCurrentWeapon()

void SCR_WeaponSelectionMenu::HighlightCurrentWeapon ( )
inlineprotected

Definition at line 415 of file WeaponSelectionMenu.c.

◆ HighlightNextWeapon()

void SCR_WeaponSelectionMenu::HighlightNextWeapon ( )
inlineprotected

Definition at line 380 of file WeaponSelectionMenu.c.

◆ HighlightPreviousWeapon()

void SCR_WeaponSelectionMenu::HighlightPreviousWeapon ( )
inlineprotected

Definition at line 399 of file WeaponSelectionMenu.c.

◆ HighlightWeapon()

void SCR_WeaponSelectionMenu::HighlightWeapon ( int i)
inlineprotected

Definition at line 363 of file WeaponSelectionMenu.c.

◆ HighlightWidget()

void SCR_WeaponSelectionMenu::HighlightWidget ( Widget w,
Color backgroundColor,
Color colorChild,
bool animate = true )
inlineprotected

Definition at line 508 of file WeaponSelectionMenu.c.

◆ Init()

void SCR_WeaponSelectionMenu::Init ( IEntity owner)
inlineprotected

Definition at line 59 of file WeaponSelectionMenu.c.

◆ LoadWeaponPrefab()

Widget SCR_WeaponSelectionMenu::LoadWeaponPrefab ( Widget parent,
BaseWeaponComponent weapon,
int category )
inlineprotected

Definition at line 317 of file WeaponSelectionMenu.c.

◆ SelectHighlightedWeapon()

bool SCR_WeaponSelectionMenu::SelectHighlightedWeapon ( )
inlineprotected

Definition at line 200 of file WeaponSelectionMenu.c.

◆ SetDefaultColor()

void SCR_WeaponSelectionMenu::SetDefaultColor ( Widget w,
bool animate = true )
inlineprotected

Definition at line 496 of file WeaponSelectionMenu.c.

◆ SetHighlightColor()

void SCR_WeaponSelectionMenu::SetHighlightColor ( Widget w,
bool animate = true )
inlineprotected

Definition at line 502 of file WeaponSelectionMenu.c.

◆ UpdateWeaponsList()

void SCR_WeaponSelectionMenu::UpdateWeaponsList ( )
inlineprotected

Definition at line 174 of file WeaponSelectionMenu.c.

Member Data Documentation

◆ Event_OnSelectWeapon

ref ScriptInvoker SCR_WeaponSelectionMenu::Event_OnSelectWeapon = new ScriptInvoker
staticprotected

Definition at line 23 of file WeaponSelectionMenu.c.

◆ m_ColorChildDefault

ref Color SCR_WeaponSelectionMenu::m_ColorChildDefault
protected

Definition at line 47 of file WeaponSelectionMenu.c.

◆ m_ColorChildSelected

ref Color SCR_WeaponSelectionMenu::m_ColorChildSelected
protected

Definition at line 41 of file WeaponSelectionMenu.c.

◆ m_ColorDefault

ref Color SCR_WeaponSelectionMenu::m_ColorDefault
protected

Definition at line 44 of file WeaponSelectionMenu.c.

◆ m_ColorSelected

ref Color SCR_WeaponSelectionMenu::m_ColorSelected
protected

Definition at line 38 of file WeaponSelectionMenu.c.

◆ m_fHighlightAnimationSpeed

float SCR_WeaponSelectionMenu::m_fHighlightAnimationSpeed
protected

Definition at line 50 of file WeaponSelectionMenu.c.

◆ m_sNumberWidgetLayout

ResourceName SCR_WeaponSelectionMenu::m_sNumberWidgetLayout
protected

Definition at line 26 of file WeaponSelectionMenu.c.

◆ m_sSoundSwitch

ResourceName SCR_WeaponSelectionMenu::m_sSoundSwitch
protected

Definition at line 53 of file WeaponSelectionMenu.c.

◆ m_sWeaponNumberImageset

ResourceName SCR_WeaponSelectionMenu::m_sWeaponNumberImageset
protected

Definition at line 56 of file WeaponSelectionMenu.c.

◆ m_sWeaponWidgetLayout

ResourceName SCR_WeaponSelectionMenu::m_sWeaponWidgetLayout
protected

Definition at line 29 of file WeaponSelectionMenu.c.


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