46 #ifdef PLATFORM_MSSTORE
47 layoutRoot =
g_Game.GetWorkspace().CreateWidgets(
"gui/layouts/new_ui/main_menu_msstore.layout");
49 layoutRoot =
g_Game.GetWorkspace().CreateWidgets(
"gui/layouts/new_ui/main_menu_console.layout");
56 m_PlayVideo = layoutRoot.FindAnyWidget(
"play_video");
57 m_Tutorials = layoutRoot.FindAnyWidget(
"tutorials");
58 m_Options = layoutRoot.FindAnyWidget(
"options");
59 m_Exit = layoutRoot.FindAnyWidget(
"exit");
60 m_Controls = layoutRoot.FindAnyWidget(
"controls");
61 m_Play = layoutRoot.FindAnyWidget(
"play");
64 m_DlcFrame = layoutRoot.FindAnyWidget(
"dlc_Frame");
69 m_FeedbackClose = ButtonWidget.Cast(layoutRoot.FindAnyWidget(
"close_button"));
76 g_Game.GetUIManager().ScreenFadeOut(1);
79 if (!
g_Game.GetProfileString(
"FirstLaunchDone", launch_done) || launch_done !=
"true")
81 g_Game.SetProfileString(
"FirstLaunchDone",
"true");
82 g_Game.GetUIManager().ShowDialog(
"#main_menu_tutorial",
"#main_menu_tutorial_desc", 555, DBT_YESNO, DBB_YES, DMT_QUESTION,
this);
92 #ifdef ENABLE_CAROUSEL
108 #ifdef PLATFORM_MSSTORE
113 #ifdef PLATFORM_CONSOLE
115 #ifdef PLATFORM_MSSTORE
126 #ifdef PLATFORM_CONSOLE
133 #ifdef PLATFORM_MSSTORE
428 super.Update(timeslice);
432 if (
g_Game.GetLoadState() != DayZGameState.CONNECTING && !
g_Game.GetUIManager().IsDialogVisible())
434 #ifndef PLATFORM_CONSOLE
435 if (
GetUApi().GetInputByID(UAUIBack).LocalPress())
437 if (!
g_Game.GetUIManager().IsDialogHiding())
441 if (
GetUApi().GetInputByID(UAUIBack).LocalPress())
453 if (
GetUApi().GetInputByID(UAUICredits).LocalPress())
458 if (
GetUApi().GetInputByID(UAUICtrlX).LocalPress())
464 if (
GetUApi().GetInputByID(UAUIThumbRight).LocalPress())
469 #ifdef ENABLE_CAROUSEL
472 if (
GetUApi().GetInputByID(UAUICtrlX).LocalHold())
477 if (
GetUApi().GetInputByID(UAUIPadRight).LocalPress())
482 if (
GetUApi().GetInputByID(UAUIPadLeft).LocalPress())
695 #ifndef PLATFORM_MSSTORE
697 #ifndef PLATFORM_XBOX
710 toolbar_text.SetText(context);
static void ClearAllDLCs()
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
static proto string Format(string fmt, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
Gets n-th character from string.