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

◆ OnSprintEnd()

void DayZPlayer::OnSprintEnd ( )
inlineprotected

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

2925 {
2926 if (GetInstanceType() == DayZPlayerInstanceType.INSTANCETYPE_CLIENT)
2927 {
2928 #ifdef PLATFORM_CONSOLE
2929 if (GetUApi().GetInputByID(UAVoiceModifierHelper).LocalValue() == 0)
2930 #endif
2931 {
2932 GetUApi().GetInputByID(UALeanLeft).Unlock();
2933 GetUApi().GetInputByID(UALeanRight).Unlock();
2934 }
2935 }
2936 }
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().