194{
197
199 {
201 {
203
206 }
207 }
208
210 {
212 {
214
217
220 }
221 }
222
224 {
226 m_OkButton = ButtonWidget.Cast(layoutRoot.FindAnyWidget(
"bOK"));
227 m_Description = MultilineTextWidget.Cast(layoutRoot.FindAnyWidget(
"txtDescription"));
229
232
234 {
237 }
238
240
241 return layoutRoot;
242 }
243
245 {
246 return "";
247 }
248
250 {
251 super.OnClick(w,
x,
y, button);
252
253 if (w.GetUserID() ==
IDC_OK)
254 {
256 return true;
257 }
258
259 return false;
260 }
261
262 override void Update(
float timeslice)
263 {
264 super.Update(timeslice);
265
266 #ifdef PLATFORM_CONSOLE
267 if (
GetUApi().GetInputByID(UAUISelect).LocalPress())
269 #endif
270 }
271
273 {
274 #ifdef PLATFORM_CONSOLE
276 #endif
277 }
278
280 {
283 }
284
286 {
289
290 toolbarText.SetText(context);
291 }
292
294 {
295 bool toolbarShow = false;
296 #ifdef PLATFORM_CONSOLE
298 #endif
299
300 layoutRoot.FindAnyWidget("BottomConsoleToolbar").Show(toolbarShow);
302 }
303}
304
306{
308 {
309 return "#str_item_drop_notification";
310 }
311}
312
314{
316 {
317 return "#str_position_change_notification";
318 }
319}
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