| IPlatformFile
|
Module |
|
Header |
/Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h |
Include |
#include "IPlatformFilePak.h" |
class FPakPlatformFile : public IPlatformFile
Platform file wrapper to be able to use pak files.
Name | Description | |
---|---|---|
|
FPakPlatformFile() |
Constructor. |
Name | Description | |
---|---|---|
|
~FPakPlatformFile() |
Destructor. |
Name | Description | ||
---|---|---|---|
|
bool |
AnyChunksAvailable() |
Returns true if any of the mounted or pending pak files are chunks (filenames starting pakchunkN) |
|
void |
BroadcastPakChunkSignatureCheckFailure ( |
Broadcast a signature check failure through any registered delegates in a thread safe way. |
|
void |
BroadcastPakMasterSignatureTableCheckFailure ( |
|
|
void |
BroadcastPakPrincipalSignatureTableCheckFailure ( |
Broadcast a principal signature table failure through any registered delegates in a thread safe way. |
|
bool |
CheckIfPakFilesExist ( |
Checks if pak files exist in any of the known pak file locations. |
|
ConvertToPakRelativePath ( |
Converts a filename to a path inside pak file. |
|
|
bool |
FindFileInPakFiles ( |
Finds a file in all available pak files. |
|
bool |
FindFileInPakFiles |
Overload needed for deprecation; remove this when removing the version with a FPakFile** OutPakFile |
|
bool |
FindFileInPakFiles ( |
Finds a file in the specified pak files. |
|
bool |
FindFileInPakFiles ( |
Overload needed for deprecation; remove this when removing the version with a FPakFile** OutPakFile |
|
void |
FindFilesInternal |
|
|
void |
ForeachPackageInIostoreWhile ( |
Iterates Iostore Container while Predicate returns true |
|
FFilenameSec... |
GetFilenameSecurityDelegate() |
Access static delegate for loose file security. |
|
void |
GetFilenamesFromIostoreByBlockIndex |
Returns the RelativePathFromMount Filename for every Filename found in the Iostore Container that relates to the provided block indexes |
|
void |
GetFilenamesFromIostoreContainer |
Returns the RelativePathFromMount Filename for every file found in the given Iostore Container |
|
void |
GetMountedPakFilenames |
Get a list of all pak files which have been successfully mounted |
|
const TCHAR ... |
GetMountStartupPaksWildCard() |
Get the wild card pattern used to identify paks to load on startup |
|
EChunkLocati... |
GetPakChunkLocation ( |
Determine location information for a given pakchunk index. |
|
FPakCustomEn... |
GetPakCustomEncryptionDelegate() |
Access static delegate for custom encryption. |
|
void |
GetPakEncryptionKey ( |
Helper function for accessing pak encryption key Precaching |
|
void |
GetPakFolders |
Gets all pak file locations. |
|
FPakSetIndex... |
GetPakSetIndexSettingsDelegate() |
Access static delegate for setting PakIndex settings. |
|
TSharedPtr< ... |
GetPakSignatureFile ( |
Load a pak signature file. |
|
FPakSigningF... |
GetPakSigningFailureHandlerData() |
Access static delegate for handling a Pak signature check failure. |
|
void |
GetPrunedFilenamesInChunk |
Get a list of RelativePathFromMount for every file in the given Pak that lives in any of the given chunks. |
|
void |
GetPrunedFilenamesInPakFile |
Gets a list of FullPaths (includes Mount directory) for every File in the given Pak's Pruned DirectoryIndex |
|
const TCHAR ... |
GetTypeName() |
Get the unique name for the pak platform file layer |
|
void |
HandleMountCommand ( |
|
|
void |
HandlePakCorruptCommand ( |
|
|
void |
HandlePakListCommand ( |
BEGIN Console commands. |
|
void |
HandleReloadPakReadersCommand ( |
|
|
void |
HandleUnmountCommand ( |
|
|
bool |
IterateDirectoryInternal ( |
|
|
bool |
IterateDirectoryInternal ( |
|
|
bool |
IterateDirectoryStatInternal ( |
|
|
bool |
Mount ( |
Mounts a pak file at the specified path. |
|
int32 |
MountAllPakFiles |
|
|
int32 |
MountAllPakFiles |
|
|
void |
OptimizeMemoryUsageForMountedPaks() |
|
|
void |
ReleaseOldReaders() |
|
|
bool |
ReloadPakReaders() |
Re-creates all the pak readers |
|
void |
RemoveCachedPakSignaturesFile ( |
Remove the intenrally cached pointer to the signature file for the specified pak |
|
void |
SetMountStartupPaksWildCard ( |
Overrides the wildcard used for searching paks. Call before initialization |
|
bool |
Unmount ( |
Name | Description | ||
---|---|---|---|
|
ConvertToAbsolutePathForExternalAppForRead ( |
Converts passed in filename to use an absolute path (for reading). |
|
|
ConvertToAbsolutePathForExternalAppForWrite ( |
Converts passed in filename to use an absolute path (for writing) |
|
|
bool |
CopyFile ( |
Copy a file. This will fail if the destination file already exists. |
|
bool |
CreateDirectory ( |
Create a directory and return true if the directory was created or already existed. |
|
bool |
CreateDirectoryTree ( |
Create a directory, including any parent directories and return true if the directory was created or already existed. |
|
bool |
DeleteDirectory ( |
Delete a directory and return true if the directory was deleted or otherwise does not exist. |
|
bool |
DeleteDirectoryRecursively ( |
Delete all files and subdirectories in a directory, then delete the directory itself |
|
bool |
DeleteFile ( |
Delete a file and return true if the file exists. Will not delete read only files. |
|
bool |
DirectoryExists ( |
Return true if the directory exists. |
|
bool |
FileExists ( |
Return true if the file exists. |
|
int64 |
FileSize ( |
Return the size of the file, or -1 if it doesn't exist. |
|
void |
FindFiles |
Finds all the files within the given directory, with optional file extension filter |
|
void |
FindFilesRecursively |
Finds all the files within the directory tree, with optional file extension filter |
|
GetAccessTimeStamp ( |
Return the last access time of a file. |
|
|
GetFilenameOnDisk ( |
For case insensitive filesystems, returns the full path of the file with the same case as in the filesystem |
|
|
IPlatformFil... |
GetLowerLevel() |
Gets the platform file wrapped by this file. |
|
const TCHAR ... |
GetName() |
Gets this platform file type name. |
|
FFileStatDat... |
GetStatData ( |
Return the stat data for the given file or directory. |
|
GetTimeStamp ( |
Return the modification time of a file. |
|
|
void |
GetTimeStampPair |
|
|
bool |
Initialize ( |
Initializes platform file. |
|
void |
InitializeNewAsyncIO() |
Performs initialization of the platform file after the new async IO has been enabled |
|
bool |
IsReadOnly ( |
Return true if the file is read only. |
|
ESymlinkResu... |
IsSymlink ( |
Return true if the file is a symbolic link |
|
bool |
IterateDirectory ( |
Call the Visit function of the visitor once for each file or directory in a single directory. |
|
bool |
IterateDirectoryRecursively ( |
Call the Visit function of the visitor once for each file or directory in a directory tree. |
|
bool |
IterateDirectoryStat ( |
Call the Visit function of the visitor once for each file or directory in a single directory. |
|
bool |
IterateDirectoryStatRecursively ( |
Call the Visit function of the visitor once for each file or directory in a directory tree. |
|
void |
MakeUniquePakFilesForTheseFiles |
Make unique in memory pak files from a list of named files |
|
bool |
MoveFile ( |
Attempt to move a file. Return true if successful. Will not overwrite existing files. |
|
IAsyncReadFi... |
OpenAsyncRead ( |
Open a file for async reading. This call does not hit the disk or block. |
|
IMappedFileH... |
OpenMapped ( |
Open a file for async reading. This call does hit the disk; it is synchronous open. |
|
IFileHandle ... |
OpenRead ( |
Attempt to open a file for reading. |
|
IFileHandle ... |
OpenWrite ( |
Attempt to open a file for writing. |
|
void |
SetAsyncMinimumPriority ( |
Controls if the pak precacher should process precache requests. |
|
void |
SetLowerLevel ( |
Sets the platform file wrapped by this file. |
|
bool |
SetReadOnly ( |
Attempt to change the read only status of a file. Return true if successful. |
|
void |
SetTimeStamp ( |
Sets the modification time of a file |
|
bool |
ShouldBeUsed ( |
Checks if this platform file should be used even though it was not asked to be. |
|
void |
Tick() |
Platform file can override this to get a regular tick from the engine |
Name |
Description |
|
---|---|---|
|
FPakSigningFailureHandlerData |
|
|
FPreventDuplicatesStatVisitor |
|
|
FPreventDuplicatesVisitor |
|
|
FPreventDuplicatesVisitorBase |
Helper class to filter out files which have already been visited in one of the pak files. |
Name |
Description |
---|---|
PakSignatureFileCache |
Internal cache of pak signature files. |
PakSignatureFileCacheLock |
Name | Description | ||
---|---|---|---|
|
bool |
FindFileInPakFiles |
Use version with OutPakFile is a TRefCountPtr |
|
bool |
FindFileInPakFiles |
Use version with OutPakFile is a TRefCountPtr |