CARLA
Loading...
Searching...
No Matches
FCarlaContentPack Struct Reference

A content pack known to the manager (discovered or mounted explicitly). More...

#include <ContentPackManager.h>

Public Member Functions

const FString & GetName () const

Public Attributes

bool bEngineMounted = false
 True when the plugin was mounted by the engine at startup (a pack dropped under Plugins/ with a .upluginmanifest): the manager only registers its manifest and catalogs and never unmounts it.
bool bMounted = false
FString ContentDir
 Absolute path of the plugin content dir (<PackDir>/Content), the filesystem side of the "/<Name>/" mount point.
FCarlaContentPackManifest Manifest
TArray< FString > MountedPaks
 Pak files mounted for this pack (cooked builds only).
FString PackDir
 Absolute pack directory (contains carla-pack.json and <Name>.uplugin).
FString PluginFile
 Absolute path of <PackDir>/<Name>.uplugin.

Detailed Description

A content pack known to the manager (discovered or mounted explicitly).

Definition at line 19 of file ContentPackManager.h.

Member Function Documentation

◆ GetName()

Member Data Documentation

◆ bEngineMounted

bool FCarlaContentPack::bEngineMounted = false

True when the plugin was mounted by the engine at startup (a pack dropped under Plugins/ with a .upluginmanifest): the manager only registers its manifest and catalogs and never unmounts it.

Definition at line 42 of file ContentPackManager.h.

Referenced by UCarlaContentPackManager::Mount(), and UCarlaContentPackManager::Unmount().

◆ bMounted

bool FCarlaContentPack::bMounted = false

◆ ContentDir

FString FCarlaContentPack::ContentDir

Absolute path of the plugin content dir (<PackDir>/Content), the filesystem side of the "/<Name>/" mount point.

Non-asset files staged in the pack (xodr, nav .bin, Config/*.json) are read from here.

Definition at line 32 of file ContentPackManager.h.

Referenced by FCarlaServer::FPimpl::BindActions(), UCarlaContentPackManager::Mount(), UCarlaContentPackManager::MountPaks(), and UCarlaContentPackManager::MountPlugin().

◆ Manifest

◆ MountedPaks

TArray<FString> FCarlaContentPack::MountedPaks

Pak files mounted for this pack (cooked builds only).

Definition at line 35 of file ContentPackManager.h.

Referenced by UCarlaContentPackManager::MountPaks(), and UCarlaContentPackManager::UnmountPaks().

◆ PackDir

FString FCarlaContentPack::PackDir

Absolute pack directory (contains carla-pack.json and <Name>.uplugin).

Definition at line 24 of file ContentPackManager.h.

Referenced by MakeContentPackInfo(), UCarlaContentPackManager::Mount(), and UCarlaContentPackManager::RegisterAssetRegistry().

◆ PluginFile

FString FCarlaContentPack::PluginFile

Absolute path of <PackDir>/<Name>.uplugin.

Definition at line 27 of file ContentPackManager.h.

Referenced by UCarlaContentPackManager::Mount(), and UCarlaContentPackManager::MountPlugin().


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