207{
210
212 {
214 {
216
219 }
220 }
221
223 {
225 {
227
230
233 }
234 }
235
237 {
239 m_OkButton = ButtonWidget.Cast(layoutRoot.FindAnyWidget(
"bOK"));
240 m_Description = MultilineTextWidget.Cast(layoutRoot.FindAnyWidget(
"txtDescription"));
242
245
247 {
250 }
251
253
254 return layoutRoot;
255 }
256
258 {
259 return "";
260 }
261
263 {
264 super.OnClick(w,
x,
y, button);
265
266 if (w.GetUserID() ==
IDC_OK)
267 {
269 return true;
270 }
271
272 return false;
273 }
274
275 override void Update(
float timeslice)
276 {
277 super.Update(timeslice);
278
279 #ifdef PLATFORM_CONSOLE
280 if (
GetUApi().GetInputByID(UAUISelect).LocalPress())
282 #endif
283 }
284
286 {
287 #ifdef PLATFORM_CONSOLE
289 #endif
290 }
291
293 {
296 }
297
299 {
302
303 toolbarText.SetText(context);
304 }
305
307 {
308 bool toolbarShow = false;
309 #ifdef PLATFORM_CONSOLE
311 #endif
312
313 layoutRoot.FindAnyWidget("BottomConsoleToolbar").Show(toolbarShow);
315 }
316}
317
319{
321 {
322 return "#str_item_drop_notification";
323 }
324}
325
327{
329 {
330 return "#str_position_change_notification";
331 }
332}
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