Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
145{
148
150 {
152 {
154
157 }
158 }
159
161 {
163 {
165
168
171 }
172 }
173
175 {
177 m_OkButton = ButtonWidget.Cast(layoutRoot.FindAnyWidget(
"bOK"));
178 m_Description = MultilineTextWidget.Cast(layoutRoot.FindAnyWidget(
"txtDescription"));
180
183
185 {
188 }
189
191
192 return layoutRoot;
193 }
194
196 {
197 return "";
198 }
199
201 {
202 super.OnClick(w,
x,
y, button);
203
204 if (w.GetUserID() ==
IDC_OK)
205 {
207 return true;
208 }
209
210 return false;
211 }
212
213 override void Update(
float timeslice)
214 {
215 super.Update(timeslice);
216
217 #ifdef PLATFORM_CONSOLE
218 if (
GetUApi().GetInputByID(UAUISelect).LocalPress())
220 #endif
221 }
222
224 {
225 #ifdef PLATFORM_CONSOLE
227 #endif
228 }
229
231 {
234 }
235
237 {
240
241 toolbarText.SetText(context);
242 }
243
245 {
246 bool toolbarShow = false;
247 #ifdef PLATFORM_CONSOLE
249 #endif
250
251 layoutRoot.FindAnyWidget("BottomConsoleToolbar").Show(toolbarShow);
253 }
254}
255
257{
259 {
260 return "#str_item_drop_notification";
261 }
262}
263
265{
267 {
268 return "#str_position_change_notification";
269 }
270}
void OnInputPresetChanged()
void OnInputDeviceChanged(EInputDeviceType pInputDeviceType)
proto native WorkspaceWidget GetWorkspace()
proto native Input GetInput()
proto native Mission GetMission()
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
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()
string m_Description
class purpose description