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

◆ TransferItem()

bool Attachments::TransferItem ( )
inlineprotected

См. определение в файле 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()
Определения Attachments.c:99
EntityAI GetFocusedItem()
Определения Attachments.c:104
proto native DayZPlayer GetPlayer()
proto native CGame GetGame()

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