DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ PrepareOwnedTooltipAfterItemTransfer()

void VicinitySlotsContainer::PrepareOwnedTooltipAfterItemTransfer ( )
inlineprotected

См. определение в файле VicinitySlotsContainer.c строка 631

632 {
633 if (m_IsActive)
634 {
635 float x, y;
636 SlotsIcon icon = GetFocusedSlotsIcon();
637 if (icon)
638 {
639 icon.GetSelectedPanel().GetScreenPos(x, y);
640 EntityAI focusedItem = GetFocusedItem();
641 if (focusedItem)
642 {
643 #ifdef PLATFORM_CONSOLE
644 PrepareOwnedTooltip(focusedItem, -1, y); //custom positioning for the controller
645 #else
646 PrepareOwnedTooltip(focusedItem);
647 #endif
648 }
649 }
650 }
651 }
class LogManager EntityAI
Icon x
Icon y
bool m_IsActive
Определения ModifierBase.c:19
override EntityAI GetFocusedItem()
Определения CargoContainer.c:733
Widget GetSelectedPanel()
Определения SlotsIcon.c:245

Перекрестные ссылки Container::GetFocusedItem(), SlotsIcon::GetSelectedPanel(), m_IsActive, x и y.

Используется в TransferItem().