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

◆ Init() [4/6]

void ScriptedWidgetEventHandler::Init ( )
inlineprivate

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

44 {
45 int state;
46 ButtonWidget button;
47
48 if ( Class.CastTo(button, m_widget) )
49 {
50 state = m_widget_array.Find(m_widget);
51 button.SetState( g_Game.GetProfileOption(m_profileOption) == state ); //works for bool values only!!!
52 }
53 }
DayZGame g_Game
Определения DayZGame.c:3868
ref array< Widget > m_widget_array
Определения ProfileOptionsUI.c:101

Перекрестные ссылки Class::CastTo(), g_Game, m_profileOption, m_widget и m_widget_array.