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

◆ CancelContinuousUse()

void CancelContinuousUse ( int index)
protected

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

282 {
283 if (_player.m_QuickBarHold)
284 {
285 HumanInputController hic = _player.GetInputController();
286 if (hic && hic.IsQuickBarSlot() == index + 1)
287 _player.OnQuickBarContinuousUseEnd(index + 1);
288 }
289 }
PlayerBase _player
Определения QuickBarBase.c:18
proto native int IsQuickBarSlot()
returns 1..10 if some quickbar slot is used, 0 otherwise
Определения human.c:18

Перекрестные ссылки _player и HumanInputController::IsQuickBarSlot().

Используется в _RemoveEntity(), _SetEntity(), SetShotcutEnable() и UpdateShotcutVisibility().