public void ProcArchive(string arcPath, ProcArchiveFunc func) { FSDATA fsdata = new FSDATA(); DLL_FileSystem_CreateFileSystemArchive(ref fsdata); DLL_FileSystem_AddArchive(ref fsdata, arcPath); string[] files = GetFiles(ref fsdata); func(ref fsdata, files); DLL_FileSystem_DeleteFileSystem(ref fsdata); }
public void DLL_FileSystem_CreateList(ref FSDATA fsdata, string path, Int32 listType, ref LISTDATA listData) { GetProcAddress <Functions.DLL_FileSystem_CreateList>()(ref fsdata, stringToNullTerminatedUtf8(path), listType, ref listData); }
public Int32 DLL_FileSystem_GetFile(ref FSDATA fsdata, string path, ref FILEDATA dest) { return(GetProcAddress <Functions.DLL_FileSystem_GetFile>()(ref fsdata, stringToNullTerminatedUtf8(path), ref dest)); }
public Int32 DLL_FileSystem_IsExistentFile(ref FSDATA fsdata, string path) { return(GetProcAddress <Functions.DLL_FileSystem_IsExistentFile>()(ref fsdata, stringToNullTerminatedUtf8(path))); }
public void DLL_FileSystem_AddArchive(ref FSDATA fsdata, string path) { GetProcAddress <Functions.DLL_FileSystem_AddArchive>()(ref fsdata, path); }
public Int32 DLL_FileSystem_IsValid(ref FSDATA fsdata) { return(GetProcAddress <Functions.DLL_FileSystem_IsValid>()(ref fsdata)); }
public void DLL_FileSystem_DeleteFileSystem(ref FSDATA fsdata) { GetProcAddress <Functions.DLL_FileSystem_DeleteFileSystem>()(ref fsdata); }
public void DLL_FileSystem_CreateFileSystemArchive(ref FSDATA fsdata) { GetProcAddress <Functions.DLL_FileSystem_CreateFileSystemArchive>()(ref fsdata); }