CARLA
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
carla::rpc::ContentPackInfo Class Reference

Description of a CARLA content pack known to the server (see UCarlaContentPackManager). More...

#include <ContentPackInfo.h>

Public Member Functions

 ContentPackInfo ()=default
 
 MSGPACK_DEFINE_ARRAY (name, version, base_release, path, mounted, maps)
 

Public Attributes

std::string base_release
 Base release the pack was cooked against, e.g. "carla-0.10.2-Linux".
 
std::vector< std::string > maps
 Map names declared by the pack manifest (loadable with load_world).
 
bool mounted = false
 True while the pack is mounted in the running server.
 
std::string name
 Pack name (== plugin name == mount point "/<name>/").
 
std::string path
 Absolute path of the pack directory on the server host.
 
std::string version
 Pack version from the manifest.
 

Detailed Description

Description of a CARLA content pack known to the server (see UCarlaContentPackManager).

A pack is a content-only Unreal plugin cooked against a base release, wrapped with a carla-pack.json manifest.

Definition at line 20 of file ContentPackInfo.h.

Constructor & Destructor Documentation

◆ ContentPackInfo()

carla::rpc::ContentPackInfo::ContentPackInfo ( )
default

Member Function Documentation

◆ MSGPACK_DEFINE_ARRAY()

carla::rpc::ContentPackInfo::MSGPACK_DEFINE_ARRAY ( name  ,
version  ,
base_release  ,
path  ,
mounted  ,
maps   
)

Member Data Documentation

◆ base_release

std::string carla::rpc::ContentPackInfo::base_release

Base release the pack was cooked against, e.g. "carla-0.10.2-Linux".

Definition at line 32 of file ContentPackInfo.h.

Referenced by MakeContentPackInfo().

◆ maps

std::vector<std::string> carla::rpc::ContentPackInfo::maps

Map names declared by the pack manifest (loadable with load_world).

Definition at line 41 of file ContentPackInfo.h.

Referenced by MakeContentPackInfo().

◆ mounted

bool carla::rpc::ContentPackInfo::mounted = false

True while the pack is mounted in the running server.

Definition at line 38 of file ContentPackInfo.h.

Referenced by MakeContentPackInfo().

◆ name

std::string carla::rpc::ContentPackInfo::name

Pack name (== plugin name == mount point "/<name>/").

Definition at line 26 of file ContentPackInfo.h.

Referenced by MakeContentPackInfo().

◆ path

std::string carla::rpc::ContentPackInfo::path

Absolute path of the pack directory on the server host.

Definition at line 35 of file ContentPackInfo.h.

Referenced by MakeContentPackInfo().

◆ version

std::string carla::rpc::ContentPackInfo::version

Pack version from the manifest.

Definition at line 29 of file ContentPackInfo.h.

Referenced by MakeContentPackInfo().


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