|
| void | VicinitySlotsContainer (LayoutHolder parent) |
| |
| bool | IsItemWithContainerActive () |
| |
| override bool | IsItemWithQuantityActive () |
| |
| override bool | IsItemActive () |
| |
| bool | IsEmptyItemActive () |
| |
| override bool | IsDisplayable () |
| |
| bool | IsTakeable () |
| |
| override bool | CanCombineAmmo () |
| |
| override bool | InspectItem () |
| |
| override bool | TransferItem () |
| |
| override bool | Combine () |
| |
| override bool | Select () |
| |
| void | ~VicinitySlotsContainer () |
| |
| override void | SetLayoutName () |
| |
| override void | OnShow () |
| |
| int | GetRowSlotCount () |
| |
| bool | ExcludeFromContainer (EntityAI item) |
| | Decides on the icon visibility.
|
| |
| void | ShowItemsInContainers (array< EntityAI > items) |
| |
| void | DoubleClick (Widget w, int x, int y, int button) |
| |
| string | GetItemQuantityText (EntityAI item) |
| |
| int | HasItemQuantity (EntityAI item) |
| |
| float | GetItemQuantity (InventoryItem item) |
| |
| void | MouseButtonDown (Widget w, int x, int y, int button) |
| |
| void | MouseClick (Widget w, int x, int y, int button) |
| |
| override void | OnDropReceivedFromHeader (Widget w, int x, int y, Widget receiver) |
| |
| void | RecomputeNumberOfContainers (array< EntityAI > items) |
| |
| void | PrepareOwnedTooltipAfterItemTransfer () |
| |
| void | PrepareOwnedTooltipAfterItemTransferClick () |
| |
◆ VicinitySlotsContainer()
References SlotsIcon::GetGhostSlot(), WidgetEventHandler::GetInstance(), SlotsIcon::GetPanelWidget(), ITEMS_IN_ROW, m_Container, m_Parent, m_ShowedItems, WidgetEventHandler::RegisterOnDoubleClick(), WidgetEventHandler::RegisterOnDraggingOver(), WidgetEventHandler::RegisterOnDropReceived(), WidgetEventHandler::RegisterOnMouseButtonDown(), and WidgetEventHandler::RegisterOnMouseButtonUp().
◆ ~VicinitySlotsContainer()
◆ CanCombineAmmo()
| override bool CanCombineAmmo |
( |
| ) |
|
|
inlineprivate |
◆ Combine()
| override bool Combine |
( |
| ) |
|
|
inlineprivate |
◆ DoubleClick()
References CALL_CATEGORY_GUI, ScriptCallQueue::CallLater(), g_Game, CGame::GetCallQueue(), GetGame(), ItemPreviewWidget::GetItem(), GetPlayer(), InventoryMenu(), ItemBase::IsTakeable(), InventoryLocation::IsValid(), MENU_INVENTORY, name, PrepareOwnedTooltipAfterItemTransferClick(), and SplitItemUtils::TakeOrSplitToInventoryLocation().
◆ ExcludeFromContainer()
◆ GetItemQuantity()
◆ GetItemQuantityText()
◆ GetRowSlotCount()
◆ HasItemQuantity()
◆ InspectItem()
| override bool InspectItem |
( |
| ) |
|
|
inlineprivate |
◆ IsDisplayable()
| override bool IsDisplayable |
( |
| ) |
|
|
inlineprivate |
◆ IsEmptyItemActive()
| bool IsEmptyItemActive |
( |
| ) |
|
|
inlineprivate |
◆ IsItemActive()
| override bool IsItemActive |
( |
| ) |
|
|
inlineprivate |
◆ IsItemWithContainerActive()
| bool IsItemWithContainerActive |
( |
| ) |
|
|
inlineprivate |
◆ IsItemWithQuantityActive()
| override bool IsItemWithQuantityActive |
( |
| ) |
|
|
inlineprivate |
◆ IsTakeable()
◆ MouseButtonDown()
◆ MouseClick()
◆ OnDropReceivedFromHeader()
◆ OnShow()
◆ PrepareOwnedTooltipAfterItemTransfer()
| void PrepareOwnedTooltipAfterItemTransfer |
( |
| ) |
|
|
inlineprivate |
◆ PrepareOwnedTooltipAfterItemTransferClick()
| void PrepareOwnedTooltipAfterItemTransferClick |
( |
| ) |
|
|
inlineprivate |
◆ RecomputeNumberOfContainers()
References Container::Get(), SlotsIcon::GetGhostSlot(), WidgetEventHandler::GetInstance(), SlotsIcon::GetPanelWidget(), SlotsContainer::GetSlotIcon(), ITEMS_IN_ROW, m_Container, m_Parent, WidgetEventHandler::RegisterOnDoubleClick(), WidgetEventHandler::RegisterOnDraggingOver(), WidgetEventHandler::RegisterOnDropReceived(), WidgetEventHandler::RegisterOnMouseButtonDown(), and WidgetEventHandler::RegisterOnMouseButtonUp().
Referenced by ShowItemsInContainers().
◆ Select()
References GameInventory::CanSwapEntitiesEx(), Container::GetFocusedItem(), GetGame(), ItemManager::GetInstance(), CGame::GetPlayer(), GetPlayer(), ItemManager::GetSelectedIcon(), ItemManager::GetSelectedItem(), SlotsIcon::IsOutOfReach(), m_ShowedItems, and ItemManager::SetSelectedItemEx().
◆ SetLayoutName()
| override void SetLayoutName |
( |
| ) |
|
|
inlineprivate |
◆ ShowItemsInContainers()
References CancelWidgetDragging(), SlotsIcon::Clear(), ItemManager::EvaluateContainerDragabilityDefault(), ExcludeFromContainer(), Math::Floor(), Container::Get(), GetDragWidget(), SlotsIcon::GetGhostSlot(), ItemManager::GetInstance(), SlotsIcon::GetMicromanagedPanel(), SlotsIcon::GetPanelWidget(), SlotsIcon::GetRadialIconPanel(), ItemManager::GetSelectedItem(), SlotsContainer::GetSlotIcon(), SlotsIcon::Init(), Container::IsDisplayable(), ITEMS_IN_ROW, m_Container, m_Parent, m_ShowedItems, RecomputeNumberOfContainers(), ItemManager::SetWidgetDraggable(), SlotsIcon::UpdateInterval(), Container::UpdateRadialIcon(), and x.
Referenced by VicinityContainer::UpdateInterval().
◆ TransferItem()
| override bool TransferItem |
( |
| ) |
|
|
inlineprivate |
References CALL_CATEGORY_GUI, ScriptCallQueue::CallLater(), CGame::GetCallQueue(), Container::GetFocusedItem(), GetGame(), CGame::GetPlayer(), GetPlayer(), ItemBase::IsTakeable(), InventoryLocation::IsValid(), PrepareOwnedTooltipAfterItemTransfer(), and SplitItemUtils::TakeOrSplitToInventoryLocation().
◆ m_Container
◆ m_ItemsCount
| protected int m_ItemsCount |
|
private |
◆ m_ShowedItems
◆ m_SlotsCount
| protected int m_SlotsCount |
|
private |
The documentation for this class was generated from the following file: