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

◆ OnSprintEnd()

void DayZPlayer::OnSprintEnd ( )
inlineprotected

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

2991 {
2992 if (GetInstanceType() == DayZPlayerInstanceType.INSTANCETYPE_CLIENT)
2993 {
2994 #ifdef PLATFORM_CONSOLE
2995 if (GetUApi().GetInputByID(UAVoiceModifierHelper).LocalValue() == 0)
2996 #endif
2997 {
2998 GetUApi().GetInputByID(UALeanLeft).Unlock();
2999 GetUApi().GetInputByID(UALeanRight).Unlock();
3000 }
3001 }
3002 }
proto native UAInputAPI GetUApi()
proto native void Unlock()
proto native UAInput GetInputByID(int iID)
returns list of all bindable (i.e. visible) inputs from the active group ('core' by default)
DayZPlayerInstanceType
defined in C++
Определения dayzplayer.c:1068
proto native DayZPlayerInstanceType GetInstanceType()

Перекрестные ссылки UAInputAPI::GetInputByID(), GetInstanceType(), GetUApi() и UAInput::Unlock().

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