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

◆ EnableAllInputs() [2/2]

override void MissionBase::EnableAllInputs ( bool bForceSupress = false)
inlineprotected

Removes all active input excludes and restrictions.

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

1006 {
1008
1010 {
1011 int count = m_ActiveInputRestrictions.Count();
1012 for (int i = 0; i < count; i++)
1013 {
1015 }
1016 m_ActiveInputRestrictions.Clear(); //redundant?
1017 }
1019 {
1021 }
1022
1023 GetUApi().UpdateControls(); //it is meant to happen instantly, does not wait for update to process
1024 GetUApi().SupressNextFrame(bForceSupress); // supress control for next frame
1025 }
proto native UAInputAPI GetUApi()
int m_ControlDisabledMode
Определения missionGameplay.c:38
ref array< string > m_ActiveInputExcludeGroups
Определения missionGameplay.c:39
ref array< int > m_ActiveInputRestrictions
Определения missionGameplay.c:40
override void RemoveActiveInputRestriction(int restrictor)
Removes one restriction (specific behaviour oudside regular excludes, defined below)
Определения missionGameplay.c:969
proto native void UpdateControls()
proto native void SupressNextFrame(bool bForce)

Перекрестные ссылки GetUApi(), m_ActiveInputExcludeGroups, m_ActiveInputRestrictions, m_ControlDisabledMode, RemoveActiveInputRestriction(), UAInputAPI::SupressNextFrame() и UAInputAPI::UpdateControls().