class

FPlaceableActorRegistry

Module
Game
Header
#include "Game/PlaceableActorRegistry.h"
Namespace
Mowo

Constructors

SignatureNameDescription
FPlaceableActorRegistry(const FPlaceableActorRegistry&) = deleteFPlaceableActorRegistry

Public functions

ReturnsNameDescription
FPlaceableActorRegistry&Get
FPlaceableActorRegistry&operator=
voidRegisterowner names the registering module (FModuleAnchor): a plugin's placeable entries leave the palette when it unloads instead of offering a class nothing can spawn any more.
size_tRemoveAllInModule
const FPlaceableActorInfo*FindByPlaceId
const std::vector<FPlaceableActorInfo>&GetAll
std::vector<std::string>GetCategories
voidRefreshUserClassesA class the project itself declares — a Visual Script class saved from the Actor Editor, a mbt newclass C++ actor — becomes placeable by DERIVING from one that already is.
uint32_tRevisionBumped on every change to the entry list — a palette that cached its rows compares this instead of rebuilding them each frame.
const char*UserClassCategoryCategory for a class whose nearest placeable ancestor carries no grouping worth inheriting (the bare empty-actor entry) — the palette's all-classes group.
const char*BasicCategoryThe curated Basic tab, in its own order (BasicOrder).
std::vector<const FPlaceableActorInfo*>GetBasic
std::stringDisplayNameForClass"ADoorFrame" -> "Door Frame".
std::stringPlaceIdForClassLowercased class name.

Function details

FPlaceableActorRegistry

C++
FPlaceableActorRegistry(const FPlaceableActorRegistry&) = delete

Get

C++
static FPlaceableActorRegistry& Get()

operator=

C++
FPlaceableActorRegistry& operator=(const FPlaceableActorRegistry&) = delete

Register

C++
void Register(FPlaceableActorInfo info, const void* owner = FModuleAnchor::Here())

owner names the registering module (FModuleAnchor): a plugin's placeable entries leave the palette when it unloads instead of offering a class nothing can spawn any more.

RemoveAllInModule

C++
size_t RemoveAllInModule(void* moduleHandle)

FindByPlaceId

C++
const FPlaceableActorInfo* FindByPlaceId(const std::string& placeId) const

GetAll

C++
const std::vector<FPlaceableActorInfo>& GetAll() const

GetCategories

C++
std::vector<std::string> GetCategories() const

RefreshUserClasses

C++
void RefreshUserClasses()

A class the project itself declares — a Visual Script class saved from the Actor Editor, a mbt newclass C++ actor — becomes placeable by DERIVING from one that already is. Neither MClass nor VisualScriptClass carries placement metadata of its own, so the nearest placeable ancestor supplies the category and the icon; the mesh type is deliberately not inherited, because a subclass builds its own geometry from its components. Called for you by GetAll/FindByPlaceId/GetCategories whenever the class tables have moved; public so a caller that just compiled a class can force it without waiting for the next read.

Revision

C++
uint32_t Revision() const

Bumped on every change to the entry list — a palette that cached its rows compares this instead of rebuilding them each frame. Derived entries appear and disappear with hot reload, so a cache that never re-reads shows a class that is gone and hides one that just arrived.

UserClassCategory

C++
static const char* UserClassCategory()

Category for a class whose nearest placeable ancestor carries no grouping worth inheriting (the bare empty-actor entry) — the palette's all-classes group.

BasicCategory

C++
static const char* BasicCategory()

The curated Basic tab, in its own order (BasicOrder).

GetBasic

C++
std::vector<const FPlaceableActorInfo*> GetBasic() const

DisplayNameForClass

C++
static std::string DisplayNameForClass(const std::string& className)

"ADoorFrame" -> "Door Frame". The palette shows names an artist reads, and a class name is the only label a derived entry has.

PlaceIdForClass

C++
static std::string PlaceIdForClass(const std::string& className)

Lowercased class name. Placement ids are the scene's spawn key, so a derived one has to be stable across sessions rather than an index.

Generated from Game/PlaceableActorRegistry.h via game.json · Nov 5, 2026Version 1.0.0