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

◆ TransferItemToVicinity()

bool Attachments::TransferItemToVicinity ( )
inlineprotected

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

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

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