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

◆ CheckSoundEvent()

void ManBase::CheckSoundEvent ( )
inlineprotected

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

8005 {
8006 if (m_SoundEvent != 0 && (m_SoundEventParam & EPlayerSoundEventParam.STOP_PLAYBACK) != EPlayerSoundEventParam.STOP_PLAYBACK)
8008 else if (m_SoundEventParam & EPlayerSoundEventParam.STOP_PLAYBACK)
8010
8011 m_SoundEvent = 0;
8013
8014 // cancelling marked interrupted sounds
8015 if (m_PerformedAnimActionID == -1)
8016 {
8017 if (m_PerformedActionSounds.Count() == 0)
8018 return;
8019
8020 foreach (AbstractWave sound : m_PerformedActionSounds)
8021 {
8022 if (sound)
8023 sound.Stop();
8024 }
8025
8026 m_PerformedActionSounds.Clear();
8027 }
8028 }
override bool StopSoundEvent(EPlayerSoundEventID id, bool is_from_server=false, int param=0)
Определения PlayerBase.c:7858
int m_PerformedAnimActionID
Определения PlayerBase.c:309
int m_SoundEvent
Определения PlayerBase.c:107
int m_SoundEventParam
Определения PlayerBase.c:108
override bool PlaySoundEventEx(EPlayerSoundEventID id, bool from_anim_system=false, bool is_from_server=false, int param=0)
Определения PlayerBase.c:7850
void AbstractWave()
Определения Sound.c:167

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

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