CARLA
Loading...
Searching...
No Matches
Functions | Variables
ContentPackManager.cpp File Reference
#include "Carla/ContentPacks/ContentPackManager.h"
#include "Carla.h"
#include "Carla/Actor/ActorDispatcher.h"
#include "Carla/Actor/CarlaActorFactory.h"
#include "Carla/Game/CarlaStatics.h"
#include <util/ue-header-guard-begin.h>
#include "AssetRegistry/AssetRegistryState.h"
#include "AssetRegistry/IAssetRegistry.h"
#include "Engine/Engine.h"
#include "Engine/LevelStreaming.h"
#include "Engine/World.h"
#include "GenericPlatform/GenericPlatformProperties.h"
#include "HAL/FileManager.h"
#include "HAL/PlatformMisc.h"
#include "HAL/PlatformProperties.h"
#include "Interfaces/IPluginManager.h"
#include "Misc/CommandLine.h"
#include "Misc/CoreDelegates.h"
#include "Misc/EngineVersion.h"
#include "Misc/FileHelper.h"
#include "Misc/PackageName.h"
#include "Misc/Parse.h"
#include "Misc/Paths.h"
#include "UObject/Package.h"
#include "UObject/UObjectGlobals.h"
#include "UObject/UObjectIterator.h"
#include <util/ue-header-guard-end.h>

Go to the source code of this file.

Functions

static bool UCarlaContentPackManager_IsPackPackage (const TArray< FString > &Prefixes, const FString &PackageName)
 
static TArray< FString > UCarlaContentPackManager_LoadedPackages (const TArray< FString > &Prefixes)
 
static TArray< FString > UCarlaContentPackManager_PackagePrefixes (const FCarlaContentPack &Pack)
 Package name prefixes that belong to a pack: its mount point plus, for every project map it ships in place (/Game/Carla/Maps/Town12/Town12), the map package itself and its folder when that folder is the map's own (/Game/Carla/Maps/Town12/, where the cooked World Partition cells live).
 

Variables

static const TCHAR * CARLA_PACK_MANIFEST_NAME = TEXT("carla-pack.json")
 

Function Documentation

◆ UCarlaContentPackManager_IsPackPackage()

static bool UCarlaContentPackManager_IsPackPackage ( const TArray< FString > &  Prefixes,
const FString &  PackageName 
)
static

◆ UCarlaContentPackManager_LoadedPackages()

static TArray< FString > UCarlaContentPackManager_LoadedPackages ( const TArray< FString > &  Prefixes)
static

◆ UCarlaContentPackManager_PackagePrefixes()

static TArray< FString > UCarlaContentPackManager_PackagePrefixes ( const FCarlaContentPack &  Pack)
static

Package name prefixes that belong to a pack: its mount point plus, for every project map it ships in place (/Game/Carla/Maps/Town12/Town12), the map package itself and its folder when that folder is the map's own (/Game/Carla/Maps/Town12/, where the cooked World Partition cells live).

Definition at line 688 of file ContentPackManager.cpp.

References FCarlaContentPack::GetName(), FCarlaContentPack::Manifest, and FCarlaContentPackManifest::Maps.

Referenced by UCarlaContentPackManager::ArePackObjectsAlive(), and UCarlaContentPackManager::IsPackInUse().

Variable Documentation

◆ CARLA_PACK_MANIFEST_NAME

const TCHAR* CARLA_PACK_MANIFEST_NAME = TEXT("carla-pack.json")
static