194{
197
199 {
201 {
202 g_Game.GetMission().AddActiveInputExcludes({
"menu"});
203
204 g_Game.GetMission().GetHud().ShowHudUI(
false);
205 g_Game.GetMission().GetHud().ShowQuickbarUI(
false);
206 }
207 }
208
210 {
212 {
213 g_Game.GetMission().RemoveActiveInputExcludes({
"menu"},
true);
214
215 g_Game.GetMission().GetHud().ShowHudUI(
true);
216 g_Game.GetMission().GetHud().ShowQuickbarUI(
true);
217
220 }
221 }
222
224 {
225 layoutRoot =
g_Game.GetWorkspace().CreateWidgets(
"gui/layouts/day_z_dropped_items.layout");
226 m_OkButton = ButtonWidget.Cast(layoutRoot.FindAnyWidget(
"bOK"));
227 m_Description = MultilineTextWidget.Cast(layoutRoot.FindAnyWidget(
"txtDescription"));
229
232
234 {
237 }
238
240
241 return layoutRoot;
242 }
243
245 {
246 return "";
247 }
248
250 {
251 super.OnClick(w,
x,
y, button);
252
253 if (w.GetUserID() ==
IDC_OK)
254 {
256 return true;
257 }
258
259 return false;
260 }
261
262 override void Update(
float timeslice)
263 {
264 super.Update(timeslice);
265
266 #ifdef PLATFORM_CONSOLE
267 if (
GetUApi().GetInputByID(UAUISelect).LocalPress())
269 #endif
270 }
271
273 {
274 #ifdef PLATFORM_CONSOLE
276 #endif
277 }
278
280 {
283 }
284
286 {
289
290 toolbarText.SetText(context);
291 }
292
294 {
295 bool toolbarShow = false;
296 #ifdef PLATFORM_CONSOLE
297 toolbarShow = !
g_Game.GetInput().IsEnabledMouseAndKeyboard() ||
g_Game.GetInput().GetCurrentInputDevice() ==
EInputDeviceType.CONTROLLER;
298 #endif
299
300 layoutRoot.FindAnyWidget("BottomConsoleToolbar").Show(toolbarShow);
302 }
303}
304
306{
308 {
309 return "#str_item_drop_notification";
310 }
311}
312
314{
316 {
317 return "#str_position_change_notification";
318 }
319}
void OnInputPresetChanged()
void OnInputDeviceChanged(EInputDeviceType pInputDeviceType)
string m_Description
class purpose description