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

◆ OnSprintEnd()

void DayZPlayer::OnSprintEnd ( )
inlineprotected

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

3023 {
3024 if (GetInstanceType() == DayZPlayerInstanceType.INSTANCETYPE_CLIENT)
3025 {
3026 #ifdef PLATFORM_CONSOLE
3027 if (GetUApi().GetInputByID(UAVoiceModifierHelper).LocalValue() == 0)
3028 #endif
3029 {
3030 GetUApi().GetInputByID(UALeanLeft).Unlock();
3031 GetUApi().GetInputByID(UALeanRight).Unlock();
3032 }
3033 }
3034 }
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:1084
proto native DayZPlayerInstanceType GetInstanceType()

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

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