UnrealModFramework
Mod framework API
Loading...
Searching...
No Matches
ModBlueprintExportReader.h
Go to the documentation of this file.
1// Copyright (c) 2026 Nelaric Contributors
3#pragma once
4
5#include "Containers/Array.h"
6#include "Containers/UnrealString.h"
7#include "Misc/Guid.h"
8#include "UObject/NameTypes.h"
9
10class UBlueprint;
11
12namespace Mod::BlueprintIntegration
13{
15inline const FName ExportAssetTag(TEXT("UMFExports"));
16
19{
21 FString TypeId;
23 FName Module;
24};
25
31BLUEPRINTINTEGRATION_API bool ReadExportIdentity(const UBlueprint& Blueprint, FExportIdentity& OutIdentity);
32
35{
37 FGuid Guid;
39 FString PublicName;
41 FName Function;
43 FString Version;
45 FString Scope;
47 FString Thread;
49 FString FailureRule;
51 TArray<FString> Permissions;
52};
53
58BLUEPRINTINTEGRATION_API TArray<FExportedAPI> ReadAPIs(const UBlueprint& Blueprint);
59
62{
63 FGuid Guid;
64 FName Name;
65 FString Version;
66 FName Permission;
67 FName ScalarProperty;
68 FString StructPath;
69 FString StructLayout;
70 FString ObjectPath;
71 FName ObjectViewId;
72 bool bHook = false;
73 bool bAuthorityOnly = true;
74 bool bSupportedPayload = false;
75 bool bHasPoint = false;
76 bool bImmediateUnsubscribe = false;
77 FString Scope;
78 FString PublishRule;
79 TArray<FString> Stages;
80 TArray<FString> Operations;
81};
82
84BLUEPRINTINTEGRATION_API TArray<FExportedExtension> ReadExtensions(const UBlueprint& Blueprint);
85} // namespace Mod::BlueprintIntegration
BLUEPRINTINTEGRATION_API TArray< FExportedExtension > ReadExtensions(const UBlueprint &Blueprint)
Reads a Blueprint's declared Hook and Event records after compiling it.
BLUEPRINTINTEGRATION_API bool ReadExportIdentity(const UBlueprint &Blueprint, FExportIdentity &OutIdentity)
Reads the identity overrides of an exported asset.
BLUEPRINTINTEGRATION_API TArray< FExportedAPI > ReadAPIs(const UBlueprint &Blueprint)
Reads the explicit API declarations on a Blueprint.
const FName ExportAssetTag(TEXT("UMFExports"))
Asset registry tag marking a Blueprint that contains authored exports.
Optional identity and module overrides stored on a Blueprint.
Definition ModBlueprintExportReader.h:19
FString TypeId
Previously published identity to keep when the asset moves or changes name.
Definition ModBlueprintExportReader.h:21
FName Module
Explicit owner when the project has several eligible runtime modules.
Definition ModBlueprintExportReader.h:23
An authored Blueprint API and its compiled member name.
Definition ModBlueprintExportReader.h:35
FGuid Guid
Persistent identity of the export declaration.
Definition ModBlueprintExportReader.h:37
FString Version
Declared API version.
Definition ModBlueprintExportReader.h:43
TArray< FString > Permissions
Permissions required by the export.
Definition ModBlueprintExportReader.h:51
FString PublicName
Stable name published in the SDK.
Definition ModBlueprintExportReader.h:39
FString Scope
Authored scope identifier.
Definition ModBlueprintExportReader.h:45
FString Thread
Authored thread identifier.
Definition ModBlueprintExportReader.h:47
FName Function
Name of the compiled member in the Blueprint class.
Definition ModBlueprintExportReader.h:41
FString FailureRule
Authored failure rule identifier.
Definition ModBlueprintExportReader.h:49
A saved Blueprint extension declaration and its explicit point usage.
Definition ModBlueprintExportReader.h:62