19 GetGame().GetMission().AddActiveInputExcludes({
"menu"});
21 GetGame().GetMission().GetHud().ShowHudUI(
false);
22 GetGame().GetMission().GetHud().ShowQuickbarUI(
false);
30 GetGame().GetMission().RemoveActiveInputExcludes({
"menu"},
true);
32 GetGame().GetMission().GetHud().ShowHudUI(
true);
33 GetGame().GetMission().GetHud().ShowQuickbarUI(
true);
42 layoutRoot =
GetGame().GetWorkspace().CreateWidgets(
"gui/layouts/day_z_invite_dialog.layout");
44 m_LogoutTimeText =
TextWidget.Cast(layoutRoot.FindAnyWidget(
"txtLogoutTime"));
45 m_DescriptionText =
TextWidget.Cast(layoutRoot.FindAnyWidget(
"txtDescription"));
46 m_bCancel =
ButtonWidget.Cast(layoutRoot.FindAnyWidget(
"bCancel"));
101 string text =
"#layout_logout_dialog_until_logout_";
105 if (m_FullTime.m_Days > 0)
107 else if (m_FullTime.m_Hours > 0)
109 else if (m_FullTime.m_Minutes > 0)
115 text =
string.Format(
text, m_FullTime.m_Seconds, m_FullTime.m_Minutes, m_FullTime.m_Hours, m_FullTime.m_Days);
116 m_LogoutTimeText.SetText(
text);
139#ifdef PLATFORM_CONSOLE
161#ifdef PLATFORM_CONSOLE
165 layoutRoot.FindAnyWidget(
"BottomConsoleToolbar").Show(
toolbarShow);
void OnInputPresetChanged()
void OnInputDeviceChanged(EInputDeviceType pInputDeviceType)
static const int FORCE_DIFFERENT
struct that keeps Time relevant information for future formatting
static void GetInviteServerInfo(out string ip, out int port)
proto native CGame GetGame()