Pak loader.
More...
#include <RRPakLoader.h>
Pak loader.
- Load pak files into FPakPlatformFile
- Mount pak contents (as cooked resource assets) to a folder to be early loaded by URRGameSingleton during sim initialization
UCLASS()
◆ Initialize()
bool URRPakLoader::Initialize |
( |
| ) |
|
◆ IsPAKFileAlreadyMounted()
bool URRPakLoader::IsPAKFileAlreadyMounted |
( |
const FString & |
InPAKPath | ) |
|
|
private |
Check if a PAK path is already mounted.
- Parameters
-
- Returns
- true/false
◆ LoadEntitiesPAKFiles()
bool URRPakLoader::LoadEntitiesPAKFiles |
( |
const FString & |
InPakFolderPath, |
|
|
const TArray< FString > & |
InEntityModelsNameList, |
|
|
bool |
bInForceReload = false |
|
) |
| |
Load PAK files of a specific set of entity models.
- Parameters
-
InEntityModelsNameList | |
bInForceReload | |
- Returns
- true/false
◆ LoadPAKFiles()
bool URRPakLoader::LoadPAKFiles |
( |
const FString & |
InPakFolderPath, |
|
|
bool |
bInForceReload = false |
|
) |
| |
Load PAK files.
- Parameters
-
InPakFolderPath | |
bInForceReload | |
- Returns
- true/false
◆ MountPAKFiles()
void URRPakLoader::MountPAKFiles |
( |
const TArray< FString > & |
InPAKPaths, |
|
|
bool |
bInForceRemount = false |
|
) |
| |
|
private |
Mount PAK paths to files on disk.
- Parameters
-
InPAKPaths | |
bInForceRemount | If true, unmount already-mounted PAK before mounting it again, otherwise skip |
◆ PakManager
FPakPlatformFile* URRPakLoader::PakManager = nullptr |
|
private |
Pak file manager, responsible for loading & mounting paks.
◆ RRGameSingleton
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/rapyutasimulationplugins/checkouts/devel/Source/RapyutaSimulationPlugins/Public/Core/RRPakLoader.h