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

◆ PlayReplaceSound()

bool PlayReplaceSound ( int soundEventID,
ESoundEventType soundType,
int flags )
protected

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

80 {
81 ReplaceSoundEventBase soundEvent = GetSoundEventByID(soundEventID, soundType);
82 if (!soundEvent)
83 return false;
84
85 ReplaceSoundEventBase soundEventObj = ReplaceSoundEventBase.Cast(soundEvent.ClassName().ToType().Spawn());
86 soundEventObj.Init(m_Player);
87
88 return soundEventObj.Play();
89 }
map m_Player
ReplaceSoundEventBase GetSoundEventByID(int id, ESoundEventType soundType)
Определения ReplaceSoundEventHandler.c:65
void Init(PlayerBase player)
Определения ReplaceSoundEventBase.c:25

Перекрестные ссылки GetSoundEventByID(), ReplaceSoundEventBase::Init() и ReplaceSoundEventBase::Play().