载入中...
搜索中...
未找到
EditorAssetDatabase.h
浏览该文件的文档.
15enum class AssetStatus { Ready, Scanning, Importing, Stale, MissingSource, MissingArtifact, Warning, Error, Deleted };
79 [[nodiscard]] Result<std::vector<AssetRecord>> publishBatch(std::vector<AssetPublication> publications);
85 Result<AssetPage<AssetRecord>> query(const AssetQuery& query, std::size_t offset, std::size_t limit,
UUID-backed identifier adapter for legacy textual boundaries.
Definition Identity.h:314
Dotted property path (layout.size) compared and persisted as text.
Definition EditingIds.h:78
Deterministic owning value tree shared by authoring hosts.
Definition EditingValue.h:19
Small coordinator that validates importer output before atomic index publication.
Definition EditorAssetDatabase.h:115
ImportCoordinator(MemoryAssetDatabase *database)
Import coordinator.
Definition EditorAssetDatabase.h:118
Thread-neutral in-memory asset index used by editor hosts and tests.
Definition EditorAssetDatabase.h:71
std::uint64_t generation() const
Return the monotonic index generation.
Definition EditorAssetDatabase.h:90
Definition ActionPreviewController.cpp:6
DependencyKind
Semantic relationship used for dependency closure and deletion planning.
Definition EditorAssetDatabase.h:35
@ EditorOnly
@ MissingArtifact
@ Scanning
@ Deleted
@ Importing
@ MissingSource
Directed dependency between two stable asset identities.
Definition EditorAssetDatabase.h:38
PropertyPath sourceProperty
Definition EditorAssetDatabase.h:42
One page of values tied to an asset index generation.
Definition EditorAssetDatabase.h:63
One owning record/dependency unit staged for an atomic index generation.
Definition EditorAssetDatabase.h:46
std::vector< AssetDependency > dependencies
Definition EditorAssetDatabase.h:48
Deterministic filter used by headless and UI asset queries.
Definition EditorAssetDatabase.h:52
std::optional< AssetStatus > status
Definition EditorAssetDatabase.h:57
std::vector< std::string > pathPrefixes
Definition EditorAssetDatabase.h:54
std::vector< std::string > tagsAll
Definition EditorAssetDatabase.h:55
std::vector< std::string > typeIds
Definition EditorAssetDatabase.h:53
Value snapshot stored by the editor asset index.
Definition EditorAssetDatabase.h:18
std::uint32_t importerVersion
Definition EditorAssetDatabase.h:26
std::vector< std::string > artifacts
Definition EditorAssetDatabase.h:27
std::uint32_t schemaVersion
Definition EditorAssetDatabase.h:22
std::vector< EditorDiagnostic > diagnostics
Definition EditorAssetDatabase.h:31
Validated importer output staged before publishing to AssetDB.
Definition EditorAssetDatabase.h:100
std::vector< AssetDependency > dependencies
Definition EditorAssetDatabase.h:102
Generation-qualified import request used to reject stale worker products.
Definition EditorAssetDatabase.h:106
std::uint32_t importerVersion
Definition EditorAssetDatabase.h:111