6 static const ResourceName s_sLayout =
"{D1AE71CF9CF46D25}UI/layouts/Menus/Dialogs/StartScenarioDialog.layout";
7 ResourceName GetLayout() {
return s_sLayout; }
9 TextWidget m_ScenarioNameText;
11 ImageWidget m_ScenarioImage;
13 ButtonWidget m_JoinButton;
16 ButtonWidget m_HostButton;
19 ButtonWidget m_PlayButton;
22 bool Init(Widget root)
24 m_ScenarioNameText = TextWidget.Cast(root.FindWidget(
"DialogBase0.VerticalLayout.Content.VerticalLayout0.m_ScenarioNameText"));
26 m_ScenarioImage = ImageWidget.Cast(root.FindWidget(
"DialogBase0.VerticalLayout.Content.VerticalLayout0.HorizontalLayout0.m_ScenarioImage"));
28 m_JoinButton = ButtonWidget.Cast(root.FindWidget(
"DialogBase0.VerticalLayout.Content.VerticalLayout0.HorizontalLayout0.PlayablePC.m_JoinButton"));
31 m_HostButton = ButtonWidget.Cast(root.FindWidget(
"DialogBase0.VerticalLayout.Content.VerticalLayout0.HorizontalLayout0.PlayablePC.m_HostButton"));
34 m_PlayButton = ButtonWidget.Cast(root.FindWidget(
"DialogBase0.VerticalLayout.Content.VerticalLayout0.HorizontalLayout0.PlayablePC.m_PlayButton"));