class VicinityContainerSource
VicinityContainer › CollapsibleContainer › Container › LayoutHolder › ScriptedWidgetEventHandler › Managed
All members, including inherited
Constructors 1
void VicinityContainer(LayoutHolder parent, int sort = -1)References Widget.AddChild(), Widget.AddChild(), Class.Cast()
Show 25 more
, Widget.FindAnyWidget(), Widget.GetFlags(), CollapsibleContainer.GetHeader(), WidgetEventHandler.GetInstance(), LayoutHolder.GetParent(), LayoutHolder.GetRootWidget(), LayoutHolder.GetRootWidget(), LeftArea.GetScrollWidget(), LeftArea.GetSlotsArea(), LeftArea.GetSlotsHeader(), array.Insert(), CollapsibleContainer.LoadDefaultState(), Container.RecomputeOpenedContainers(), WidgetEventHandler.RegisterOnChildAdd(), WidgetEventHandler.RegisterOnChildRemove(), Widget.SetColor(), Widget.SetFlags(), Header.SetName(), new VicinitySlotsContainer(), Container.m_Body, m_CargoScrollWidget, CollapsibleContainer.m_CollapsibleHeader, LayoutHolder.m_MainWidget, LayoutHolder.m_RootWidget, and m_VicinityIconsContainerReferenced by LeftArea.LeftArea()
Constants 6
const float DISTANCE_TO_ENTITIES = 1.0const float DISTANCE_TO_THE_REST = 0.5const int ITEMS_PER_COLUMN_MAX = 8Referenced by UpdateInterval()
const float VICINITY_CARGO_SCROLLER_HEIGHT_MIN = 0.77Referenced by UpdateInterval()
const float VICINITY_CARGO_SCROLLER_HEIGHT_MID = 0.78Referenced by UpdateInterval()
const float VICINITY_CARGO_SCROLLER_HEIGHT_MAX = 0.87Referenced by UpdateInterval()
Members 7
ref VicinitySlotsContainer m_VicinityIconsContainerReferenced by GetVicinityIconsContainer(), IsVicinityContainerIconsActive(), UpdateInterval()
Show 1 more
, VicinityContainer()Referenced by CanOpenCloseContainerEx(), ExpandCollapseContainer(), ToggleContainer()
Show 2 more
, TraverseShowedItems(), and UpdateInterval()Referenced by UpdateInterval()
Referenced by DraggingOverHeader(), DraggingOverIcon(), OnDropReceivedFromHeader()
Show 1 more
, UpdateInterval()Referenced by UpdateInterval()
protected bool m_IsProcessing = falsePrevents refreshing every time a child is added while it is still processing
protected ScrollWidget m_CargoScrollWidget!PLATFORM_CONSOLEMethods 21
bool IsVicinityContainerIconsActive()VicinitySlotsContainer GetVicinityIconsContainer()References m_VicinityIconsContainer
bool IsContainerWithCargoActive()bool IsItemWithAttachmentsActive()bool IsItemWithCategoriesActive()void TraverseShowedItems()References Class.Cast(), FileSerializer.Close(), Contains()
Show 14 more
, map.Count(), Count(), new FileSerializer(), map.GetElement(), GetElement(), map.GetKey(), map.GetKey(), Object.GetType(), Insert(), Class.IsInherited(), ContainerWithCargo.IsOpened(), FileSerializer.Open(), Serializer.Write(), and m_ShowedItemsReferences Man.CanDropEntity(), GameInventory.CanRemoveEntity(), Class.Cast()
Show 20 more
, array.Find(), Widget.FindAnyWidget(), Widget.GetFlags(), ColorManager.GetInstance(), ItemManager.GetInstance(), EntityAI.GetInventory(), ItemPreviewWidget.GetItem(), ItemManager.GetLeftDropzone(), ItemManager.GetLeftSlotsScroller(), Widget.GetName(), CGame.GetPlayer(), ItemManager.HideDropzones(), string.Replace(), Widget.SetAlpha(), ColorManager.SetColor(), Widget.SetFlags(), ItemManager.ShowSourceDropzone(), ColorManager.GREEN_COLOR, m_ShowedItemIcons, and ColorManager.RED_COLORReferenced by LeftArea.DraggingOverHeader()
References ItemBase.CanBeCombined(), GameInventory.CanRemoveEntity(), GameInventory.CanSwapEntitiesEx()
Show 22 more
, Class.Cast(), Class.Cast(), array.Find(), Widget.FindAnyWidget(), Widget.FindAnyWidget(), ColorManager.GetInstance(), ItemManager.GetInstance(), EntityAI.GetInventory(), ItemPreviewWidget.GetItem(), ItemPreviewWidget.GetItem(), ItemManager.GetLeftDropzone(), Widget.GetName(), Widget.GetName(), ItemManager.HideDropzones(), string.Replace(), Widget.SetAlpha(), ColorManager.SetColor(), ItemManager.ShowSourceDropzone(), ColorManager.COMBINE_COLOR, m_ShowedItemIcons, ColorManager.RED_COLOR, and ColorManager.SWAP_COLORReferences ItemBase.CanBeCombined(), GameInventory.CanRemoveEntity(), GameInventory.CanRemoveEntity()
Show 31 more
, GameInventory.CanSwapEntitiesEx(), Class.Cast(), Class.Cast(), Class.Cast(), Class.Cast(), ItemBase.CombineItemsClient(), Widget.FindAnyWidget(), Widget.FindAnyWidget(), UIManager.FindMenu(), GameInventory.GetCurrentInventoryLocation(), GameInventory.GetCurrentInventoryLocation(), ItemManager.GetInstance(), EntityAI.GetInventory(), EntityAI.GetInventory(), ItemPreviewWidget.GetItem(), ItemPreviewWidget.GetItem(), Widget.GetName(), Widget.GetName(), CGame.GetPlayer(), InventoryLocation.GetType(), InventoryLocation.GetType(), Object.GetType(), Object.GetType(), CGame.GetUIManager(), ItemManager.HideDropzones(), Class.IsInherited(), PlayerBase.PredictiveSwapEntities(), LayoutHolder.PrepareOwnedTooltip(), InventoryMenu.RefreshQuickbar(), string.Replace(), and ItemManager.SetIsDragging()References OnDropReceivedFromHeader()
Referenced by LeftArea.OnLeftPanelDropReceived()
References OnDropReceivedFromHeader()
References PlayerBase.CanDropEntity(), GameInventory.CanRemoveEntity(), Class.Cast()
Show 22 more
, Class.Cast(), Class.Cast(), Class.Cast(), array.Find(), Widget.FindAnyWidget(), UIManager.FindMenu(), ItemManager.GetInstance(), EntityAI.GetInventory(), ItemPreviewWidget.GetItem(), Widget.GetName(), CGame.GetPlayer(), ItemBase.GetQuantity(), ItemBase.GetTargetQuantityMax(), CGame.GetUIManager(), ItemManager.HideDropzones(), Class.IsInherited(), PlayerBase.PhysicalPredictiveDropItem(), InventoryMenu.RefreshQuickbar(), string.Replace(), ItemManager.SetIsDragging(), ItemBase.SplitIntoStackMaxClient(), and m_ShowedItemIconsoverride void UpdateInterval()References new AttachmentCategoriesContainer(), Class.Cast(), Class.Cast()
Show 112 more
, Class.Cast(), Class.Cast(), array.Clear(), Clear(), CGame.ConfigIsExisting(), new ContainerWithCargo(), new ContainerWithCargoAndAttachments(), new ContainerWithElectricManager(), map.Contains(), map.Contains(), Contains(), Contains(), Count(), map.Count(), array.Count(), map.Count(), array.Count(), array.Count(), Object.DisableVicinityIcon(), array.Find(), Get(), map.Get(), map.Get(), map.Get(), array.Get(), array.Get(), GameInventory.GetCargo(), CargoBase.GetCargoOwner(), DayZPlayerImplement.GetDeltaT(), map.GetElement(), map.GetElement(), EntityAI.GetHierarchyRoot(), IEntity.GetID(), FreeDebugCamera.GetInstance(), ItemManager.GetInstance(), VicinityItemManager.GetInstance(), EntityAI.GetInventory(), EntityAI.GetInventory(), map.GetKey(), map.GetKey(), LayoutHolder.GetMainWidget(), CargoBase.GetOwnerCargoIndex(), LayoutHolder.GetParent(), CGame.GetPlayer(), Object.GetPosition(), LayoutHolder.GetRoot(), ItemManager.GetSelectedItem(), Widget.GetSize(), EntityAI.GetSlotsCountCorrect(), Object.GetType(), VicinityItemManager.GetVicinityCargos(), VicinityItemManager.GetVicinityItems(), EntityAI.HasEnergyManager(), Container.Insert(), array.Insert(), Insert(), Insert(), array.Insert(), Insert(), LayoutHolder.IsActive(), LayoutHolder.IsActive(), Camera.IsActive(), Object.IsAlive(), Class.IsInherited(), EntityAI.IsInventoryVisible(), ItemManager.IsMicromanagmentMode(), GameInventory.IsPlaceholderEntity(), BaseBuildingBase.IsPlayerInside(), BaseBuildingBase.IsPlayerInside(), PlayerBase.IsRestrained(), PlayerBase.IsUnconscious(), new PlayerContainer(), Container.RecomputeOpenedContainers(), Container.Refresh(), CollapsibleContainer.Remove(), Container.Remove(), AttachmentCategoriesContainer.SetEntity(), ContainerWithCargo.SetEntity(), ContainerWithCargoAndAttachments.SetEntity(), ContainerWithCargoAndAttachments.SetEntity(), ContainerWithElectricManager.SetEntity(), ContainerWithCargo.SetEntity(), ZombieContainer.SetEntity(), Container.SetFirstActive(), PlayerContainer.SetPlayer(), ItemManager.SetSelectedItemEx(), Widget.SetSize(), VicinitySlotsContainer.ShowItemsInContainers(), Widget.Update(), VicinityItemManager.Update(), CollapsibleContainer.UpdateCollapseButtons(), Inventory.UpdateConsoleToolbar(), UpdateHeader(), ContainerWithCargo.UpdateInterval(), ContainerWithCargoAndAttachments.UpdateInterval(), UpdateInterval(), UpdateInterval(), ContainerWithCargo.UpdateInterval(), Container.UpdateInterval(), new ZombieContainer(), PlayerBase.DEBUG_INVENTORY_ACCESS, ITEMS_PER_COLUMN_MAX, m_CargoScrollWidget, LayoutHolder.m_Parent, m_ShowedCargos, m_ShowedItemIcons, m_ShowedItems, m_ShowedItemsIDs, m_VicinityIconsContainer, VICINITY_CARGO_SCROLLER_HEIGHT_MAX, VICINITY_CARGO_SCROLLER_HEIGHT_MID, and VICINITY_CARGO_SCROLLER_HEIGHT_MINAdjust left cargo container scroller height depending on visible items in the vicinity
void ToggleContainer(notnull Container conta)References Container.Toggle()
override void ExpandCollapseContainer()References LayoutHolder.GetMainWidget(), Widget.GetScreenSize(), ScriptedWidgetEventHandler.OnChildRemove()
Show 3 more
, Widget.Update(), Widget.Update(), and LayoutHolder.m_ParentReferences LayoutHolder.GetMainWidget(), ScriptedWidgetEventHandler.OnChildAdd(), Widget.Update()
Show 1 more
, LayoutHolder.m_Parentoverride void CollapseButtonOnMouseButtonDown(Widget w)void UpdateHeader(EntityAI entity, Container cont, PlayerBase player)Updates header dragability to be consistent with current 'icon' behaviour
References CancelWidgetDragging(), ItemManager.EvaluateContainerDragabilityDefault(), GetDragWidget()
Referenced by UpdateInterval()