Navigation
API > API/Runtime > API/Runtime/PakFile > API/Runtime/PakFile/FPakFile
A ReadLock wrapper that must be used to prevent threading errors around any call to FindPrunedDirectory or internal uses of DirectoryIndex
| Name | FScopedPakDirectoryIndexAccess |
| Type | struct |
| Header File | /Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h |
| Include Path | #include "IPlatformFilePak.h" |
Syntax
struct FScopedPakDirectoryIndexAccess
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScopedPakDirectoryIndexAccess
(
const FPakFile& InPakFile |
IPlatformFilePak.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FScopedPakDirectoryIndexAccess() |
IPlatformFilePak.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bRequiresDirectoryIndexLock | bool | IPlatformFilePak.h | ||
| PakFile | const FPakFile & | IPlatformFilePak.h |