215{
218
220 {
222 {
224
227 }
228 }
229
231 {
233 {
235
238
241 }
242 }
243
245 {
247 m_OkButton = ButtonWidget.Cast(layoutRoot.FindAnyWidget(
"bOK"));
248 m_Description = MultilineTextWidget.Cast(layoutRoot.FindAnyWidget(
"txtDescription"));
250
253
255 {
258 }
259
261
262 return layoutRoot;
263 }
264
266 {
267 return "";
268 }
269
271 {
272 super.OnClick(w,
x,
y, button);
273
274 if (w.GetUserID() ==
IDC_OK)
275 {
277 return true;
278 }
279
280 return false;
281 }
282
283 override void Update(
float timeslice)
284 {
285 super.Update(timeslice);
286
287 #ifdef PLATFORM_CONSOLE
288 if (
GetUApi().GetInputByID(UAUISelect).LocalPress())
290 #endif
291 }
292
294 {
295 #ifdef PLATFORM_CONSOLE
297 #endif
298 }
299
301 {
304 }
305
307 {
310
311 toolbarText.SetText(context);
312 }
313
315 {
316 bool toolbarShow = false;
317 #ifdef PLATFORM_CONSOLE
319 #endif
320
321 layoutRoot.FindAnyWidget("BottomConsoleToolbar").Show(toolbarShow);
323 }
324}
325
327{
329 {
330 return "#str_item_drop_notification";
331 }
332}
333
335{
337 {
338 return "#str_position_change_notification";
339 }
340}
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