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

◆ GetItems()

void UIScriptedMenu::GetItems ( out array< ref RadialQuickbarItem > items)
inlineprotected

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

286 {
287 items.Clear();
288
289 PlayerBase player = PlayerBase.Cast( GetGame().GetPlayer() );
290 int size = player.GetQuickBarSize();
291 EntityAI entity;
292
293 for ( int i = 0; i < size; ++i )
294 {
295 entity = player.GetQuickBarEntity( i );
296
297 items.Insert( new RadialQuickbarItem( i, entity, "" ) );
298 }
299
301 }
class LogManager EntityAI
PlayerBase GetPlayer()
Определения ModifierBase.c:51
void RadialQuickbarItem(int id, EntityAI item, string item_name, int category=RadialQuickbarCategory.DEFAULT, int category_switch=-1)
Определения RadialQuickbarMenu.c:21
void CheckForLightsAndNVG(out array< ref RadialQuickbarItem > items, int last_idx)
Определения RadialQuickbarMenu.c:303
ref array< ref RadialQuickbarItem > m_Items
Определения RadialQuickbarMenu.c:91
proto native CGame GetGame()

Перекрестные ссылки CheckForLightsAndNVG(), GetGame(), GetPlayer(), m_Items и RadialQuickbarItem().

Используется в RefreshQuickbar().