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

◆ SplitItem()

bool Attachments::SplitItem ( )
inlineprotected

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

250 {
251 ItemBase entity = ItemBase.Cast( GetFocusedItem() );
252 if( entity && !entity.IsInherited( Magazine ) && !GetFocusedSlotsIcon().IsOutOfReach() )
253 {
254 if( entity.HasQuantity() )
255 {
256 entity.OnRightClick();
257 return true;
258 }
259 }
260 return false;
261 }
class GP5GasMask extends MaskBase ItemBase
SlotsIcon GetFocusedSlotsIcon()
EntityAI GetFocusedItem()

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