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

◆ TransferItem()

override bool Container::TransferItem ( )
inlineprotected

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

821 {
822 if (CanTakeToInventory())
823 {
824 if (GetFocusedIcon())
825 {
826 EntityAI entity = EntityAI.Cast( GetFocusedIcon().GetObject() );
827 if (entity)
828 {
829 g_Game.GetPlayer().PredictiveTakeEntityToInventory( FindInventoryLocationType.CARGO, entity );
830 return true;
831 }
832 }
833 }
834 return false;
835 }
class LogManager EntityAI
Object GetObject()
Определения ActionTargets.c:122
DayZGame g_Game
Определения DayZGame.c:3942
FindInventoryLocationType
flags for searching locations in inventory
Определения InventoryLocation.c:18
Icon GetFocusedIcon()
Определения CargoContainer.c:431

Перекрестные ссылки g_Game, GetFocusedIcon() и GetObject().