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

◆ LoadDataAsync()

void LoadDataAsync ( array< string > section_data)
protected

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

66 {
67 for( int i = 1; i <= section_data.Count(); i++ )
68 {
69 TextWidget w = TextWidget.Cast( GetGame().GetWorkspace().CreateWidgets( "gui/layouts/new_ui/credits/department_element/department_section_element.layout", m_SectionSections ) );
70 w.SetText( section_data.Get( i - 1 ) + " \n" );
71 w.Update();
72 m_Root.SetSort( i );
73 m_SectionEntries.Insert( w );
74 }
75
76 m_SectionSections.Update();
77 }
ref array< Widget > m_SectionEntries
Определения CreditsDepartmentElement.c:43
WrapSpacerWidget m_SectionSections
Определения CreditsDepartmentElement.c:42
Widget m_Root
Определения SizeToChild.c:91
Определения EnWidgets.c:220
proto native CGame GetGame()

Перекрестные ссылки GetGame(), m_Root, m_SectionEntries и m_SectionSections.