Navigation
API > API/Editor > API/Editor/Kismet
A shared utility class that keeps track of registered Blueprint namespace identifiers sourced from objects and assets in the editor.
| Name | FBlueprintNamespaceRegistry |
| Type | class |
| Header File | /Engine/Source/Editor/Kismet/Public/BlueprintNamespaceRegistry.h |
| Include Path | #include "BlueprintNamespaceRegistry.h" |
Syntax
class FBlueprintNamespaceRegistry
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBlueprintNamespaceRegistry() |
BlueprintNamespaceRegistry.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FBlueprintNamespaceRegistry() |
BlueprintNamespaceRegistry.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsInitialized | bool | Indicates whether the registry has been initialized. | BlueprintNamespaceRegistry.h | |
| ExcludedObjectPaths | TSet< FSoftObjectPath > | Internal set of objects to exclude during namespace registration. | BlueprintNamespaceRegistry.h | |
| OnAssetAddedDelegateHandle | FDelegateHandle | Delegate handles to allow for deregistration on shutdown. | BlueprintNamespaceRegistry.h | |
| OnAssetRemovedDelegateHandle | FDelegateHandle | BlueprintNamespaceRegistry.h | ||
| OnAssetRenamedDelegateHandle | FDelegateHandle | BlueprintNamespaceRegistry.h | ||
| OnDefaultNamespaceTypeChangedDelegateHandle | FDelegateHandle | BlueprintNamespaceRegistry.h | ||
| OnFilesLoadedDelegateHandle | FDelegateHandle | BlueprintNamespaceRegistry.h | ||
| OnReloadCompleteDelegateHandle | FDelegateHandle | BlueprintNamespaceRegistry.h | ||
| PathTree | TUniquePtr< FBlueprintNamespacePathTree > | Handles storage and retrieval for namespace path identifiers. | BlueprintNamespaceRegistry.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetAllRegisteredPaths
(
TArray< FString >& OutPaths |
BlueprintNamespaceRegistry.h | ||
void GetNamesUnderPath
(
const FString& InPath, |
BlueprintNamespaceRegistry.h | ||
void Initialize() |
One-time initialization method; separated from the ctor so it can be called explicitly. | BlueprintNamespaceRegistry.h | |
bool IsInclusivePath
(
const FString& InPath |
Example: If "MyProject.MyNamespace" is a registered path, then both "MyProject" and "MyProject.MyNamespace" are inclusive paths. | BlueprintNamespaceRegistry.h | |
bool IsRegisteredPath
(
const FString& InPath |
BlueprintNamespaceRegistry.h | ||
void Rebuild() |
Recreates the namespace registry. | BlueprintNamespaceRegistry.h | |
void RegisterNamespace
(
const FString& InPath |
Adds an explicit namespace identifier to the registry if not already included. | BlueprintNamespaceRegistry.h | |
void Shutdown() |
One-time shutdown method; separated from the dtor so it can be called explicitly. | BlueprintNamespaceRegistry.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DumpAllRegisteredPaths() |
BlueprintNamespaceRegistry.h | ||
void FindAndRegisterAllNamespaces() |
Namespace identifier registration methods. | BlueprintNamespaceRegistry.h | |
void OnAssetAdded
(
const FAssetData& AssetData |
Asset registry event handler methods. | BlueprintNamespaceRegistry.h | |
void OnAssetRegistryFilesLoaded() |
BlueprintNamespaceRegistry.h | ||
void OnAssetRemoved
(
const FAssetData& AssetData |
BlueprintNamespaceRegistry.h | ||
void OnAssetRenamed
(
const FAssetData& AssetData, |
BlueprintNamespaceRegistry.h | ||
void OnDefaultNamespaceTypeChanged() |
BlueprintNamespaceRegistry.h | ||
void OnReloadComplete
(
EReloadCompleteReason InReason |
Handler for hot reload / live coding completion events. | BlueprintNamespaceRegistry.h | |
void RegisterNamespace
(
const UObject* InObject |
BlueprintNamespaceRegistry.h | ||
void RegisterNamespace
(
const FAssetData& AssetData |
BlueprintNamespaceRegistry.h | ||
void ToggleDefaultNamespace() |
Console command implementations (debugging/testing). | BlueprintNamespaceRegistry.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FBlueprintNamespaceRegistry & Get() |
Provides public singleton access. | BlueprintNamespaceRegistry.h |