Arma Reforger Script API
|
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) |
![]() | |
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 |
![]() | |
Widget | m_wRoot |
Additional Inherited Members | |
![]() | |
static SCR_ScriptedWidgetComponent | GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true) |
Base method for component lookup through the widget library. | |
![]() | |
ref ScriptInvoker | m_OnClick = new ScriptInvoker |
void SCR_AmmoTypeIcon.DeleteWidgets | ( | ) |
|
protected |
Implements SCR_ScriptedWidgetComponent.
void SCR_AmmoTypeIcon.Init | ( | EAmmoType | ammoType, |
SCR_AmmoTypeInfoConfig | ammoTypeConfig ) |
void SCR_AmmoTypeIcon.SetColor | ( | WeaponInfoColorSet | colorSet, |
bool | animate ) |
void SCR_AmmoTypeIcon.SetIcon | ( | EAmmoType | ammoType | ) |
void SCR_AmmoTypeIcon.SetIconsConfig | ( | SCR_AmmoTypeInfoConfig | newConfig | ) |
void SCR_AmmoTypeIcon.SetNewState | ( | SCR_EWeaponInfoIconState | newState | ) |
void SCR_AmmoTypeIcon.SetVisibility | ( | bool | newVis | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |