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

◆ PlaySoundEvent()

void ScriptConsoleSoundsTab::PlaySoundEvent ( )
inlineprotected

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

302 {
303 m_SelectedID = m_SoundEventIDBox.GetText().ToInt();
304 if (m_SelectedID == 0)
305 return;
306
307 DayZPlayerImplement player = DayZPlayerImplement.Cast(g_Game.GetPlayer());
308
309 if (m_SelectedSoundEventType == "SoundAttachment")
311 else
312 player.OnSoundEvent(m_SelectedSoundEventType, string.Empty, m_SoundEventIDBox.GetText().ToInt());
313 }
DayZGame g_Game
Определения DayZGame.c:4074
Empty
Определения Hand_States.c:14
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

Перекрестные ссылки Empty, g_Game, m_SelectedAttachments, m_SelectedID, m_SelectedSoundEventType и m_SoundEventIDBox.

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