16#ifdef LIBCARLA_INCLUDED_FROM_UE4
36#ifdef LIBCARLA_INCLUDED_FROM_UE4
39 :
uid(Description.UId),
40 id(FromFString(Description.Id)) {
42 for (
const auto &Item : Description.
Variations) {
50 Description.
Id = ToFString(
id);
53 Description.
Variations.Emplace(ToFString(item.id), item);
ActorDescription(const FActorDescription &Description)
std::vector< ActorAttributeValue > attributes
MSGPACK_DEFINE_ARRAY(uid, id, attributes)
ActorDescription()=default
This file contains definitions of common data structures used in traffic manager.
A description of a Carla Actor with all its variation.
TMap< FString, FActorAttribute > Variations
User selected variations of the actor.
uint32 UId
UId of the definition in which this description was based.
FString Id
Display ID that identifies the actor.