class ItemActionsWidget
ItemActionsWidget › ScriptedWidgetEventHandler › Managed
Constructors 2
void ItemActionsWidget()References GetHud(), UAInputAPI.GetInputByID(), CGame.GetMission()
Show 21 more
, Mission.GetOnInputDeviceChanged(), Mission.GetOnInputPresetChanged(), UAInput.GetPersistentWrapper(), GetUApi(), DayZGame.GetUpdateQueue(), ScriptInvoker.Insert(), ScriptInvoker.Insert(), ScriptInvoker.Insert(), m_AM, m_Continuous, m_ContinuousInteract, m_Faded, m_FadeTimer, m_HealthEnabled, m_Hidden, m_Hud, m_Interact, m_ItemFrozen, m_QuantityEnabled, m_Single, and m_UseActionWrappervoid ~ItemActionsWidget()Constants 2
protected const float ARROW_ALPHA_NOT_SELECTED = 0.235arrow appearance when the action category is not the one currently controlled by the mouse scroll 0.235 =~ 60/255
Referenced by SetMultipleActionArrowsState()
protected const float ARROW_ALPHA_SELECTED = 1.0Referenced by SetMultipleActionArrowsState()
Members 25
protected PlayerBase m_PlayerReferenced by CheckRefresherFlagVisibility(), GetActionManager(), GetActions()
Show 6 more
, GetEntityInHands(), GetPlayer(), SetActionWidget(), SetItemDesc(), SetWeaponModeAndZeroing(), and Update()protected EntityAI m_EntityInHandsReferenced by BuildCursor(), CheckForActionWidgetOverrides(), GetEntityInHands()
Show 7 more
, GetItemDesc(), GetItemFrozen(), GetItemHealth(), GetItemQuantity(), GetRadioFrequency(), SetWeaponQuantity(), and Update()protected ActionBase m_Interactprotected ActionBase m_ContinuousInteractprotected ActionBase m_SingleReferenced by BuildCursor(), CheckForActionWidgetOverrides(), GetActions()
Show 1 more
, ItemActionsWidget()protected ActionBase m_Continuousprotected ActionManagerClient m_AMprotected IngameHud m_Hudprotected UAIDWrapper m_UseActionWrapperprotected int m_InteractActionsNumprotected int m_ContinuousInteractActionsNumprotected int m_ItemActionsNumprotected int m_ContinuousItemActionsNumprotected typename m_SelectedActionCategoryReferenced by GetActions(), SetMultipleContinuousInteractAction(), SetMultipleContinuousItemAction()
Show 2 more
, SetMultipleInteractAction(), and SetMultipleItemAction()protected bool m_HealthEnabledprotected bool m_QuantityEnabledprotected ref WidgetFadeTimer m_FadeTimerReferenced by ItemActionsWidget()
protected bool m_FadedReferenced by ItemActionsWidget()
protected bool m_Hiddenprotected bool m_ItemFrozenprotected Widget m_RootReferenced by CheckRefresherFlagVisibility(), OnWidgetScriptInit(), SetActionWidget()
Show 14 more
, SetControllerIcon(), SetInteractActionIcon(), SetItemDesc(), SetItemHealth(), SetItemQuantity(), SetMultipleContinuousInteractAction(), SetMultipleContinuousItemAction(), SetMultipleInteractAction(), SetMultipleItemAction(), SetRadioFrequency(), SetWeaponModeAndZeroing(), SetWeaponQuantity(), ShowXboxHidePCIcons(), and Update()protected Widget m_ItemLeftReferenced by OnWidgetScriptInit()
protected float m_RootWidthprotected float m_RootHeightMethods 42
----------
References Class.Cast(), Widget.FindAnyWidget(), InputUtils.GetRichtextButtonIconFromInputAction()
Show 2 more
, TextWidget.SetText(), and m_RootReferenced by UpdateControllerInputIcons()
Referenced by UpdatePCIconsVisibility()
protected void OnWidgetScriptInit(Widget w)References Widget.FindAnyWidget(), Widget.SetHandler(), Widget.Show()
Show 4 more
, UpdateControllerInputIcons(), UpdatePCIconsVisibility(), m_ItemLeft, and m_Rootprotected void OnInputDeviceChanged(EInputDeviceType pInputDeviceType)References UpdatePCIconsVisibility()
private void UpdateControllerInputIcons()Loads icons from the latest keybinds
References SetControllerIcon()
private void UpdatePCIconsVisibility()Contains logic for icon set switching (Gamepad/M&K)
References Input.GetCurrentInputDevice(), CGame.GetInput(), Input.IsEnabledMouseAndKeyboardEvenOnServer()
Show 1 more
, ShowXboxHidePCIcons()protected void BuildCursor()References GetActionDesc(), GetItemDesc(), GetItemFrozen()
Show 27 more
, GetItemHealth(), GetItemQuantity(), GetRadioFrequency(), Object.IsKindOf(), Object.IsTransmitter(), Object.IsWeapon(), string.Length(), SetActionWidget(), SetInteractActionIcon(), SetItemDesc(), SetItemHealth(), SetItemQuantity(), SetMultipleContinuousInteractAction(), SetMultipleContinuousItemAction(), SetMultipleInteractAction(), SetMultipleItemAction(), SetRadioFrequency(), SetWeaponModeAndZeroing(), SetWeaponQuantity(), m_Continuous, m_ContinuousInteract, m_EntityInHands, m_HealthEnabled, m_Interact, m_ItemFrozen, m_QuantityEnabled, and m_SingleReferenced by Update()
protected void Update()transmitter/PAS specific
References BuildCursor(), CheckForActionWidgetOverrides(), CheckRefresherFlagVisibility()
Show 18 more
, GetActionManager(), GetActions(), GetEntityInHands(), IngameHud.GetHudVisibility(), UIManager.GetMenu(), GetPlayer(), CGame.GetUIManager(), Object.IsAlive(), IngameHudVisibility.IsContextFlagActive(), Widget.Show(), IngameHudVisibility.HUD_HIDE_FLAGS, m_AM, m_EntityInHands, m_Hidden, m_Hud, m_MaxWidthChild, m_Player, and m_Rootprotected void GetActionManager()Referenced by Update()
protected void GetActions()References ActionManagerClient.GetPossibleAction(), ActionManagerClient.GetPossibleActionCount(), ActionManagerClient.GetSelectedActionCategory()
Referenced by Update()
protected void GetEntityInHands()Referenced by Update()
protected string GetActionDesc(ActionBase action)Referenced by BuildCursor()
Referenced by BuildCursor()
protected bool GetItemFrozen()Referenced by BuildCursor()
protected int GetItemHealth()Referenced by BuildCursor()
References Class.Cast(), QuantityConversions.GetItemQuantity(), QuantityConversions.HasItemQuantity()
Show 1 more
, m_EntityInHandsReferenced by BuildCursor()
protected string GetRadioFrequency()References Class.CastTo(), ItemTransmitter.GetTunedFrequency(), float.ToString()
Show 2 more
, string.Empty, and m_EntityInHandsReferenced by BuildCursor()
Referenced by BuildCursor()
References Class.CastTo(), Widget.FindAnyWidget(), Widget.FindAnyWidget()
Show 18 more
, Widget.GetParent(), Widget.SetAlpha(), Widget.SetColor(), Widget.Show(), Widget.Show(), Colors.COLOR_BADLY_DAMAGED, Colors.COLOR_DAMAGED, Colors.COLOR_FROZEN, Colors.COLOR_PRISTINE, Colors.COLOR_RUINED, Colors.COLOR_WORN, m_ItemFrozen, m_Root, GameConstants.STATE_BADLY_DAMAGED, GameConstants.STATE_DAMAGED, GameConstants.STATE_PRISTINE, GameConstants.STATE_RUINED, and GameConstants.STATE_WORNReferenced 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 void SetWeaponQuantity(int chamber, int mag, string itemWidget, string quantityPBWidget, string quantityTextWidget, bool enabled)References Class.Cast(), Class.CastTo(), Widget.FindAnyWidget()
Show 20 more
, Widget.FindAnyWidget(), string.Format(), Magazine.GetAmmoCount(), Weapon.GetInternalMagazineCartridgeCount(), Weapon.GetInternalMagazineMaxCartridgeCount(), Weapon.GetMagazine(), Weapon.GetMuzzleCount(), Widget.GetParent(), Weapon.IsChamberEmpty(), Weapon.IsChamberFiredOut(), Weapon.IsChamberFull(), Weapon_Base.IsJammed(), TextWidget.SetText(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Show(), int.ToString(), m_EntityInHands, and m_RootReferenced by BuildCursor()
protected void SetWeaponModeAndZeroing(string itemWidget, string upWidget, string downWidget, bool enabled)Referenced by BuildCursor()
protected string WeaponModeTextTemp()protected void SetRadioFrequency(string freq, string itemWidget, string upWidget, string downWidget, bool enabled)References Class.CastTo(), Widget.FindAnyWidget(), Widget.FindAnyWidget()
Show 4 more
, TextWidget.SetText(), TextWidget.SetText(), Widget.Show(), and m_RootReferenced by BuildCursor()
protected void SetActionWidget(ActionBase action, string descText, string actionWidget, string descWidget)Referenced by BuildCursor()
protected void SetMultipleInteractAction(string multiActionsWidget)shows arrows near the interact action if there are more than one available
References Widget.FindAnyWidget(), SetMultipleActionArrowsState(), Widget.Show()
Show 3 more
, m_InteractActionsNum, m_Root, and m_SelectedActionCategoryReferenced by BuildCursor()
protected void SetMultipleContinuousInteractAction(string multiActionsWidget)shows arrows near the interact action if there are more than one available
References Widget.FindAnyWidget(), SetMultipleActionArrowsState(), Widget.Show()
Show 3 more
, m_ContinuousInteractActionsNum, m_Root, and m_SelectedActionCategoryReferenced by BuildCursor()
protected void SetMultipleItemAction(string multiActionsWidget)References Widget.FindAnyWidget(), SetMultipleActionArrowsState(), Widget.Show()
Show 3 more
, m_ItemActionsNum, m_Root, and m_SelectedActionCategoryReferenced by BuildCursor()
protected void SetMultipleContinuousItemAction(string multiActionsWidget)shows arrows near the interact action if there are more than one available
References Widget.FindAnyWidget(), SetMultipleActionArrowsState(), Widget.Show()
Show 3 more
, m_ContinuousItemActionsNum, m_Root, and m_SelectedActionCategoryReferenced by BuildCursor()
protected void SetMultipleActionArrowsState(Widget multiActionsWidget, string arrowWidgetPrefix, bool selected)dims the arrows of a category which is not the one currently controlled by the scroll wheel
References Widget.FindAnyWidget(), SetArrowAlpha(), ARROW_ALPHA_NOT_SELECTED
Show 1 more
, ARROW_ALPHA_SELECTEDReferenced by SetMultipleContinuousInteractAction(), SetMultipleContinuousItemAction(), SetMultipleInteractAction()
Show 1 more
, SetMultipleItemAction()References Widget.SetAlpha()
Referenced by SetMultipleActionArrowsState()
protected void SetInteractActionIcon(string actionWidget, string actionIconFrameWidget, string actionIconWidget, string actionIconTextWidget)Referenced by BuildCursor()
protected void CheckRefresherFlagVisibility()select first alternative (which is the primary bind)
Referenced by Update()
protected void CheckForActionWidgetOverrides()References Class.CastTo(), ActionManagerBase.GetAction(), ItemBase.GetActionWidgetOverride()
Show 2 more
, m_EntityInHands, and m_SingleReferenced by Update()
protected IngameHud GetHud()Referenced by ItemActionsWidget()