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

◆ OnSprintEnd()

void DayZPlayer::OnSprintEnd ( )
inlineprotected

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

2967 {
2968 if (GetInstanceType() == DayZPlayerInstanceType.INSTANCETYPE_CLIENT)
2969 {
2970 #ifdef PLATFORM_CONSOLE
2971 if (GetUApi().GetInputByID(UAVoiceModifierHelper).LocalValue() == 0)
2972 #endif
2973 {
2974 GetUApi().GetInputByID(UALeanLeft).Unlock();
2975 GetUApi().GetInputByID(UALeanRight).Unlock();
2976 }
2977 }
2978 }
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:1071
proto native DayZPlayerInstanceType GetInstanceType()

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

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