class

FVisualScriptLibraryRegistry

Module
VisualScripting
Header
#include "VisualScripting/VisualScriptLibrary.h"
Namespace
Mowo

Public functions

ReturnsNameDescription
FVisualScriptLibraryRegistry&Get
voidRegisterReplaces a registered library of the same name.
boolUnregister
std::shared_ptr<const VisualScriptClass>Find
std::vector<std::string>Names
voidClear
uint32_tRevisionBumped on every change.
const VisualScriptMacro*FindMacroThe macro macroName of library libraryName, or null.
boolSplitQualified"Library::Name" split at the first "::"; false when the name has no library part.

Function details

Get

C++
static FVisualScriptLibraryRegistry& Get()

Register

C++
void Register(std::unique_ptr<VisualScriptClass> library)

Replaces a registered library of the same name. The library is marked isLibrary.

Unregister

C++
bool Unregister(const std::string& name)

Find

C++
std::shared_ptr<const VisualScriptClass> Find(const std::string& name) const

Names

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

Clear

C++
void Clear()

Revision

C++
uint32_t Revision() const

Bumped on every change.

FindMacro

C++
const VisualScriptMacro* FindMacro(const std::string& libraryName, const std::string& macroName) const

The macro macroName of library libraryName, or null. The library is kept alive by the registry only until it is replaced, so a caller uses the macro before the next registration.

SplitQualified

C++
static bool SplitQualified(const std::string& qualified, std::string& outLibrary, std::string& outName)

"Library::Name" split at the first "::"; false when the name has no library part.

Generated from VisualScripting/VisualScriptLibrary.h via visualscripting.json · Dec 5, 2026Version 1.1.0