201{
204
206 {
208 {
209 g_Game.GetMission().AddActiveInputExcludes({
"menu"});
210
211 g_Game.GetMission().GetHud().ShowHudUI(
false);
212 g_Game.GetMission().GetHud().ShowQuickbarUI(
false);
213 }
214 }
215
217 {
219 {
220 g_Game.GetMission().RemoveActiveInputExcludes({
"menu"},
true);
221
222 g_Game.GetMission().GetHud().ShowHudUI(
true);
223 g_Game.GetMission().GetHud().ShowQuickbarUI(
true);
224
227 }
228 }
229
231 {
232 layoutRoot =
g_Game.GetWorkspace().CreateWidgets(
"gui/layouts/day_z_dropped_items.layout");
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
304 toolbarShow = !
g_Game.GetInput().IsEnabledMouseAndKeyboard() ||
g_Game.GetInput().GetCurrentInputDevice() ==
EInputDeviceType.CONTROLLER;
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)
string m_Description
class purpose description