45 m_DescriptionText = MultilineTextWidget.Cast(layoutRoot.FindAnyWidget(
"txtDescription"));
46 m_bCancel = ButtonWidget.Cast(layoutRoot.FindAnyWidget(
"bCancel"));
53 if (player && player.GetEmoteManager() && !player.IsRestrained() && !player.IsUnconscious())
73 override void Update(
float timeslice)
75 if (
GetUApi().GetInputByID(UAUIBack).LocalPress())
90 super.OnClick(w,
x,
y, button);
104 string text =
"#layout_logout_dialog_until_logout_";
106 TimeConversions.ConvertSecondsToFullTime(time,
m_FullTime);
117 text =
Widget.TranslateString(text);
135 g_Game.SetGameState(DayZGameState.IN_GAME);
136 g_Game.SetLoadState(DayZLoadState.CONNECT_CONTROLLER_SELECT);
142 #ifdef PLATFORM_CONSOLE
158 toolbarText.SetText(context);
163 bool toolbarShow =
false;
164 #ifdef PLATFORM_CONSOLE
168 layoutRoot.FindAnyWidget(
"BottomConsoleToolbar").Show(toolbarShow);
override ScriptCallQueue GetCallQueue(int call_category)
proto native WorkspaceWidget GetWorkspace()
proto native Input GetInput()
proto native Mission GetMission()
static const int FORCE_DIFFERENT
struct that keeps Time relevant information for future formatting
void ShowHudUI(bool show)
void ShowQuickbarUI(bool show)
ScriptInvoker GetOnInputDeviceChanged()
ScriptInvoker GetOnInputPresetChanged()
void AddActiveInputExcludes(array< string > excludes)
void RemoveActiveInputExcludes(array< string > excludes, bool bForceSupress=false)
deprecated
static void GetInviteServerInfo(out string ip, out int port)
proto void Remove(func fn)
remove specific call from queue
proto void Call(func fn, 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)
adds call into the queue with given parameters and arguments (arguments are held in memory until the ...
proto void CallLater(func fn, int delay=0, bool repeat=false, 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)
adds call into the queue with given parameters and arguments (arguments are held in memory until the ...
proto bool Remove(func fn, int flags=EScriptInvokerRemoveFlags.ALL)
remove specific call from list
proto bool Insert(func fn, int flags=EScriptInvokerInsertFlags.IMMEDIATE)
insert method to list
proto native CGame GetGame()
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.