载入中...
搜索中...
未找到
EditorRuntimeManifest.cpp
浏览该文件的文档.
16 return eve::editing::failed<RuntimeEditorPackage>(EditorStatus::Rejected, RuleId(rule), std::move(message));
21Result<RuntimeEditorPackage> RuntimeEditorPublisher::publish(const RuntimeEditorManifest& manifest,
55 if (std::none_of(package.tools.begin(), package.tools.end(), [&](const auto& value) { return value.id == id; }))
56 return manifestError("editor.runtime.tool-not-found", "Manifest tool is unavailable: " + id.value());
62 return manifestError("editor.runtime.palette-not-found", "Manifest palette is unavailable: " + id.value());
66 if (std::none_of(package.rules.begin(), package.rules.end(), [&](const auto& value) { return value.id == id; }))
67 return manifestError("editor.runtime.rule-not-found", "Manifest rule is unavailable: " + id.value());
76 return manifestError("editor.runtime.asset-not-found", "Manifest asset is unavailable: " + current.value());
UUID-backed identifier adapter for legacy textual boundaries.
Definition Identity.h:314
Registry and execution gate for UI-, script- and automation-neutral commands.
Definition EditorCommandService.h:51
Loads game extensions and filters their descriptors for each host.
Definition EditorExtension.h:96
std::vector< ExtensionToolDescriptor > tools(const HostProfile &profile) const
Return tool descriptors visible to a host.
Definition EditorExtension.cpp:54
std::vector< ExtensionRuleDescriptor > rules(const HostProfile &profile) const
Return validation descriptors visible to a host.
Definition EditorExtension.cpp:70
std::vector< ExtensionPaletteDescriptor > palettes(const HostProfile &profile) const
Return palette descriptors visible to a host.
Definition EditorExtension.cpp:62
Upper capability boundary for one editor host.
Definition EditorHostProfile.h:51
static HostProfile runtimeBuilder()
Safe runtime profile that denies commands unless allow-listed.
Definition EditorHostProfile.cpp:15
Thread-neutral in-memory asset index used by editor hosts and tests.
Definition EditorAssetDatabase.h:71
Result< AssetRecord > find(const AssetGuid &guid) const
Find one asset by stable GUID.
Definition EditorAssetDatabase.cpp:96
std::vector< AssetDependency > dependencies(const AssetGuid &guid, bool incoming=false) const
Query outgoing or incoming dependencies for one asset.
Definition EditorAssetDatabase.cpp:153
Result< RuntimeEditorPackage > publish(const RuntimeEditorManifest &manifest, const EditorCommandService &commands, const EditorExtensionRegistry &extensions, const MemoryAssetDatabase &assets) const
Build a deny-by-default runtime package.
Definition EditorRuntimeManifest.cpp:21
Definition ActionPreviewController.cpp:6
@ EditorOnly
HostFeature
Coarse host features used to discover and gate editor extensions.
Definition EditorHostProfile.h:18
@ SourceAssets
@ SourceControl
@ ArbitraryScript
@ BuildCook
@ DebugOverride
Directed dependency between two stable asset identities.
Definition EditorAssetDatabase.h:38
Presentation and execution metadata for a registered command.
Definition EditorCommandService.h:29
Explicit publish allow-list for a player-facing editor build.
Definition EditorRuntimeManifest.h:11
std::size_t maxPayloadBytes
Definition EditorRuntimeManifest.h:18
std::vector< ToolId > tools
Definition EditorRuntimeManifest.h:14
std::vector< RuleId > rules
Definition EditorRuntimeManifest.h:16
std::vector< StableId > palettes
Definition EditorRuntimeManifest.h:15
HostFeature features
Definition EditorRuntimeManifest.h:12
std::vector< CommandId > commands
Definition EditorRuntimeManifest.h:13
std::vector< AssetGuid > rootAssets
Definition EditorRuntimeManifest.h:17
Resolved editor package embedded into a game build.
Definition EditorRuntimeManifest.h:22
std::vector< CommandDescriptor > commands
Definition EditorRuntimeManifest.h:24
std::vector< AssetGuid > assetClosure
Definition EditorRuntimeManifest.h:28
std::vector< ExtensionToolDescriptor > tools
Definition EditorRuntimeManifest.h:25
std::vector< ExtensionRuleDescriptor > rules
Definition EditorRuntimeManifest.h:27
std::vector< ExtensionPaletteDescriptor > palettes
Definition EditorRuntimeManifest.h:26