|
UnrealModFramework
Mod framework API
|
#include <array>#include <cstdint>#include <span>#include <string_view>Go to the source code of this file.
Classes | |
| struct | Mod::ExportMetadata::Schema::FHookOperationSpec |
| A Hook operation and the stage that must be open to allow it. More... | |
| struct | Mod::ExportMetadata::Schema::FFieldSpec |
| A declaration field and its choice source. More... | |
Enumerations | |
| enum class | Mod::ExportMetadata::Schema::EFieldType { Text , NonEmptyText , Version , Choice , ChoiceList , StructType , ClassNameList , FunctionNameList , MemberName , Flag } |
| Literal shapes supported by the declaration DSL. More... | |
Functions | |
| constexpr bool | Mod::ExportMetadata::Schema::IsHookStage (std::string_view Name) |
| Checks a Hook stage name against the shared contract. | |
| constexpr const FHookOperationSpec * | Mod::ExportMetadata::Schema::FindHookOperation (std::string_view Name) |
| Finds a Hook operation in the shared contract. | |
| constexpr std::span< const FFieldSpec > | Mod::ExportMetadata::Schema::FieldsFor (std::string_view Macro) |
| Returns the fields belonging to a declaration kind. | |
| constexpr const FFieldSpec * | Mod::ExportMetadata::Schema::FindField (std::string_view Macro, std::string_view Name) |
| Finds a field in the common and declaration-specific schemas. | |
| std::uint64_t | Mod::ExportMetadata::Schema::Fingerprint (std::string_view Bytes) |
| Computes an FNV-1a fingerprint to detect changed snapshot inputs. | |
Variables | |
| constexpr int | Mod::ExportMetadata::Schema::SnapshotVersion = 5 |
| Version of the resolved UE metadata option snapshot. | |
| constexpr const char * | Mod::ExportMetadata::Schema::SnapshotPath = "Intermediate/ModTools/ModHeaderTool/MetadataOptions.json" |
| Default location relative to the project root. | |
| constexpr const char * | Mod::ExportMetadata::Schema::DefaultExportVersion = "1.0.0" |
| Default declaration export version. | |
| constexpr const char * | Mod::ExportMetadata::Schema::WorldScope = "World" |
| Default scope for Blueprint APIs and the supported Event source scope. | |
| constexpr const char * | Mod::ExportMetadata::Schema::PlayerScope = "Player" |
| Scope of the API of a LocalPlayer subsystem. | |
| constexpr const char * | Mod::ExportMetadata::Schema::DefaultAPIThread = "GameThread" |
| Supported API thread policy. | |
| constexpr const char * | Mod::ExportMetadata::Schema::DefaultAPIFailureRule = "ReturnError" |
| Reports framework errors through the generated result. | |
| constexpr const char * | Mod::ExportMetadata::Schema::DefaultEventPublishRule = "Immediate" |
| Delivers events during the current game-thread dispatch. | |
| constexpr const char * | Mod::ExportMetadata::Schema::NextTickEventPublishRule = "NextTick" |
| Delivers events on the next tick of their world. | |
| constexpr const char * | Mod::ExportMetadata::Schema::DefaultAuthority = "Server" |
| Default authority for extension dispatch. | |
| constexpr std::array< std::string_view, 3 > | Mod::ExportMetadata::Schema::HookStages = {"Pre", "On", "Post"} |
| Supported Hook stages in the metadata contract. | |
| constexpr std::array< std::string_view, 2 > | Mod::ExportMetadata::Schema::ExtensionAuthorities = {"Server", "Any"} |
| Authority policies for synchronous World extensions. | |
| constexpr std::array< std::string_view, 2 > | Mod::ExportMetadata::Schema::EventUnsubscribeRules = {"Deferred", "Immediate"} |
| Policies for retiring an Event subscription during dispatch. | |
| constexpr std::array< FHookOperationSpec, 5 > | Mod::ExportMetadata::Schema::HookOperations |
| Hook operations and their required stages in the extension contract. | |
| constexpr std::array< FFieldSpec, 3 > | Mod::ExportMetadata::Schema::CommonFields |
| Fields shared by API and Event declarations. | |
| constexpr FFieldSpec | Mod::ExportMetadata::Schema::CompatibleNames {"CompatibleNames", EFieldType::FunctionNameList, nullptr, false} |
| Former names accepted by API and Hook declarations. | |
| constexpr std::array< FFieldSpec, 7 > | Mod::ExportMetadata::Schema::APIFields |
| Fields belonging to API declarations. | |
| constexpr std::array< FFieldSpec, 4 > | Mod::ExportMetadata::Schema::HookFields |
| Fields belonging to Hook declarations. | |
| constexpr std::array< FFieldSpec, 10 > | Mod::ExportMetadata::Schema::EventFields |
| Fields belonging to Event declarations. | |
|
strong |
Literal shapes supported by the declaration DSL.