DIFF

class VicinityContainerSource

VicinityContainer CollapsibleContainer Container LayoutHolder ScriptedWidgetEventHandler Managed

All members, including inherited

Constructors 1

Constants 6

const float DISTANCE_TO_ENTITIES = 1.0
const float DISTANCE_TO_THE_REST = 0.5
const int ITEMS_PER_COLUMN_MAX = 8
Referenced by UpdateInterval()
const float VICINITY_CARGO_SCROLLER_HEIGHT_MIN = 0.77
Referenced by UpdateInterval()
const float VICINITY_CARGO_SCROLLER_HEIGHT_MID = 0.78
Referenced by UpdateInterval()
const float VICINITY_CARGO_SCROLLER_HEIGHT_MAX = 0.87
Referenced by UpdateInterval()

Members 7

ref map<EntityAI, ref Container> m_ShowedItems = new map<EntityAI, ref Container>
ref map<int, ref Container> m_ShowedItemsIDs = new map<int, ref Container>
Referenced by UpdateInterval()
ref array<EntityAI> m_ShowedItemIcons = new array<EntityAI>
ref map<CargoBase, ref Container> m_ShowedCargos = new map<CargoBase, ref Container>
Referenced by UpdateInterval()
protected bool m_IsProcessing = false

Prevents refreshing every time a child is added while it is still processing

protected ScrollWidget m_CargoScrollWidget!PLATFORM_CONSOLE

Methods 21

bool IsVicinityContainerIconsActive()
VicinitySlotsContainer GetVicinityIconsContainer()
bool IsContainerWithCargoActive()
bool IsItemWithAttachmentsActive()
bool IsItemWithCategoriesActive()
void OnLeftPanelDropReceived(Widget w, int x, int y, Widget receiver)
void OnDropReceivedFromEmptySpace(Widget w, int x, int y, Widget receiver)
override 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_MIN
void ToggleContainer(Widget w, EntityAI item)

Adjust left cargo container scroller height depending on visible items in the vicinity

References Class.Cast(), map.Get(), Widget.GetUserData()
Show 1 more, m_ShowedItems
override bool CanOpenCloseContainerEx(EntityAI focusedEntity)
void ToggleContainer(notnull Container conta)
override void ExpandCollapseContainer()
void UpdateHeader(EntityAI entity, Container cont, PlayerBase player)

Updates header dragability to be consistent with current 'icon' behaviour

Referenced by UpdateInterval()