131{
134
136 {
138 {
139 g_Game.GetMission().AddActiveInputExcludes({
"menu"});
140
141 g_Game.GetMission().GetHud().ShowHudUI(
false);
142 g_Game.GetMission().GetHud().ShowQuickbarUI(
false);
143 }
144 }
145
147 {
149 {
150 g_Game.GetMission().RemoveActiveInputExcludes({
"menu"},
true);
151
152 g_Game.GetMission().GetHud().ShowHudUI(
true);
153 g_Game.GetMission().GetHud().ShowQuickbarUI(
true);
154
157 }
158 }
159
161 {
162 layoutRoot =
g_Game.GetWorkspace().CreateWidgets(
"gui/layouts/day_z_dropped_items.layout");
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
234 toolbarShow = !
g_Game.GetInput().IsEnabledMouseAndKeyboard() ||
g_Game.GetInput().GetCurrentInputDevice() ==
EInputDeviceType.CONTROLLER;
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)
string m_Description
class purpose description