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

◆ InterruptGestureCheck()

bool InterruptGestureCheck ( )
protected

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

1284 {
1285 //init pass
1287 {
1290
1291 for (int i = 0; i < m_InterruptInputsCount; i++)
1292 {
1293 m_InterruptInputDirect.Insert(GetUApi().GetInputByName(m_InterruptInputs[i]).GetPersistentWrapper());
1294 }
1295 }
1296
1297 //interrupts any callback if restrain action is in progress, takes priority
1298 if (!m_Callback.m_IsFullbody)
1299 return false;
1300
1301 for (int idx = 0; idx < m_InterruptInputsCount; idx++)
1302 {
1303 if (m_InterruptInputDirect[idx].InputP().LocalPress())
1304 {
1305 return true;
1306 }
1307 }
1308
1309 return false;
1310 }
EmoteCB m_Callback
Определения EmoteManager.c:120
int m_InterruptInputsCount
Определения EmoteManager.c:147
ref array< string > m_InterruptInputs
Определения EmoteManager.c:122
ref array< UAIDWrapper > m_InterruptInputDirect
Определения EmoteManager.c:123
proto native UAInputAPI GetUApi()
Result for an object found in CGame.IsBoxCollidingGeometryProxy.

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

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