184{
187
189 {
191 {
193
196 }
197 }
198
200 {
202 {
204
207
210 }
211 }
212
214 {
216 m_OkButton = ButtonWidget.Cast(layoutRoot.FindAnyWidget(
"bOK"));
217 m_Description = MultilineTextWidget.Cast(layoutRoot.FindAnyWidget(
"txtDescription"));
219
222
224 {
227 }
228
230
231 return layoutRoot;
232 }
233
235 {
236 return "";
237 }
238
240 {
241 super.OnClick(w,
x,
y, button);
242
243 if (w.GetUserID() ==
IDC_OK)
244 {
246 return true;
247 }
248
249 return false;
250 }
251
252 override void Update(
float timeslice)
253 {
254 super.Update(timeslice);
255
256 #ifdef PLATFORM_CONSOLE
257 if (
GetUApi().GetInputByID(UAUISelect).LocalPress())
259 #endif
260 }
261
263 {
264 #ifdef PLATFORM_CONSOLE
266 #endif
267 }
268
270 {
273 }
274
276 {
279
280 toolbarText.SetText(context);
281 }
282
284 {
285 bool toolbarShow = false;
286 #ifdef PLATFORM_CONSOLE
288 #endif
289
290 layoutRoot.FindAnyWidget("BottomConsoleToolbar").Show(toolbarShow);
292 }
293}
294
296{
298 {
299 return "#str_item_drop_notification";
300 }
301}
302
304{
306 {
307 return "#str_position_change_notification";
308 }
309}
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