Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
IPakFile Class Referenceabstract

#include <GenericPlatformFile.h>

Public Member Functions

virtual const FStringPakGetPakFilename () const =0
 
virtual bool PakContains (const FString &Filename) const =0
 
virtual int32 PakGetPakchunkIndex () const =0
 
virtual void PakVisitPrunedFilenames (IPlatformFile::FDirectoryVisitor &Visitor) const =0
 
virtual const FStringPakGetMountPoint () const =0
 
virtual int32 GetNumFiles () const =0
 

Detailed Description

Definition at line 646 of file GenericPlatformFile.h.

Member Function Documentation

◆ GetNumFiles()

virtual int32 IPakFile::GetNumFiles ( ) const
pure virtual

◆ PakContains()

virtual bool IPakFile::PakContains ( const FString & Filename) const
pure virtual

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
FilenameThe full LongPackageName path to the file, as returned from FPackageName::LongPackageNameToFilename + extension. Comparison is case-insensitive.

◆ PakGetMountPoint()

virtual const FString & IPakFile::PakGetMountPoint ( ) const
pure virtual

◆ PakGetPakchunkIndex()

virtual int32 IPakFile::PakGetPakchunkIndex ( ) const
pure virtual

◆ PakGetPakFilename()

virtual const FString & IPakFile::PakGetPakFilename ( ) const
pure virtual

◆ PakVisitPrunedFilenames()

virtual void IPakFile::PakVisitPrunedFilenames ( IPlatformFile::FDirectoryVisitor & Visitor) const
pure virtual

Calls the given Visitor on every FileName in the Pruned Directory Index. FileNames passed to the Vistory are the RelativePath from the Mount of the PakFile The Pruned Directory Index at Runtime contains only the DirectoryIndexKeepFiles-specified subset of FilesNames and DirectoryNames that exist in the PakFile


The documentation for this class was generated from the following file: