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

◆ SetDefaultFocus()

override void SlotsContainer::SetDefaultFocus ( bool while_micromanagment_mode = false)
inlineprotected

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

25 {
26 m_FocusedColumn = 0;
27 for (int i = 0; i < GetColumnCount(); i++)
28 {
29 SlotsIcon icon = m_Icons[i];
30 if (icon.IsVisible())
31 {
32 m_FocusedColumn = i;
33 break;
34 }
35 }
36
37 SetFocus( m_FocusedColumn );
38 }
ref array< ref SlotsIcon > m_Icons
Определения SlotsContainer.c:3
void SetFocus(int index)
Определения SlotsContainer.c:45
override bool IsVisible()
Определения SlotsIcon.c:129

Перекрестные ссылки SlotsIcon::IsVisible(), m_Icons и SetFocus().

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