FScopedPakDirectoryIndexAccess

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

Choose your operating system:

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