184{
187
189 {
191 {
192 g_Game.GetMission().AddActiveInputExcludes({
"menu"});
193
194 g_Game.GetMission().GetHud().ShowHudUI(
false);
195 g_Game.GetMission().GetHud().ShowQuickbarUI(
false);
196 }
197 }
198
200 {
202 {
203 g_Game.GetMission().RemoveActiveInputExcludes({
"menu"},
true);
204
205 g_Game.GetMission().GetHud().ShowHudUI(
true);
206 g_Game.GetMission().GetHud().ShowQuickbarUI(
true);
207
210 }
211 }
212
214 {
215 layoutRoot =
g_Game.GetWorkspace().CreateWidgets(
"gui/layouts/day_z_dropped_items.layout");
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
287 toolbarShow = !
g_Game.GetInput().IsEnabledMouseAndKeyboard() ||
g_Game.GetInput().GetCurrentInputDevice() ==
EInputDeviceType.CONTROLLER;
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)
string m_Description
class purpose description