201{
204
206 {
208 {
210
213 }
214 }
215
217 {
219 {
221
224
227 }
228 }
229
231 {
233 m_OkButton = ButtonWidget.Cast(layoutRoot.FindAnyWidget(
"bOK"));
234 m_Description = MultilineTextWidget.Cast(layoutRoot.FindAnyWidget(
"txtDescription"));
236
239
241 {
244 }
245
247
248 return layoutRoot;
249 }
250
252 {
253 return "";
254 }
255
257 {
258 super.OnClick(w,
x,
y, button);
259
260 if (w.GetUserID() ==
IDC_OK)
261 {
263 return true;
264 }
265
266 return false;
267 }
268
269 override void Update(
float timeslice)
270 {
271 super.Update(timeslice);
272
273 #ifdef PLATFORM_CONSOLE
274 if (
GetUApi().GetInputByID(UAUISelect).LocalPress())
276 #endif
277 }
278
280 {
281 #ifdef PLATFORM_CONSOLE
283 #endif
284 }
285
287 {
290 }
291
293 {
296
297 toolbarText.SetText(context);
298 }
299
301 {
302 bool toolbarShow = false;
303 #ifdef PLATFORM_CONSOLE
305 #endif
306
307 layoutRoot.FindAnyWidget("BottomConsoleToolbar").Show(toolbarShow);
309 }
310}
311
313{
315 {
316 return "#str_item_drop_notification";
317 }
318}
319
321{
323 {
324 return "#str_position_change_notification";
325 }
326}
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