FPakFile::PakContains

Return whether the Pak has an entry for the given FileName.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

IPakFile::PakContains()

FPakFile::PakContains()

References

Module

PakFile

Header

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

Include

#include "IPlatformFilePak.h"

Syntax

virtual bool PakContains
(
    const FString & Filename
) const

Remarks

Return whether the Pak has an entry for the given FileName. Not necessarily exclusive; other Patch Paks may have their own copy of the same File.

Parameters

Parameter

Description

Filename

The full LongPackageName path to the file, as returned from FPackageName::LongPackageNameToFilename + extension. Comparison is case-insensitive.