FScopedPakDirectoryIndexAccess

A ReadLock wrapper that must be used to prevent threading errors around any call to FindPrunedDirectory or internal uses of DirectoryIndex

Windows
MacOS
Linux

References

Module

PakFile

Header

/Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h

Include

#include "IPlatformFilePak.h"

Syntax

struct FScopedPakDirectoryIndexAccess

Remarks

A ReadLock wrapper that must be used to prevent threading errors around any call to FindPrunedDirectory or internal uses of DirectoryIndex

Variables

Name Description

Public variable

bool

 

bRequiresDirectoryIndexLock

Public variable

const FPakFile ...

 

PakFile

Constructors

Name Description

Public function

FScopedPakDirectoryIndexAccess

(
    const FPakFile& InPakFile
)

Destructors

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss