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

◆ EvaluateContainerDragabilityDefault()

bool ItemManager::EvaluateContainerDragabilityDefault ( EntityAI entity)
inlineprotected

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

680 {
681 if ( !ItemBase.Cast( entity ) )
682 return false;
683
684 bool draggable;
685 PlayerBase player = PlayerBase.Cast(g_Game.GetPlayer());
686 draggable = !player.GetInventory().HasInventoryReservation( entity, null ) && !player.IsItemsToDelete();
687 draggable = draggable && entity.CanPutIntoHands( g_Game.GetPlayer() );
688 draggable = draggable && entity.GetInventory().CanRemoveEntity();
689
690 return draggable;
691 }
DayZGame g_Game
Определения DayZGame.c:3942
class GP5GasMask extends MaskBase ItemBase

Перекрестные ссылки g_Game.

Используется в VicinitySlotsContainer::MouseButtonDown(), VicinitySlotsContainer::ShowItemsInContainers() и VicinityContainer::UpdateHeader().