





























CGameContext::OnInit()










void ListDirectory(int Type, const char *pPath, FS_LISTDIR_CALLBACK pfnCallback, void *pUser) is the function you need to use

typedef int (*FS_LISTDIR_CALLBACK)(const char *name, int is_dir, int dir_type, void *user); is the signature your callback function needs to have
































































static int ListdirCallback(const char *pName, int IsDir, int StorageType, void *pUser)
{
CGameContext *pSelf = (CGameContext *)pUser;
}

Storage()->ListDirectory(IStorage::TYPE_ALL, g_Config.m_SvPath, ListdirCallback, this);














import os
os.system("python otherfile.py")













































































































































































\@role














































































