Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_AmmoTypeIcon Interface Reference
Inheritance diagram for SCR_AmmoTypeIcon:
SCR_ScriptedWidgetComponent

Public Member Functions

void Init (EAmmoType ammoType, SCR_AmmoTypeInfoConfig ammoTypeConfig)
 
void DeleteWidgets ()
 
void SetIcon (EAmmoType ammoType)
 
void SetIconsConfig (SCR_AmmoTypeInfoConfig newConfig)
 
void SetColor (WeaponInfoColorSet colorSet, bool animate)
 
void SetNewState (SCR_EWeaponInfoIconState newState)
 
void SetVisibility (bool newVis)
 
- Public Member Functions inherited from SCR_ScriptedWidgetComponent
override bool OnClick (Widget w, int x, int y, int button)
 
Widget GetRootWidget ()
 
bool IsVisible ()
 

Protected Member Functions

override void HandlerAttached (Widget w)
 

Protected Attributes

string m_sIcon
 
string m_sGlow
 
ref WeaponInfoColorSet m_IdleColorSet
 
ref WeaponInfoColorSet m_HighlightColorSet
 
ref WeaponInfoColorSet m_DisabledColorSet
 
ImageWidget m_wIconWidget
 
ImageWidget m_wGlowWidget
 
ref SCR_AmmoTypeInfoConfig m_AmmoTypeIcons
 
SCR_EWeaponInfoIconState m_currentState
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Additional Inherited Members

- Static Public Member Functions inherited from SCR_ScriptedWidgetComponent
static SCR_ScriptedWidgetComponent GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true)
 Base method for component lookup through the widget library.
 
- Public Attributes inherited from SCR_ScriptedWidgetComponent
ref ScriptInvoker m_OnClick = new ScriptInvoker
 

Member Function Documentation

◆ DeleteWidgets()

void SCR_AmmoTypeIcon.DeleteWidgets ( )

◆ HandlerAttached()

override void SCR_AmmoTypeIcon.HandlerAttached ( Widget w)
protected

◆ Init()

void SCR_AmmoTypeIcon.Init ( EAmmoType ammoType,
SCR_AmmoTypeInfoConfig ammoTypeConfig )

◆ SetColor()

void SCR_AmmoTypeIcon.SetColor ( WeaponInfoColorSet colorSet,
bool animate )

◆ SetIcon()

void SCR_AmmoTypeIcon.SetIcon ( EAmmoType ammoType)

◆ SetIconsConfig()

void SCR_AmmoTypeIcon.SetIconsConfig ( SCR_AmmoTypeInfoConfig newConfig)

◆ SetNewState()

void SCR_AmmoTypeIcon.SetNewState ( SCR_EWeaponInfoIconState newState)

◆ SetVisibility()

void SCR_AmmoTypeIcon.SetVisibility ( bool newVis)

Member Data Documentation

◆ m_AmmoTypeIcons

ref SCR_AmmoTypeInfoConfig SCR_AmmoTypeIcon.m_AmmoTypeIcons
protected

◆ m_currentState

SCR_EWeaponInfoIconState SCR_AmmoTypeIcon.m_currentState
protected

◆ m_DisabledColorSet

ref WeaponInfoColorSet SCR_AmmoTypeIcon.m_DisabledColorSet
protected

◆ m_HighlightColorSet

ref WeaponInfoColorSet SCR_AmmoTypeIcon.m_HighlightColorSet
protected

◆ m_IdleColorSet

ref WeaponInfoColorSet SCR_AmmoTypeIcon.m_IdleColorSet
protected

◆ m_sGlow

string SCR_AmmoTypeIcon.m_sGlow
protected

◆ m_sIcon

string SCR_AmmoTypeIcon.m_sIcon
protected

◆ m_wGlowWidget

ImageWidget SCR_AmmoTypeIcon.m_wGlowWidget
protected

◆ m_wIconWidget

ImageWidget SCR_AmmoTypeIcon.m_wIconWidget
protected

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