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

◆ EnableAllInputs() [2/2]

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

Removes all active input excludes and restrictions.

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

983 {
985
987 {
988 int count = m_ActiveInputRestrictions.Count();
989 for (int i = 0; i < count; i++)
990 {
992 }
993 m_ActiveInputRestrictions.Clear(); //redundant?
994 }
996 {
998 }
999
1000 GetUApi().UpdateControls(); //it is meant to happen instantly, does not wait for update to process
1001 GetUApi().SupressNextFrame(bForceSupress); // supress control for next frame
1002 }
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:942
proto native void UpdateControls()
proto native void SupressNextFrame(bool bForce)

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