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

◆ InterruptGestureCheck()

bool InterruptGestureCheck ( )
protected

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

1139 {
1140 //init pass
1142 {
1145
1146 for (int i = 0; i < m_InterruptInputsCount; i++)
1147 {
1148 m_InterruptInputDirect.Insert(GetUApi().GetInputByName(m_InterruptInputs[i]).GetPersistentWrapper());
1149 }
1150 }
1151
1152 //interrupts any callback if restrain action is in progress, takes priority
1153 if (!m_Callback.m_IsFullbody)
1154 return false;
1155
1156 for (int idx = 0; idx < m_InterruptInputsCount; idx++)
1157 {
1158 if (m_InterruptInputDirect[idx].InputP().LocalPress())
1159 {
1160 return true;
1161 }
1162 }
1163
1164 return false;
1165 }
EmoteCB m_Callback
Определения EmoteManager.c:111
int m_InterruptInputsCount
Определения EmoteManager.c:137
ref array< string > m_InterruptInputs
Определения EmoteManager.c:113
ref array< UAIDWrapper > m_InterruptInputDirect
Определения EmoteManager.c:114
proto native UAInputAPI GetUApi()
Result for an object found in CGame.IsBoxCollidingGeometryProxy.

Перекрестные ссылки GetUApi(), m_Callback, m_InterruptInputDirect, m_InterruptInputs и m_InterruptInputsCount.

Используется в Update().