DayZ 1.27
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(GetGame().GetPlayer());
686 draggable = !player.GetInventory().HasInventoryReservation( entity, null ) && !player.IsItemsToDelete();
687 draggable = draggable && entity.CanPutIntoHands( GetGame().GetPlayer() );
688 draggable = draggable && entity.GetInventory().CanRemoveEntity();
689
690 return draggable;
691 }
class GP5GasMask extends MaskBase ItemBase
PlayerBase GetPlayer()
Определения ModifierBase.c:51
proto native CGame GetGame()

Перекрестные ссылки GetGame() и GetPlayer().

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