yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
manifest_only_hack_workflow_backend.cc
Go to the documentation of this file.
2
3#include "absl/status/status.h"
5#include "core/project.h"
6
8
10 return "manifest";
11}
12
14 project::YazeProject* project) const {
15 if (project != nullptr && project->hack_manifest.loaded()) {
16 return &project->hack_manifest;
17 }
18 return nullptr;
19}
20
22 const core::HackManifest& manifest) const {
23 if (!manifest.HasProjectRegistry() ||
24 !manifest.project_registry().story_events.loaded()) {
25 return nullptr;
26 }
27 return &manifest.project_registry().story_events;
28}
29
30} // namespace yaze::editor::workflow
Loads and queries the hack manifest JSON for yaze-ASM integration.
const ProjectRegistry & project_registry() const
bool HasProjectRegistry() const
bool loaded() const
Check if the manifest has been loaded.
The complete Oracle narrative progression graph.
bool loaded() const
Check if the graph has been loaded.
core::HackManifest * ResolveManifest(project::YazeProject *project) const override
const core::StoryEventGraph * GetStoryGraph(const core::HackManifest &manifest) const override
Modern project structure with comprehensive settings consolidation.
Definition project.h:164
core::HackManifest hack_manifest
Definition project.h:204