9 m_Root =
GetGame().GetWorkspace().CreateWidgets(
"gui/layouts/new_ui/credits/department_element/department_element.layout", parent);
10 m_DepartmentTitle =
TextWidget.Cast(
m_Root.FindAnyWidget(
"department_title"));
17 m_DepartmentTitle.Show(
false);
18 m_Root.FindAnyWidget(
"SeparatorPanel").Show(
false);
30 m_DepartmentSectionEntries.Insert(
e);
33 m_DepartmentSections.Update();
45 m_Root =
GetGame().GetWorkspace().CreateWidgets(
"gui/layouts/new_ui/credits/department_element/department_section.layout", parent);
54 m_Root.FindAnyWidget(
"SeparatorPanel").Show(
false);
ref array< Widget > m_SectionEntries
void CreditsDepartmentSection(int index, Widget parent, JsonDataCreditsSection section_data)
WrapSpacerWidget m_SectionSections
class CreditsDepartmentElement extends CreditsElement m_SectionTitle
void LoadDataAsync(array< ref JsonDataCreditsSection > department_data)
GridSpacerWidget m_DepartmentSections
void CreditsDepartmentElement(int index, Widget parent, JsonDataCreditsDepartment department_data)
TextWidget m_DepartmentTitle
proto native CGame GetGame()