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

◆ CheckSoundEvent()

void ManBase::CheckSoundEvent ( )
inlineprotected

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

7656 {
7657 if (m_SoundEvent != 0 && (m_SoundEventParam & EPlayerSoundEventParam.STOP_PLAYBACK) != EPlayerSoundEventParam.STOP_PLAYBACK)
7659 else if (m_SoundEventParam & EPlayerSoundEventParam.STOP_PLAYBACK)
7661
7662 m_SoundEvent = 0;
7664
7665 // cancelling marked interrupted sounds
7666 if (m_PerformedAnimActionID == -1)
7667 {
7668 if (m_PerformedActionSounds.Count() == 0)
7669 return;
7670
7671 foreach (AbstractWave sound : m_PerformedActionSounds)
7672 {
7673 if (sound)
7674 sound.Stop();
7675 }
7676
7677 m_PerformedActionSounds.Clear();
7678 }
7679 }
override bool StopSoundEvent(EPlayerSoundEventID id, bool is_from_server=false, int param=0)
Определения PlayerBase.c:7513
int m_PerformedAnimActionID
Определения PlayerBase.c:310
int m_SoundEvent
Определения PlayerBase.c:108
int m_SoundEventParam
Определения PlayerBase.c:109
override bool PlaySoundEventEx(EPlayerSoundEventID id, bool from_anim_system=false, bool is_from_server=false, int param=0)
Определения PlayerBase.c:7505
void AbstractWave()
Определения Sound.c:167

Перекрестные ссылки AbstractWave(), m_PerformedAnimActionID, m_SoundEvent, m_SoundEventParam, PlaySoundEventEx() и StopSoundEvent().

Используется в OnVariablesSynchronized() и SendSoundEventEx().