FPakFile::PruneDirectoryIndex

Given a directory index, remove entries from it that are directed by ini to not have filenames kept at runtime.

Windows
MacOS
Linux

References

Module

PakFile

Header

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

Include

#include "IPlatformFilePak.h"

Source

/Engine/Source/Runtime/PakFile/Private/IPlatformFilePak.cpp

Syntax

static void PruneDirectoryIndex
(
    FDirectoryIndex & InOutDirectoryIndex,
    FDirectoryIndex * PrunedDirectoryIndex,
    const FString & MountPoint
)

Remarks

Given a directory index, remove entries from it that are directed by ini to not have filenames kept at runtime.

InOutDirectoryIndex - The full index from which to potentially remove entries OutDirectoryIndex - If null, InOutDirectoryIndex will have pruned entries removed. If non-null, InOutDirectoryIndex will not be modified, and PrunedDirectoryIndex will have kept values added. MountPoint The mount point for the pak containing the index, used to provide the fullpath for filenames in the DirectoryIndex for comparison against paths in ini

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