class ContainerSource
Container › LayoutHolder › ScriptedWidgetEventHandler › Managed
Derived classes
All members, including inherited
Constructors 1
void Container(LayoutHolder parent)References Widget.GetAlpha(), m_ActiveIndex, m_Body
Show 7 more
, m_ForcedHide, m_ForcedShow, LayoutHolder.m_IsActive, m_OpenedContainers, m_PrevAlpha, LayoutHolder.m_RootWidget, and m_SlotIconConstants 5
const int ITEMS_IN_ROW = 8Referenced by AttachmentCategoriesContainer.InitGhostSlots(), AttachmentCategoriesContainer.InitIconsContainers(), AttachmentCategoriesContainer.ShowInSlots()
Show 14 more
, AttachmentCategoriesRow.Init(), AttachmentCategoriesRow.UnfocusAll(), AttachmentCategoriesSlotsContainer.AttachmentCategoriesSlotsContainer(), UnfocusAll(), IconsContainer.UnfocusAll(), PlayerContainer.PlayerContainer(), PlayerContainer.SetPlayer(), SlotsContainer.SlotsContainer(), VicinitySlotsContainer.~VicinitySlotsContainer(), VicinitySlotsContainer.RecomputeNumberOfContainers(), VicinitySlotsContainer.ShowItemsInContainers(), VicinitySlotsContainer.VicinitySlotsContainer(), ZombieContainer.GetWidgetSlot(), and ZombieContainer.InitGhostSlots()const int SORT_ATTACHMENTS_OWN = 1direct attachments of the parent item
Referenced by ContainerWithCargoAndAttachments.SetEntity()
const int SORT_CARGO_OWN = 2cargo of the parent item
Referenced by ContainerWithCargoAndAttachments.SetEntity()
const int SORT_ATTACHMENTS_NEXT_OFFSET = 2const int SORT_CARGO_NEXT_OFFSET = 3Members 13
protected ref array<ref LayoutHolder> m_Bodyprotected ref array<LayoutHolder> m_OpenedContainersReferenced by AttachmentCategoriesContainer.CanOpenCloseContainerEx(), AttachmentCategoriesContainer.ExpandCollapseContainer(), AttachmentCategoriesContainer.InitIconsContainers()
Show 29 more
, AttachmentsGroupContainer.GetColumnCountForRow(), AttachmentsGroupContainer.GetRowCount(), AttachmentsGroupContainer.GetSlotsIcon(), AttachmentsGroupContainer.SetNextActive(), AttachmentsGroupContainer.SetPreviousActive(), Container(), GetFocusedContainer(), IsEmpty(), IsLastContainerFocused(), IsLastIndex(), RecomputeOpenedContainers(), Remove(), SetActive(), SetFirstActive(), SetLastActive(), SetLastFocus(), SetNextActive(), SetNextLeftActive(), SetNextRightActive(), SetPreviousActive(), SetSameLevelNextActive(), SetSameLevelPreviousActive(), ContainerWithCargoAndAttachments.IsLastIndex(), HandsContainer.IsLastIndex(), HandsContainer.SetFocusToIndex(), LeftArea.GetCurrentContainerBottomY(), LeftArea.GetCurrentContainerTopY(), LeftArea.IsActive(), and LeftArea.UnfocusGrid()protected int m_ActiveIndex = 0Referenced by AttachmentCategoriesContainer.CanOpenCloseContainerEx(), AttachmentCategoriesContainer.ExpandCollapseContainer(), AttachmentsGroupContainer.SetNextActive()
Show 42 more
, AttachmentsGroupContainer.SetPreviousActive(), Container(), GetActiveIndex(), GetFocusedContainer(), GetFocusedContainerHeight(), GetFocusedContainerYScreenPos(), Insert(), IsFirstContainerFocused(), IsFirstIndex(), IsLastContainerFocused(), IsLastIndex(), RecomputeOpenedContainers(), Remove(), ResetFocusedContainer(), SetActive(), SetActiveIndex(), SetDefaultFocus(), SetFirstActive(), SetLastActive(), SetLastFocus(), SetNextActive(), SetNextLeftActive(), SetNextRightActive(), SetPreviousActive(), SetSameLevelNextActive(), SetSameLevelPreviousActive(), ContainerWithCargoAndAttachments.IsLastIndex(), HandsContainer.EquipItem(), HandsContainer.InspectItem(), HandsContainer.IsLastIndex(), HandsContainer.OnSelectButton(), HandsContainer.SetFocusToIndex(), HandsContainer.SetLastActive(), HandsContainer.ShowAtt(), HandsContainer.SplitItem(), HandsContainer.TransferItem(), HandsContainer.TransferItemToVicinity(), LeftArea.GetCurrentContainerBottomY(), LeftArea.GetCurrentContainerTopY(), LeftArea.IsActive(), LeftArea.LeftArea(), and RightArea.RightArea()protected bool m_LastIndexdeprecated
protected bool m_Closedprotected Container m_FocusedContainerReferenced by SetFocusedContainer()
protected float m_PrevAlphaReferenced by Container()
protected int m_ColumnCountprotected int m_FocusedColumn = 0Referenced by AttachmentsGroupContainer.AttachmentsGroupContainer(), AttachmentsGroupContainer.SetActive(), AttachmentsGroupContainer.SetDefaultFocus()
Show 13 more
, GetFocusedColumn(), SetActive(), SetFocusedColumn(), SetLastFocus(), UnfocusGrid(), SlotsContainer.GetFocusedSlotsIcon(), SlotsContainer.GetVisibleFocus(), SlotsContainer.SetDefaultFocus(), SlotsContainer.SetNextLeftActive(), SlotsContainer.SetNextRightActive(), SlotsContainer.SetVisibleFocus(), SlotsContainer.Unfocus(), and SlotsContainer.UpdateIcon()protected bool m_ForcedHideprotected bool m_ForcedShowused to override displayability condition, but 'm_ForcedHide' takes preference
protected SlotsIcon m_SlotIconReferenced by AttachmentCategoriesContainer.Close(), AttachmentCategoriesContainer.OnHide(), AttachmentCategoriesContainer.UpdateRadialIcon()
Show 11 more
, ClosableContainer.UpdateRadialIcon(), Container(), SetOpenForSlotIcon(), SetSlotIcon(), UpdateRadialIcon(), ContainerWithCargo.Close(), ContainerWithCargo.Open(), ContainerWithCargo.UpdateInterval(), ContainerWithCargoAndAttachments.UpdateInterval(), PlayerContainer.UpdateRadialIcon(), and ZombieContainer.UpdateRadialIcon()protected EntityAI m_EntityMethods 98
Referenced by Header.OnDropReceivedFromHeader()
Referenced by Header.DraggingOverHeader()
void UpdateSpacer()Referenced by UpdateBodySpacers()
Header GetHeader()Referenced by CargoContainer.UpdateHeaderText(), GetFocusedContainerHeight(), GetFocusedContainerYScreenPos()
Show 3 more
, SetActive(), SetLastActive(), and VicinityContainer.UpdateHeader()void SetHeader(Header header)Referenced by AttachmentCategoriesRow.Init()
void CheckHeaderDragability()Container GetFocusedContainer()Referenced by AttachmentCategoriesRow.Select(), ClosableContainer.GetFocusedContainerHeight(), ClosableContainer.GetFocusedContainerYPos(), and 63 more
void SetFocusedContainer(Container cont)References m_FocusedContainer
Referenced by HandsContainer.SetFocusToIndex()
SlotsIcon GetFocusedSlotsIcon()Referenced by AttachmentCategoriesContainer.CanOpenCloseContainerEx(), AttachmentCategoriesContainer.ExpandCollapseContainer(), AttachmentCategoriesRow.CanCombine()
Show 17 more
, AttachmentCategoriesRow.Combine(), AttachmentCategoriesRow.GetFocusedSlot(), AttachmentCategoriesRow.IsItemActive(), AttachmentCategoriesRow.IsItemWithQuantityActive(), AttachmentCategoriesRow.Select(), AttachmentCategoriesRow.TransferItem(), AttachmentCategoriesRow.TransferItemToVicinity(), Attachments.GetFocusedSlot(), Attachments.GetFocusedSlotsIcon(), GetFocusedSlotsIcon(), SetSameLevelNextActive(), SetSameLevelPreviousActive(), PlayerContainer.ExpandCollapseContainer(), PlayerContainer.Select(), VicinitySlotsContainer.PrepareOwnedTooltipAfterItemTransfer(), ZombieContainer.CanOpenCloseContainerEx(), and ZombieContainer.ExpandCollapseContainer()int GetActiveIndex()References m_ActiveIndex
void SetActiveIndex(int index)References m_ActiveIndex
ScrollWidget GetSlotsScrollWidget()ScrollWidget GetScrollWidget()void UpdateRadialIcon()void SetSlotIcon(SlotsIcon icon)References m_SlotIcon
void SetDefaultFocus(bool while_micromanagment_mode = false)References m_ActiveIndex
Referenced by AttachmentsGroupContainer.SetDefaultFocus(), CargoContainer.SetDefaultFocus(), SetActive()
Show 2 more
, SetFirstActive(), and HandsPreview.SetDefaultFocus()void SetLastFocus()void Unfocus()void MoveGridCursor(int direction)void ScrollToActiveContainer()void ScrollToActiveContainer(ScrollWidget sw)void CheckScrollbarVisibility()void CheckScrollbarVisibility(ScrollWidget sw)void Open()Referenced by AttachmentCategoriesContainer.Open(), ClosableContainer.Open(), CollapsibleContainer.OnShow()
Show 1 more
, Toggle()void Close()References SlotsIcon.GetRadialIcon(), SlotsIcon.GetRadialIconClosed(), Widget.Show()
Show 2 more
, Widget.Show(), and m_SlotIconReferenced by AttachmentCategoriesContainer.Close(), AttachmentCategoriesContainer.Open(), AttachmentCategoriesContainer.UpdateRadialIcon()
Show 11 more
, AttachmentCategoriesRow.RefreshSlot(), ClosableContainer.Close(), ClosableContainer.Open(), ClosableContainer.UpdateRadialIcon(), Toggle(), ContainerWithCargo.Close(), ContainerWithCargo.Open(), ContainerWithCargo.UpdateInterval(), ContainerWithCargoAndAttachments.UpdateInterval(), PlayerContainer.ItemAttached(), and PlayerContainer.UpdateRadialIcon()void Toggle()References GetFocusedContainer(), GetFocusedContainerYPos(), Widget.GetPos()
Show 1 more
, LayoutHolder.GetRootWidget()int Count()bool SelectItem()bool Select()Referenced by AttachmentCategoriesRow.Select(), Select(), HandsContainer.OnSelectButton()
Show 3 more
, Inventory.UpdateInterval(), PlayerContainer.Select(), and ZombieContainer.Select()bool OnSelectButton()bool Combine()bool TransferItemToVicinity()bool TransferItem()Referenced by TransferItem(), HandsContainer.TransferItem(), Inventory.UpdateInterval()
Show 2 more
, PlayerContainer.TransferItem(), and ZombieContainer.TransferItem()bool InspectItem()bool SplitItem()References CanSplit(), Class.Cast(), GetFocusedContainer()
Show 3 more
, GetFocusedItem(), ItemBase.OnRightClick(), and SplitItem()Referenced by SplitItem(), ContainerWithCargo.SplitItem(), HandsContainer.SplitItem()
Show 2 more
, Inventory.UpdateInterval(), and RightArea.SplitItem()bool EquipItem()Referenced by EquipItem(), ContainerWithCargo.EquipItem(), HandsContainer.EquipItem()
Show 3 more
, Inventory.UpdateInterval(), RightArea.EquipItem(), and ZombieContainer.EquipItem()bool CanOpenCloseContainer()References CanOpenCloseContainerEx(), CanOpenCloseContainerEx(), GetFocusedContainer()
Show 3 more
, GetFocusedItem(), ItemManager.GetInstance(), and ItemManager.IsMicromanagmentMode()bool CanSplit()References EntityAI.CanBeSplit(), CanSplitEx(), GetFocusedContainer()
Show 2 more
, ItemManager.GetInstance(), and ItemManager.IsMicromanagmentMode()bool CanDrop()References PlayerBase.CanDropEntity(), Class.Cast(), ItemManager.GetInstance()
Show 2 more
, CGame.GetPlayer(), and ItemManager.IsMicromanagmentMode()bool CanSwapOrTakeToHands()References CanSwapOrTakeToHandsEx(), CanSwapOrTakeToHandsEx(), GetFocusedContainer()
Show 1 more
, GetFocusedItem()bool CanEquip()References GameInventory.CanSwapEntitiesEx(), Class.Cast(), GameInventory.FindAttachment()
Show 12 more
, GameInventory.FindAttachment(), GameInventory.FindFreeLocationFor(), ItemManager.GetInstance(), EntityAI.GetInventory(), EntityAI.GetInventory(), EntityAI.GetInventory(), InventoryLocation.GetParent(), CGame.GetPlayer(), InventoryLocation.GetSlot(), GameInventory.GetSlotId(), GameInventory.GetSlotIdCount(), and ItemManager.IsMicromanagmentMode()bool CanTakeToInventory()References CanTakeToInventoryEx(), CanTakeToInventoryEx(), GetFocusedContainer()
Show 1 more
, GetFocusedItem()bool CanCombine()Referenced by CargoContainer.Combine(), ContainerWithCargo.CanCombine(), Inventory.UpdateInterval()
Show 1 more
, PlayerContainer.Combine()References Class.Cast(), ItemManager.GetCombinationFlags(), ItemManager.GetInstance()
Show 3 more
, PlayerBase.GetItemInHands(), CGame.GetPlayer(), and ItemManager.IsMicromanagmentMode()bool CanCombineAmmo()Referenced by CanCombineAmmo()
References Class.Cast(), EntityAI.GetHierarchyRootPlayer(), ItemManager.GetInstance()
Show 2 more
, CGame.GetPlayer(), and ItemManager.IsMicromanagmentMode()Referenced by Inventory.UpdateInterval()
bool IsEmpty()bool IsItemActive()Referenced by IsItemActive()
bool IsItemWithQuantityActive()Referenced by IsItemWithQuantityActive()
EntityAI GetFocusedItem()Referenced by AttachmentCategoriesRow.CanCombine(), AttachmentCategoriesRow.Combine(), AttachmentCategoriesRow.IsItemActive()
Show 39 more
, AttachmentCategoriesRow.IsItemWithQuantityActive(), AttachmentCategoriesRow.Select(), AttachmentCategoriesRow.TransferItem(), AttachmentCategoriesRow.TransferItemToVicinity(), Attachments.GetFocusedItem(), CanCombine(), CanDrop(), CanEquip(), CanOpenCloseContainer(), CanSplit(), CanSwapOrTakeToHands(), CanTakeToInventory(), EquipItem(), GetFocusedItem(), SplitItem(), HandsContainer.OnSelectButton(), Inventory.UpdateConsoleToolbar(), Inventory.UpdateInterval(), LeftArea.GetFocusedItem(), PlayerContainer.GetFocusedItem(), VicinityContainer.ExpandCollapseContainer(), VicinitySlotsContainer.CanCombineAmmo(), VicinitySlotsContainer.Combine(), VicinitySlotsContainer.InspectItem(), VicinitySlotsContainer.IsEmptyItemActive(), VicinitySlotsContainer.IsItemActive(), VicinitySlotsContainer.IsItemWithContainerActive(), VicinitySlotsContainer.IsItemWithQuantityActive(), VicinitySlotsContainer.IsTakeable(), VicinitySlotsContainer.PrepareOwnedTooltipAfterItemTransfer(), VicinitySlotsContainer.Select(), VicinitySlotsContainer.TransferItem(), ZombieContainer.EquipItem(), ZombieContainer.IsEmptyItemActive(), ZombieContainer.IsItemWithContainerActive(), ZombieContainer.IsItemWithQuantityActive(), ZombieContainer.Select(), ZombieContainer.TransferItem(), and ZombieContainer.TransferItemToVicinity()EntityAI GetFocusedContainerEntity()Referenced by GetFocusedContainerEntity()
int GetColumnCount()References m_ColumnCount
void SetColumnCount(int count)References m_ColumnCount
int GetFocusedColumn()References m_FocusedColumn
void SetFocusedColumn(int column)References m_FocusedColumn
override void UpdateInterval()References CheckHeaderDragability(), array.Count(), array.Get()
Show 2 more
, UpdateInterval(), and m_Bodyoverride void SetLastActive()override void SetFirstActive()override void SetActive(bool active)References Class.Cast(), array.Count(), Widget.FindAnyWidget()
Show 16 more
, array.Get(), GetFocusedContainer(), GetHeader(), LayoutHolder.HideOwnedTooltip(), SetActive(), SetActive(), Header.SetActive(), LayoutHolder.SetActive(), SetDefaultFocus(), Widget.Show(), Unfocus(), m_ActiveIndex, m_FocusedColumn, LayoutHolder.m_IsActive, LayoutHolder.m_MainWidget, and m_OpenedContainersReferenced by AttachmentsGroupContainer.SetActive(), AttachmentsGroupContainer.SetNextActive(), AttachmentsGroupContainer.SetPreviousActive()
Show 14 more
, CargoContainer.Select(), CargoContainer.SetActive(), RecomputeOpenedContainers(), SetActive(), SetFirstActive(), SetNextActive(), SetPreviousActive(), SetSameLevelNextActive(), SetSameLevelPreviousActive(), HandsContainer.SetActive(), Inventory.MoveFocusByArea(), Inventory.ResetFocusedContainers(), Inventory.UpdateInterval(), and LeftArea.SetActive()void UnfocusAll()References Count(), Get(), SlotsIcon.GetCursorWidget()
Show 4 more
, LayoutHolder.GetMainWidget(), Widget.GetUserData(), Widget.Show(), and ITEMS_IN_ROWReferenced by Attachments.UnfocusAll(), UnfocusGrid(), and PlayerContainer.UnfocusPlayerAttachmentsContainer()
void UnfocusGrid()Referenced by Inventory.MoveFocusByArea(), Inventory.ResetFocusedContainers(), Inventory.UpdateInterval()
Show 2 more
, LeftArea.UnfocusGrid(), and RightArea.UnfocusGrid()bool IsLastIndex()bool IsFirstIndex()References m_ActiveIndex
bool IsFirstContainerFocused()References m_ActiveIndex
bool IsLastContainerFocused()Referenced by AttachmentsGroupContainer.SetNextActive(), SetNextActive(), SetSameLevelNextActive()
Show 1 more
, ContainerWithCargo.IsLastContainerFocused()void ResetFocusedContainer()void SetNextActive()void SetPreviousActive(bool force = false)Referenced by AttachmentsGroupContainer.SetPreviousActive(), MoveGridCursor(), Remove()
Show 1 more
, SetPreviousActive()void SetNextRightActive()References Class.Cast(), array.Count(), SetNextRightActive()
Show 2 more
, m_ActiveIndex, and m_OpenedContainersvoid SetNextLeftActive()References Class.Cast(), array.Count(), SetNextLeftActive()
Show 2 more
, m_ActiveIndex, and m_OpenedContainersvoid SetSameLevelNextActive()References Class.Cast(), Class.Cast(), Class.Cast()
Show 15 more
, array.Count(), GetFocusedSlotsIcon(), LayoutHolder.GetParent(), LayoutHolder.GetParent(), LayoutHolder.GetParent(), LayoutHolder.HideOwnedTooltip(), LayoutHolder.IsActive(), IsLastContainerFocused(), SetActive(), AttachmentsGroupContainer.SetActive(), SetActive(), SetFirstActive(), SetSameLevelNextActive(), m_ActiveIndex, and m_OpenedContainersReferenced by SetSameLevelNextActive(), HandsArea.SetSameLevelNextActive(), LeftArea.SetSameLevelNextActive()
Show 1 more
, RightArea.SetSameLevelNextActive()void SetSameLevelPreviousActive()References Class.Cast(), Class.Cast(), Class.Cast()
Show 15 more
, array.Count(), GetFocusedSlotsIcon(), LayoutHolder.GetParent(), LayoutHolder.GetParent(), LayoutHolder.GetParent(), LayoutHolder.HideOwnedTooltip(), LayoutHolder.IsActive(), IsFirstContainerFocused(), SetActive(), AttachmentsGroupContainer.SetActive(), SetLastActive(), SetLastActive(), SetSameLevelPreviousActive(), m_ActiveIndex, and m_OpenedContainersvoid RecomputeOpenedContainers()Referenced by AttachmentCategoriesContainer.CollapseButtonOnMouseButtonDown(), AttachmentCategoriesContainer.ExpandCollapseContainer(), AttachmentCategoriesContainer.InitGhostSlots()
Show 39 more
, AttachmentCategoriesContainer.SetEntity(), AttachmentCategoriesContainer.UpdateInterval(), AttachmentCategoriesRow.AttachmentCategoriesRow(), Attachments.InitAttachmentGrid(), CollapsibleContainer.Insert(), CollapsibleContainer.Remove(), RecomputeOpenedContainers(), ContainerWithCargo.ContainerWithCargo(), ContainerWithCargo.UpdateInterval(), ContainerWithCargoAndAttachments.AttachmentAddedEx(), ContainerWithCargoAndAttachments.AttachmentRemoved(), ContainerWithCargoAndAttachments.HideCargo(), ContainerWithCargoAndAttachments.SetEntity(), ContainerWithCargoAndAttachments.ShowCargo(), HandsArea.HandsArea(), HandsContainer.AttachmentAdded(), HandsContainer.AttachmentRemoved(), HandsContainer.DestroyAtt(), HandsContainer.DestroyCargo(), HandsContainer.HandsContainer(), HandsContainer.HideCargo(), HandsContainer.ShowAtt(), HandsContainer.ShowCargo(), LeftArea.LeftArea(), PlayerContainer.Insert(), PlayerContainer.ItemAttached(), PlayerContainer.ItemDetached(), PlayerContainer.PlayerContainer(), PlayerContainer.SwapItemsInOrder(), PlayerContainer.ToggleWidget(), RightArea.RightArea(), VicinityContainer.UpdateInterval(), VicinityContainer.VicinityContainer(), VicinitySlotsContainer.RecomputeNumberOfContainers(), ZombieContainer.InitGhostSlots(), ZombieContainer.ItemAttached(), ZombieContainer.ItemDetached(), ZombieContainer.ToggleContainer(), and ZombieContainer.ZombieContainer()override void SetLayoutName()void Insert(LayoutHolder container, int pos = -1, bool immedUpdate = true)References array.Count(), array.Insert(), array.InsertAt()
Show 3 more
, Refresh(), m_ActiveIndex, and m_BodyReferenced by AttachmentCategoriesRow.Init(), Attachments.InitAttachmentGrid(), CollapsibleContainer.Insert()
Show 10 more
, ContainerWithCargo.ContainerWithCargo(), ContainerWithCargo.SetEntity(), ContainerWithCargoAndAttachments.AttachmentAddedEx(), ContainerWithCargoAndAttachments.SetEntity(), HandsContainer.Insert(), PlayerContainer.AddSlotsContainer(), VicinityContainer.UpdateInterval(), VicinitySlotsContainer.RecomputeNumberOfContainers(), VicinitySlotsContainer.VicinitySlotsContainer(), and ZombieContainer.AddSlotsContainer()void Remove(LayoutHolder container)References array.Find(), array.Find(), GetFocusedContainer()
Show 7 more
, Refresh(), array.RemoveItem(), array.RemoveItem(), SetPreviousActive(), m_ActiveIndex, m_Body, and m_OpenedContainersLayoutHolder Get(int x)override void Refresh()void UpdateBodySpacers()References Class.Cast(), array.Count(), array.Get()
Show 4 more
, Class.IsInherited(), UpdateSpacer(), UpdateSpacer(), and m_Bodyvoid HideContent(bool force_hide = false)void ShowContent(bool force_show = false)Referenced by ClosableHeader.OnDropHeader()
void SetForceShow(bool value)References m_ForcedShow
Referenced by VicinitySlotsContainer.VicinitySlotsContainer()
override void UpdateSelectionIcons()void ExpandCollapseContainer()Referenced by LeftArea.ExpandCollapseContainer()