IPakFile::PakContains

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

Windows
MacOS
Linux

Override Hierarchy

IPakFile::PakContains()

FPakFile::PakContains()

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformFile.h

Include

#include "GenericPlatform/GenericPlatformFile.h"

Syntax

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.

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