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

◆ TransferItemToVicinity()

bool Attachments::TransferItemToVicinity ( )
inlineprotected

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

298 {
299 ItemBase item = ItemBase.Cast(GetFocusedItem());
300 PlayerBase player = PlayerBase.Cast( g_Game.GetPlayer());
301 if (item && !GetFocusedSlotsIcon().IsOutOfReach() )
302 {
303 if (item.GetTargetQuantityMax() < item.GetQuantity())
304 item.SplitIntoStackMaxClient( null, -1 );
305 else
306 player.PhysicalPredictiveDropItem(item);
307 return true;
308 }
309 return false;
310 }
DayZGame g_Game
Определения DayZGame.c:4074
class GP5GasMask extends MaskBase ItemBase
SlotsIcon GetFocusedSlotsIcon()

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