UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FPakEntryLocation Struct Reference

#include <IPlatformFilePak.h>

Public Member Functions

 FPakEntryLocation ()
 
 FPakEntryLocation (const FPakEntryLocation &Other)=default
 
FPakEntryLocationoperator= (const FPakEntryLocation &other)=default
 
bool IsInvalid () const
 
bool IsOffsetIntoEncoded () const
 
bool IsListIndex () const
 
int32 GetAsOffsetIntoEncoded () const
 
int32 GetAsListIndex () const
 
void Serialize (FArchive &Ar)
 
bool operator== (const FPakEntryLocation &Other) const
 

Static Public Member Functions

static FPakEntryLocation CreateInvalid ()
 
static FPakEntryLocation CreateFromOffsetIntoEncoded (int32 Offset)
 
static FPakEntryLocation CreateFromListIndex (int32 ListIndex)
 

Static Public Attributes

static const int32 Invalid = MIN_int32
 
static const int32 MaxIndex = MAX_int32 - 1
 

Detailed Description

An identifier for the location of an FPakEntry in an FDirectoryIndex or an FPathHashIndex. Contains a byte offset into the encoded array of FPakEntry data, an index into the list of unencodable FPakEntries, or a marker indicating invalidity

Constructor & Destructor Documentation

◆ FPakEntryLocation() [1/2]

FPakEntryLocation::FPakEntryLocation ( )
inline

◆ FPakEntryLocation() [2/2]

FPakEntryLocation::FPakEntryLocation ( const FPakEntryLocation Other)
default

Member Function Documentation

◆ CreateFromListIndex()

static FPakEntryLocation FPakEntryLocation::CreateFromListIndex ( int32  ListIndex)
inlinestatic

◆ CreateFromOffsetIntoEncoded()

static FPakEntryLocation FPakEntryLocation::CreateFromOffsetIntoEncoded ( int32  Offset)
inlinestatic

◆ CreateInvalid()

static FPakEntryLocation FPakEntryLocation::CreateInvalid ( )
inlinestatic

◆ GetAsListIndex()

int32 FPakEntryLocation::GetAsListIndex ( ) const
inline

◆ GetAsOffsetIntoEncoded()

int32 FPakEntryLocation::GetAsOffsetIntoEncoded ( ) const
inline

◆ IsInvalid()

bool FPakEntryLocation::IsInvalid ( ) const
inline

◆ IsListIndex()

bool FPakEntryLocation::IsListIndex ( ) const
inline

◆ IsOffsetIntoEncoded()

bool FPakEntryLocation::IsOffsetIntoEncoded ( ) const
inline

◆ operator=()

FPakEntryLocation & FPakEntryLocation::operator= ( const FPakEntryLocation other)
default

◆ operator==()

bool FPakEntryLocation::operator== ( const FPakEntryLocation Other) const
inline

◆ Serialize()

void FPakEntryLocation::Serialize ( FArchive Ar)
inline

Member Data Documentation

◆ Invalid

const int32 FPakEntryLocation::Invalid = MIN_int32
static

◆ MaxIndex

const int32 FPakEntryLocation::MaxIndex = MAX_int32 - 1
static

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