131{
134
136 {
138 {
140
143 }
144 }
145
147 {
149 {
151
154
157 }
158 }
159
161 {
163 m_OkButton = ButtonWidget.Cast(layoutRoot.FindAnyWidget(
"bOK"));
164 m_Description = MultilineTextWidget.Cast(layoutRoot.FindAnyWidget(
"txtDescription"));
166
169
171 {
174 }
175
177
178 return layoutRoot;
179 }
180
182 {
183 return "";
184 }
185
187 {
188 super.OnClick(w,
x,
y, button);
189
190 if (w.GetUserID() ==
IDC_OK)
191 {
193 return true;
194 }
195
196 return false;
197 }
198
199 override void Update(
float timeslice)
200 {
201 super.Update(timeslice);
202
203 #ifdef PLATFORM_CONSOLE
204 if (
GetUApi().GetInputByID(UAUISelect).LocalPress())
206 #endif
207 }
208
210 {
211 #ifdef PLATFORM_CONSOLE
213 #endif
214 }
215
217 {
220 }
221
223 {
226
227 toolbarText.SetText(context);
228 }
229
231 {
232 bool toolbarShow = false;
233 #ifdef PLATFORM_CONSOLE
235 #endif
236
237 layoutRoot.FindAnyWidget("BottomConsoleToolbar").Show(toolbarShow);
239 }
240}
241
243{
245 {
246 return "#str_item_drop_notification";
247 }
248}
249
251{
253 {
254 return "#str_position_change_notification";
255 }
256}
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