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

◆ InitVideoLoading()

void ScriptedWidgetEventHandler::InitVideoLoading ( )
inlineprivate

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

75 {
76 string path = "video\\*";
77
78 string fileName;
79 FileAttr fileAttr;
80
81 FindFileHandle handle = FindFile(path, fileName, fileAttr, FindFileFlags.DIRECTORIES);
82
83 if (fileName != "")
84 {
86 }
87
88 while (FindNextFile(handle, fileName, fileAttr))
89 {
90 CreateVideoLoadingEntry(fileName);
91 }
92
93 CloseFindFile(handle);
94 }
string path
Определения OptionSelectorMultistate.c:142
void CreateVideoLoadingEntry(string entryName)
Определения VideoPlayer.c:96
proto native void CloseFindFile(FindFileHandle handle)
enum FindFileFlags FindFile(string pattern, out string fileName, out FileAttr fileAttributes, FindFileFlags flags)
FindFileFlags
Определения EnSystem.c:514
proto bool FindNextFile(FindFileHandle handle, out string fileName, out FileAttr fileAttributes)
int[] FindFileHandle
Определения EnSystem.c:503
FileAttr
Определения EnSystem.c:506

Перекрестные ссылки CloseFindFile(), CreateVideoLoadingEntry(), FindFile(), FindNextFile() и path.

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