DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ Update()

void array::Update ( float timeslice)
inlineprotected

См. определение в файле KeybindingsContainer.c строка 250

251 {
253 {
255 if ( ua_api.DeterminePressedButton() != 0 )
256 {
257 string name;
258 string text;
260
261 // remove previous backlit
262 GetDayZGame().GetBacklit().KeybindingClear();
263
264 for( int i = 0; i < ua_api.DeterminedCount(); ++i )
265 {
266 int kb_id = ua_api.GetDetermined( i );
267 new_keybinds.Insert( kb_id );
268
269 // light up specific key
270 GetDayZGame().GetBacklit().KeybindingShow(kb_id);
271 }
272
273 if ( m_CurrentSettingKeyIndex != -1 )
274 {
275 m_Menu.ConfirmKeybindEntry( new_keybinds );
277 {
278 element.Reload( new_keybinds, false );
279 }
281 }
282 else if ( m_CurrentSettingAlternateKeyIndex != -1 )
283 {
284 m_Menu.ConfirmAlternateKeybindEntry( new_keybinds );
286 {
287 elementAlternate.Reload( new_keybinds, true );
288 }
290 }
291 }
292 }
293 }
DayZGame GetDayZGame()
Определения DayZGame.c:3870
proto native UAInputAPI GetUApi()
KeybindingsMenu m_Menu
Определения KeybindingsContainer.c:6
ref map< int, ref ElementArray > m_KeyWidgetElements
Определения KeybindingsContainer.c:9
int m_CurrentSettingAlternateKeyIndex
Определения KeybindingsContainer.c:11
int m_CurrentSettingKeyIndex
Определения KeybindingsContainer.c:10
Result for an object found in CGame.IsBoxCollidingGeometryProxy.