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

◆ CanCombineEx()

bool LayoutHolder::CanCombineEx ( EntityAI focusedEntity)
inlineprotected

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

650 {
651 if (ItemManager.GetInstance().IsMicromanagmentMode())
652 return false;
653
654 if (focusedEntity)
655 {
656 EntityAI entityInHands = PlayerBase.Cast(GetGame().GetPlayer()).GetItemInHands();
657 if (focusedEntity != entityInHands)
658 {
659 return (ItemManager.GetCombinationFlags(entityInHands, focusedEntity) != 0);
660 }
661 }
662 return false;
663 }
class LogManager EntityAI
PlayerBase GetPlayer()
Определения ModifierBase.c:51
proto native CGame GetGame()

Перекрестные ссылки ItemManager::GetCombinationFlags(), GetGame(), ItemManager::GetInstance(), GetPlayer() и ItemManager::IsMicromanagmentMode().

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