Exemplo n.º 1
0
    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);
    }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 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));
 }
Exemplo n.º 4
0
 public Int32 DLL_FileSystem_IsExistentFile(ref FSDATA fsdata, string path)
 {
     return(GetProcAddress <Functions.DLL_FileSystem_IsExistentFile>()(ref fsdata, stringToNullTerminatedUtf8(path)));
 }
Exemplo n.º 5
0
 public void DLL_FileSystem_AddArchive(ref FSDATA fsdata, string path)
 {
     GetProcAddress <Functions.DLL_FileSystem_AddArchive>()(ref fsdata, path);
 }
Exemplo n.º 6
0
 public Int32 DLL_FileSystem_IsValid(ref FSDATA fsdata)
 {
     return(GetProcAddress <Functions.DLL_FileSystem_IsValid>()(ref fsdata));
 }
Exemplo n.º 7
0
 public void DLL_FileSystem_DeleteFileSystem(ref FSDATA fsdata)
 {
     GetProcAddress <Functions.DLL_FileSystem_DeleteFileSystem>()(ref fsdata);
 }
Exemplo n.º 8
0
 public void DLL_FileSystem_CreateFileSystemArchive(ref FSDATA fsdata)
 {
     GetProcAddress <Functions.DLL_FileSystem_CreateFileSystemArchive>()(ref fsdata);
 }