Private Member Functions | |
void | AttachmentCategoriesRow (LayoutHolder parent, int sort=-1) |
string | GetCategoryIdentifier () |
int | GetFocusedSlot () |
override bool | Select () |
override bool | TransferItem () |
override bool | TransferItemToVicinity () |
override bool | Combine () |
override bool | EquipItem () |
override bool | CanCombine () |
override bool | CanCombineAmmo () |
override bool | IsItemActive () |
override bool | IsItemWithQuantityActive () |
override void | OnDropReceivedFromHeader (Widget w, int x, int y, Widget receiver) |
override void | UnfocusAll () |
override void | DraggingOverHeader (Widget w, int x, int y, Widget receiver) |
bool | DraggingOverGrid (Widget w, int x, int y, Widget reciever, CargoContainer cargo) |
void | DropReceived (Widget w, int x, int y, CargoContainer cargo) |
EntityAI | GetItemPreviewItem (Widget w) |
override void | Refresh () |
void | RefreshAllSlots () |
void | RefreshSlot (int row, int column, int slot_id, string slot_name) |
void | DoubleClick (Widget w, int x, int y, int button) |
void | MouseClick (Widget w, int x, int y, int button) |
void | Init (int attachments_categories_count, int i, string attachment_category, string config_path_attachment_categories, EntityAI entity, int parent_m_Body_count) |
override void | UpdateInterval () |
Private Attributes | |
protected string | m_CategoryIdentifier |
protected string | m_RowConfigPath |
protected bool | m_Refreshing |
protected ref AttachmentsGroupContainer | m_AttachmentsContainer |
protected ref map< int, ref ContainerWithCargo > | m_AttachmentCargos |
|
inlineprivate |
References m_AttachmentCargos, m_AttachmentsContainer, and m_Refreshing.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References ItemBase::CanBeCombined(), ItemBase::CanBeSplit(), CanCombine(), GameInventory::CanSwapEntitiesEx(), GetFocusedSlot(), GetGame(), CGame::GetPlayer(), InventoryLocation::GetSlot(), InventorySlots::GetStackMaxForSlotId(), SlotsIcon::IsOutOfReach(), m_AttachmentCargos, m_Entity, and SplitItemUtils::TakeOrSplitToInventory().
References g_Game, GetGame(), ItemPreviewWidget::GetItem(), GetPlayer(), SlotsIcon::IsOutOfReach(), m_Entity, and name.
|
inlineprivate |
References CargoBase::GetHeight(), GetItemPreviewItem(), CargoBase::GetWidth(), ColorManager::GREEN_COLOR, name, ColorManager::RED_COLOR, x, and y.
References ItemBase::CanBeCombined(), GameInventory::CanSwapEntitiesEx(), ColorManager::COMBINE_COLOR, ColorManager::GetInstance(), ItemManager::GetInstance(), ItemPreviewWidget::GetItem(), ItemManager::GetLeftDropzone(), SlotsIcon::GetSlotID(), InventorySlots::GetStackMaxForSlotId(), ColorManager::GREEN_COLOR, ItemManager::HideDropzones(), m_Entity, name, ColorManager::RED_COLOR, ColorManager::SetColor(), ItemManager::ShowSourceDropzone(), and ColorManager::SWAP_COLOR.
|
inlineprivate |
|
inlineprivate |
References m_CategoryIdentifier.
Referenced by AttachmentCategoriesContainer::CanDisplayAnyCategory(), and AttachmentCategoriesContainer::UpdateInterval().
|
inlineprivate |
References SlotsIcon::GetSlotID().
Referenced by CanCombine(), and Combine().
References ItemPreviewWidget::GetItem(), and name.
Referenced by DraggingOverGrid(), DropReceived(), and OnDropReceivedFromHeader().
|
inlineprivate |
References SlotsIcon::Clear(), CGame::ConfigGetText(), CGame::ConfigGetTextArray(), GetGame(), SlotsIcon::GetGhostSlot(), GetHeader(), WidgetEventHandler::GetInstance(), SlotsIcon::GetPanelWidget(), InventorySlots::GetSlotDisplayName(), SlotsContainer::GetSlotIcon(), InventorySlots::GetSlotIdFromString(), StaticGUIUtils::IMAGESETGROUP_INVENTORY, ITEMS_IN_ROW, m_AttachmentsContainer, m_CategoryIdentifier, m_Entity, m_RowConfigPath, path, RefreshAllSlots(), WidgetEventHandler::RegisterOnDoubleClick(), WidgetEventHandler::RegisterOnDraggingOver(), WidgetEventHandler::RegisterOnDrop(), WidgetEventHandler::RegisterOnDropReceived(), WidgetEventHandler::RegisterOnMouseButtonUp(), AttachmentsGroupContainer::SetHeader(), Header::SetName(), SlotsIcon::SetSlotDisplayName(), SlotsIcon::SetSlotID(), slotName, and StaticGUIUtils::VerifyIconImageString().
Referenced by AttachmentCategoriesContainer::InitGhostSlots().
|
inlineprivate |
References SlotsIcon::IsOutOfReach().
|
inlineprivate |
References ItemBase::CanBeSplit(), and SlotsIcon::IsOutOfReach().
References GameInventory::CanSwapEntitiesEx(), Class::CastTo(), CombineItemsClient(), SlotsIcon::GetEntity(), GetGame(), ItemManager::GetInstance(), GetItemPreviewItem(), CGame::GetPlayer(), GetPlayer(), InventoryLocation::GetSlot(), SlotsIcon::GetSlotID(), SlotsIcon::GetSlotParent(), ItemManager::HideDropzones(), SlotsIcon::IsReserved(), m_Entity, and ItemManager::SetIsDragging().
|
inlineprivate |
References m_Refreshing, and RefreshAllSlots().
Referenced by DropReceived().
|
inlineprivate |
References AttachmentsGroupContainer::GetColumnCountForRow(), AttachmentsGroupContainer::GetRowCount(), m_AttachmentsContainer, m_Refreshing, and RefreshSlot().
Referenced by Init(), Refresh(), and UpdateInterval().
References SlotsIcon::Clear(), SlotsIcon::ClearRemainSelected(), ClosableContainer::ContainerWithCargo(), ItemManager::GetDraggedItem(), SlotsIcon::GetEntity(), GetGame(), ItemManager::GetInstance(), SlotsIcon::GetMountedWidget(), SlotsIcon::GetOutOfReachWidget(), CGame::GetPlayer(), SlotsIcon::GetRadialIconPanel(), SlotsIcon::GetRender(), SlotsIcon::GetSlotID(), InventorySlots::GetSlotName(), AttachmentsGroupContainer::GetSlotsIcon(), SlotsIcon::Init(), AttachmentsOutOfReach::IsAttachmentReachable(), m_AttachmentCargos, m_AttachmentsContainer, m_Entity, SlotsIcon::Refresh(), and SlotsIcon::SetContainer().
Referenced by RefreshAllSlots().
|
inlineprivate |
References ItemBase::CanBeSplit(), GameInventory::CanSwapEntitiesEx(), GetGame(), ItemManager::GetInstance(), CGame::GetPlayer(), ItemManager::GetSelectedItem(), InventoryLocation::GetSlot(), SlotsIcon::GetSlotID(), InventorySlots::GetStackMaxForSlotId(), SlotsIcon::IsOutOfReach(), m_AttachmentCargos, m_Entity, EntityAI::PredictiveSwapEntities(), Container::Select(), and SplitItemUtils::TakeOrSplitToInventory().
|
inlineprivate |
References GetGame(), CGame::GetPlayer(), GetPlayer(), and SlotsIcon::IsOutOfReach().
|
inlineprivate |
References GetGame(), GetPlayer(), and SlotsIcon::IsOutOfReach().
|
inlineprivate |
References Count, Get(), ITEMS_IN_ROW, and m_AttachmentCargos.
|
inlineprivate |
References RefreshAllSlots().
Referenced by AttachmentCategoriesContainer::UpdateInterval().
|
private |
Referenced by AttachmentCategoriesRow(), Combine(), RefreshSlot(), Select(), and UnfocusAll().
|
private |
Referenced by AttachmentCategoriesRow(), Init(), RefreshAllSlots(), and RefreshSlot().
|
private |
Referenced by GetCategoryIdentifier(), and Init().
|
private |
Referenced by AttachmentCategoriesRow(), Refresh(), and RefreshAllSlots().