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

◆ PlaySoundEvent()

void ScriptConsoleSoundsTab::PlaySoundEvent ( )
inlineprotected

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

300 {
301 m_SelectedID = m_SoundEventIDBox.GetText().ToInt();
302 if (m_SelectedID == 0)
303 return;
304
305 DayZPlayerImplement player = DayZPlayerImplement.Cast(GetGame().GetPlayer());
306
307 if (m_SelectedSoundEventType == "SoundAttachment")
309 else
310 player.OnSoundEvent(m_SelectedSoundEventType, string.Empty, m_SoundEventIDBox.GetText().ToInt());
311 }
Empty
Определения Hand_States.c:14
PlayerBase GetPlayer()
Определения ModifierBase.c:51
static int m_SelectedID
Определения ScriptConsoleSoundsTab.c:6
EditBoxWidget m_SoundEventIDBox
Определения ScriptConsoleSoundsTab.c:20
static string m_SelectedSoundEventType
Определения ScriptConsoleSoundsTab.c:7
static string m_SelectedAttachments
Определения ScriptConsoleSoundsTab.c:8
proto native CGame GetGame()

Перекрестные ссылки Empty, GetGame(), GetPlayer(), m_SelectedAttachments, m_SelectedID, m_SelectedSoundEventType и m_SoundEventIDBox.

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