2198 {
2201 RichTextWidget text_widget = RichTextWidget.Cast(
m_IntroMenu.FindAnyWidget(
"InputPromptText"));
2202 m_IntroMenu.FindAnyWidget(
"notification_root").Show(
false);
2203 if (text_widget)
2204 {
2205 string text =
Widget.TranslateString(
"#console_start_game");
2206 #ifdef PLATFORM_XBOX
2207 BiosUserManager user_manager =
g_Game.GetUserManager();
2209 text_widget.SetText(string.Format(text, "<image set=\"xbox_buttons\" name=\"A\" />"));
2210 else
2211 text_widget.SetText(string.Format(text, "<image set=\"xbox_buttons\" name=\"A\" />"));
2212 #endif
2213
2214 #ifdef PLATFORM_PS4
2215 string confirm = "cross";
2217 {
2218 confirm = "cross";
2219 }
2220 else
2221 {
2222 confirm = "circle";
2223 }
2224 text_widget.SetText(string.Format(text, "<image set=\"playstation_buttons\" name=\"" + confirm + "\" />"));
2225 #endif
2226 }
2227
2228 #ifdef PLATFORM_CONSOLE
2229 #ifdef PLATFORM_XBOX
2230 #ifdef BUILD_EXPERIMENTAL
2231 m_IntroMenu.FindAnyWidget(
"notification_root").Show(
true);
2232 #endif
2233 #endif
2234 #endif
2235 }
proto native BiosUser GetSelectedUser()
Returns the currently selected user.
proto native WorkspaceWidget GetWorkspace()