PakFileTest

PakFileTest

#Overview

name: PakFileTest

This variable is created as a Console Variable (cvar).

It is referenced in 2 C++ source files.

#Summary

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp:19069

Scope: file

Source code excerpt:


static FAutoConsoleCommand PakFileTestCmd(
	TEXT("PakFileTest"),
	TEXT("Tests the low level filesystem by mounting a pak file and doing multithreaded loads on it forever. Arg should be a full path to a pak file."),
	FConsoleCommandWithArgsDelegate::CreateStatic(&PakFileTest)
);

#endif // !UE_BUILD_SHIPPING

#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp:18769

Scope (from outer to inner):

file
function     static void PakFileTest

Source code excerpt:

#if !UE_BUILD_SHIPPING

static void PakFileTest(const TArray<FString>& Args)
{
	FString PakFilename = TEXT("D:\\work\\Dev-Core\\Samples\\Games\\ShooterGame\\Saved\\StagedBuilds\\Windows\\ShooterGame\\Content\\Paks\\test.pak");
	if (Args.Num() < 1)
	{
		UE_LOG(LogConsoleResponse, Error, TEXT("Usage: PakFileTest path-to-pak-file"));
	}