171{
174
176 {
178 {
180
183 }
184 }
185
187 {
189 {
191
194
197 }
198 }
199
201 {
203 m_OkButton = ButtonWidget.Cast(layoutRoot.FindAnyWidget(
"bOK"));
204 m_Description = MultilineTextWidget.Cast(layoutRoot.FindAnyWidget(
"txtDescription"));
206
209
211 {
214 }
215
217
218 return layoutRoot;
219 }
220
222 {
223 return "";
224 }
225
227 {
228 super.OnClick(w,
x,
y, button);
229
230 if (w.GetUserID() ==
IDC_OK)
231 {
233 return true;
234 }
235
236 return false;
237 }
238
239 override void Update(
float timeslice)
240 {
241 super.Update(timeslice);
242
243 #ifdef PLATFORM_CONSOLE
244 if (
GetUApi().GetInputByID(UAUISelect).LocalPress())
246 #endif
247 }
248
250 {
251 #ifdef PLATFORM_CONSOLE
253 #endif
254 }
255
257 {
260 }
261
263 {
266
267 toolbarText.SetText(context);
268 }
269
271 {
272 bool toolbarShow = false;
273 #ifdef PLATFORM_CONSOLE
275 #endif
276
277 layoutRoot.FindAnyWidget("BottomConsoleToolbar").Show(toolbarShow);
279 }
280}
281
283{
285 {
286 return "#str_item_drop_notification";
287 }
288}
289
291{
293 {
294 return "#str_position_change_notification";
295 }
296}
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