DIFF

class ItemActionsWidgetSource

ItemActionsWidget ScriptedWidgetEventHandler Managed

All members, including inherited

Constructors 2

void ~ItemActionsWidget()

Members 24

protected ActionBase m_Interact
protected ActionBase m_ContinuousInteract
protected ActionBase m_Single
protected ActionBase m_Continuous
protected ActionManagerClient m_AM
Referenced by GetActionManager(), GetActions(), ItemActionsWidget()
Show 1 more, Update()
protected IngameHud m_Hud
Referenced by ItemActionsWidget(), and Update()
protected UAIDWrapper m_UseActionWrapper
protected int m_InteractActionsNum
protected int m_ContinuousInteractActionsNum
protected int m_ItemActionsNum
protected int m_ContinuousItemActionsNum
protected bool m_HealthEnabled
protected bool m_QuantityEnabled
protected ref WidgetFadeTimer m_FadeTimer
Referenced by ItemActionsWidget()
protected bool m_Faded
Referenced by ItemActionsWidget()
protected bool m_Hidden
protected bool m_ItemFrozen
protected Widget m_ItemLeft
Referenced by OnWidgetScriptInit()
protected float m_MaxWidthChild

widget width

Referenced by Update()
protected float m_RootWidth
protected float m_RootHeight

Methods 40

void SetInteractXboxIcon(string imageset_name, string image_name)

DEPRECATED

void SetContinuousInteractXboxIcon(string imageset_name, string image_name)
void SetSingleXboxIcon(string imageset_name, string image_name)
void SetContinuousXboxIcon(string imageset_name, string image_name)
protected void SetXboxIcon(string name, string imageset_name, string image_name)
protected void SetControllerIcon(string pWidgetName, string pInputName)

----------

protected void ShowXboxHidePCIcons(string widget, bool show_xbox_icon)
protected void OnWidgetScriptInit(Widget w)
protected void OnInputPresetChanged()

UA -> widget icon

protected void OnInputDeviceChanged(EInputDeviceType pInputDeviceType)
private void UpdateControllerInputIcons()

Loads icons from the latest keybinds

private void UpdatePCIconsVisibility()

Contains logic for icon set switching (Gamepad/M&K)

protected void GetPlayer()

don't show when disabled in profile

Referenced by Update()
protected void GetActionManager()
Referenced by Update()
protected void GetEntityInHands()
Referenced by Update()
protected string GetActionDesc(ActionBase action)
Referenced by BuildCursor()
protected string GetItemDesc(EntityAI entity)
Referenced by BuildCursor()
protected bool GetItemFrozen()
Referenced by BuildCursor()
protected int GetItemHealth()
Referenced by BuildCursor()
protected void GetItemQuantity(out int q_type, out float q_cur, out int q_min, out int q_max)
Referenced by BuildCursor()
protected string GetRadioFrequency()
Referenced by BuildCursor()
protected void SetItemQuantity(int type, float current, int min, int max, string itemWidget, string quantityPBWidget, string quantityTextWidget, bool enabled)
Referenced by BuildCursor()
protected string WeaponModeTextTemp()
protected void SetRadioFrequency(string freq, string itemWidget, string upWidget, string downWidget, bool enabled)
Referenced by BuildCursor()
protected void SetMultipleInteractAction(string multiActionsWidget)

shows arrows near the interact action if there are more than one available

Referenced by BuildCursor()
protected void SetMultipleContinuousInteractAction(string multiActionsWidget)

shows arrows near the interact action if there are more than one available

Referenced by BuildCursor()
protected void SetMultipleItemAction(string multiActionsWidget)
References Widget.FindAnyWidget(), Widget.Show(), m_ItemActionsNum
Show 1 more, m_Root
Referenced by BuildCursor()
protected void SetMultipleContinuousItemAction(string multiActionsWidget)

shows arrows near the interact action if there are more than one available

Referenced by BuildCursor()
protected void CheckRefresherFlagVisibility()

select first alternative (which is the primary bind)

Referenced by Update()
protected void CheckForActionWidgetOverrides()
Referenced by Update()
protected IngameHud GetHud()
Referenced by ItemActionsWidget()