The function I used to use:
FPakFile(const TCHAR* Filename, bool bIsSigned)
this function is not used when update to 4.14;Now, only use this function:
FPakFile(IPlatformFile* LowerLevel, const TCHAR* Filename, bool bIsSigned)
but i don’t kown how to use it?thanks for your help !
FPakFile PakFile(*PakFileName, false);
if (!PakFile.IsValid())
{
Unlock();
return “”;
}
Hey,
just had the exact same problem.
You can just get the PlatformFile via:
IPlatformFile& PlatformFile = FPlatformFileManager::Get().GetPlatformFile();
that way you can use:
FPakFile PakFile(&PlatformFile, *filePath, false);
Hope this helps.