2154 {
2157 RichTextWidget text_widget = RichTextWidget.Cast(
m_IntroMenu.FindAnyWidget(
"InputPromptText"));
2158 m_IntroMenu.FindAnyWidget(
"notification_root").Show(
false);
2159 if (text_widget)
2160 {
2161 string text =
Widget.TranslateString(
"#console_start_game");
2162 #ifdef PLATFORM_XBOX
2163 BiosUserManager user_manager =
g_Game.GetUserManager();
2165 text_widget.SetText(string.Format(text, "<image set=\"xbox_buttons\" name=\"A\" />"));
2166 else
2167 text_widget.SetText(string.Format(text, "<image set=\"xbox_buttons\" name=\"A\" />"));
2168 #endif
2169
2170 #ifdef PLATFORM_PS4
2171 string confirm = "cross";
2173 {
2174 confirm = "cross";
2175 }
2176 else
2177 {
2178 confirm = "circle";
2179 }
2180 text_widget.SetText(string.Format(text, "<image set=\"playstation_buttons\" name=\"" + confirm + "\" />"));
2181 #endif
2182 }
2183
2184 #ifdef PLATFORM_CONSOLE
2185 #ifdef PLATFORM_XBOX
2186 #ifdef BUILD_EXPERIMENTAL
2187 m_IntroMenu.FindAnyWidget(
"notification_root").Show(
true);
2188 #endif
2189 #endif
2190 #endif
2191 }
proto native BiosUser GetSelectedUser()
Returns the currently selected user.
proto native WorkspaceWidget GetWorkspace()