DIFF

class InventorySource

Inventory LayoutHolder ScriptedWidgetEventHandler Managed

All members, including inherited

Constructors 1

Constants 7

const float BT_REPEAT_DELAY = 0.35

delay from first press to begin tick repeat state

const float BT_REPEAT_TIME = 0.09

tick repeat frequency time

const float BT_THRESHOLD_VALUE = 0.8

threshold values for analog inputs

const int INV_MOV_LEFT = 0
Referenced by Update()
const int INV_MOV_RIGHT = 1
Referenced by Update()
const int INV_MOV_UP = 2
Referenced by Update()
const int INV_MOV_DOWN = 3
Referenced by Update()

Members 33

protected ref PlayerPreview m_PlayerPreview
protected ref InventoryQuickbar m_Quickbar
Referenced by Inventory(), and RefreshQuickbar()
protected Widget m_QuickbarWidget
Referenced by Inventory(), and RefreshQuickbar()
protected Widget m_TopConsoleToolbarVicinity
protected Widget m_TopConsoleToolbarHands
protected Widget m_TopConsoleToolbarEquipment
protected Widget m_BottomConsoleToolbar
protected RichTextWidget m_BottomConsoleToolbarRichText
protected ref ContextMenu m_ContextMenu
protected static ref map<string, int> m_PlayerAttachmentsIndexes
protected bool m_HadFastTransferred
Referenced by OnShow(), and UpdateInterval()
protected bool m_HadInspected
Referenced by OnShow(), and UpdateInterval()
protected bool m_NeedUpdateConsoleToolbar
protected static Inventory m_Instance
Referenced by GetInstance(), Inventory(), MoveAttachmentDown()
Show 1 more, MoveAttachmentUp()
protected int m_ControllerAngle
Referenced by Controller()
protected int m_ControllerTilt
Referenced by Controller()
protected bool m_ControllerRightStickTimerEnd = true
Referenced by Controller(), and TimerEnd()
protected ref Timer m_ControllerRightStickTimer
Referenced by Controller(), Inventory(), and TimerEnd()
protected bool m_HoldingQB
Referenced by UpdateInterval()
protected InventoryItem m_QBHoveredItems
Referenced by UpdateInterval()
protected ref array<string> m_InvInputNames = {"UAUILeftInventory","UAUIRightInventory","UAUIUpInventory","UAUIDownInventory"}
protected ref array<UAIDWrapper> m_InvInputWrappers
protected ref array<float> m_InvInputTimes
protected int m_InvInputWrappersCount
protected float m_SensitivityThreshold = 0.0
UAInput m_InvUAInput
int m_InvInputActive = 0
UAInput m_InpInp = null
protected Widget m_SpecializationPanel
protected Widget m_SpecializationIcon

Methods 46

protected void OnInputPresetChanged()
static int GetPlayerAttachmentIndex(string slot_name)
static int GetPlayerAttachmentIndex(int slot_id)
protected int GetProperControllerStickAngle(int angle)
Referenced by Controller()
protected int AngleToDirection(int angle)
Referenced by Controller()
void DraggingOverHandsPanel(Widget w, int x, int y, Widget receiver)
void OnHandsPanelDropReceived(Widget w, int x, int y, Widget receiver)
void OnLeftPanelDropReceived(Widget w, int x, int y, Widget receiver)
void DraggingOverLeftPanel(Widget w, int x, int y, Widget receiver)
void DraggingOverRightPanel(Widget w, int x, int y, Widget receiver)
override void UpdateInterval()
References Container.AddItemToQuickbarRadial(), Container.AddItemToQuickbarRadial(), AddQuickbarItem()
Show 86 more, Container.CanCombine(), Container.CanCombine(), GameInventory.CanRemoveEntity(), Class.Cast(), Class.Cast(), Class.Cast(), Container.Combine(), RightArea.Combine(), DisableMicromanagement(), EnableMicromanagement(), Container.EquipItem(), Container.EquipItem(), RightArea.EquipItem(), LeftArea.ExpandCollapseContainer(), RightArea.ExpandCollapseContainer(), GameInventory.FlipCargo(), Input.GetCurrentInputDevice(), DayZPlayerImplement.GetDayZPlayerInventory(), ItemManager.GetDraggedItem(), Man.GetEntityInHands(), GameInventory.GetFlipCargo(), Container.GetFocusedItem(), LeftArea.GetFocusedItem(), Container.GetFocusedItem(), ItemManager.GetHoveredItem(), CGame.GetInput(), UAInputAPI.GetInputByID(), UAInputAPI.GetInputByName(), ItemManager.GetInstance(), EntityAI.GetInventory(), CGame.GetInventoryItemSize(), LayoutHolder.GetMainWidget(), CGame.GetMission(), EntityAI.GetOnItemFlipped(), CGame.GetPlayer(), GetUApi(), MissionGameplay.HideInventory(), LayoutHolder.HideOwnedTooltip(), Container.InspectItem(), Container.InspectItem(), RightArea.InspectItem(), ScriptInvoker.Invoke(), LayoutHolder.IsActive(), LeftArea.IsActive(), LayoutHolder.IsActive(), ItemManager.IsMicromanagmentMode(), DayZPlayerInventory.IsProcessing(), Widget.IsVisible(), UAInput.LocalHold(), UAInput.LocalHoldBegin(), UAInput.LocalPress(), UAInput.LocalPress(), UAInput.LocalRelease(), UAInput.LocalValue(), MoveFocusByArea(), MoveFocusByContainer(), Container.Select(), Container.Select(), RightArea.Select(), Container.SetActive(), LeftArea.SetActive(), Container.SetActive(), Container.SplitItem(), Container.SplitItem(), RightArea.SplitItem(), Container.TransferItem(), Container.TransferItem(), Container.TransferItemToVicinity(), RightArea.TransferItemToVicinity(), Container.UnfocusGrid(), LeftArea.UnfocusGrid(), RightArea.UnfocusGrid(), UpdateConsoleToolbar(), UpdateConsoleToolbarCheck(), HandsArea.UpdateInterval(), LeftArea.UpdateInterval(), PlayerPreview.UpdateInterval(), RightArea.UpdateInterval(), m_HadFastTransferred, m_HadInspected, m_HandsArea, m_HoldingQB, m_LeftArea, m_PlayerPreview, m_QBHoveredItems, and m_RightArea
void Init()
Referenced by InventoryMenu.Init()
void UpdateConsoleToolbar()
string GetStringVariant(string pInputAction, notnull array<string> variants)

Picks from the strings by active input limiter variant in order: {click,hold,doubleclick}. Intended for inputs that check 'LocalPress' exclusively!!

void UpdateSpecialtyMeter()