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

◆ TransferItem()

bool Attachments::TransferItem ( )
inlineprotected

См. определение в файле 5_Mission/GUI/InventoryNew/Attachments.c строка 274

275 {
276 EntityAI entity = GetFocusedItem();
277 if( entity && !GetFocusedSlotsIcon().IsOutOfReach() )
278 {
279 GetGame().GetPlayer().PredictiveTakeEntityToInventory( FindInventoryLocationType.CARGO, entity );
280 return true;
281 }
282 return false;
283 }
class LogManager EntityAI
FindInventoryLocationType
flags for searching locations in inventory
Определения InventoryLocation.c:17
SlotsIcon GetFocusedSlotsIcon()
EntityAI GetFocusedItem()
proto native DayZPlayer GetPlayer()
proto native CGame GetGame()

Перекрестные ссылки GetFocusedItem(), GetFocusedSlotsIcon(), GetGame() и CGame::GetPlayer().