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

◆ LoadVideo()

void ScriptedWidgetEventHandler::LoadVideo ( string videoPath)
inlineprotected

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

235 {
236 string path;
237 #ifdef PLATFORM_WINDOWS
238 path = ".\\video\\";
239 #endif
240 #ifdef PLATFORM_MSSTORE
241 path = ".\\video\\";
242 #endif
243 #ifdef PLATFORM_PS4
244 path = "/app0/video/";
245 #endif
246 #ifdef PLATFORM_XBOX
247 path = "G:\\video\\";
248 #endif
249
250 m_VideoWidget.Load(path + videoPath, m_VideoWidget.IsLooping());
251
252 g_Game.GetCallQueue(CALL_CATEGORY_SYSTEM).CallLater(UpdateTotalTime, 0, true);
253 }
DayZGame g_Game
Определения DayZGame.c:3942
string path
Определения OptionSelectorMultistate.c:142
VideoWidget m_VideoWidget
Определения MainMenuPromo.c:17
void UpdateTotalTime()
Определения VideoPlayer.c:113
const int CALL_CATEGORY_SYSTEM
Определения 3_Game/DayZ/tools/tools.c:8

Перекрестные ссылки CALL_CATEGORY_SYSTEM, g_Game, m_VideoWidget, path и UpdateTotalTime().

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