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

◆ TransferItem()

bool Attachments::TransferItem ( )
inlineprotected

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

275 {
276 EntityAI entity = GetFocusedItem();
277 if( entity && !GetFocusedSlotsIcon().IsOutOfReach() )
278 {
279 PlayerBase player = PlayerBase.Cast( g_Game.GetPlayer() );
280 g_Game.GetPlayer().PredictiveTakeEntityToInventory( FindInventoryLocationType.CARGO, entity );
281 return true;
282 }
283 return false;
284 }
class LogManager EntityAI
DayZGame g_Game
Определения DayZGame.c:4074
FindInventoryLocationType
flags for searching locations in inventory
Определения InventoryLocation.c:18
SlotsIcon GetFocusedSlotsIcon()

Перекрестные ссылки g_Game, GetFocusedItem() и GetFocusedSlotsIcon().