|
Arma Reforger Script API
|
Public Member Functions | |
| override void | UpdateAmmoCount (BaseWeaponComponent weapon) |
Public Member Functions inherited from SCR_SingleMagazineWidgetComponent_Base | |
| SCR_EWeaponInfoIconState | GetCurrentState () |
| void | Init (BaseWeaponComponent weapon, int height, SCR_MagazineIndicatorConfiguration magConfig, bool isSelected) |
| void | SetMagazineTextures (SCR_MagazineIndicatorConfiguration config, int height) |
| void | SetSelected (bool selected) |
| void | SetActive (bool active) |
| void | DestroyMagazine () |
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 | |
| EAmmoType | GetWeaponCurrentRocket (BaseWeaponComponent weapon) |
Protected Member Functions inherited from SCR_SingleMagazineWidgetComponent_Base | |
| override void | HandlerAttached (Widget w) |
| void | SetAllSize (int height) |
| float | GetImageDesiredWidth (ImageWidget w, int height) |
| void | SetWidgetImage (ImageWidget w, string imageOrImageset, string imageName="", int size=-1) |
| Sets widget's image to an image or imageset. | |
| void | SetColors (WeaponInfoColorSet colorSet) |
| void | SetState (SCR_EWeaponInfoIconState newState) |
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 |
Protected Attributes inherited from SCR_SingleMagazineWidgetComponent_Base | |
| string | m_sMagazineGlow |
| string | m_sMagazineBackground |
| string | m_sMagazineOutline |
| string | m_sMagazineProgress |
| string | m_sReloadBackground |
| string | m_sReloadOutline |
| string | m_sMagazineEmpty |
| ref WeaponInfoColorSet | m_IdleColorSet |
| ref WeaponInfoColorSet | m_HighlightColorSet |
| ref WeaponInfoColorSet | m_DisabledColorSet |
| ImageWidget | m_wMagazineGlow |
| ImageWidget | m_wMagazineBackground |
| ImageWidget | m_wMagazineOutline |
| ImageWidget | m_wMagazineProgress |
| ImageWidget | m_wMagazineEmpty |
| ImageWidget | m_wReloadBackground |
| ImageWidget | m_wReloadOutline |
| SCR_EWeaponInfoIconState | m_eCurrentState = SCR_EWeaponInfoIconState.IDLE |
| bool | m_bIsActive = true |
| bool | m_bIsSelected |
Protected Attributes inherited from SCR_ScriptedWidgetComponent | |
| Widget | m_wRoot |
|
protected |
| override void SCR_SingleMagazineWidgetComponent_RocketPod.UpdateAmmoCount | ( | BaseWeaponComponent | weapon | ) |
Implements SCR_SingleMagazineWidgetComponent_Base.