载入中...
搜索中...
未找到
procgen_editor.cpp
浏览该文件的文档.
22 std::vector<std::string_view> types() const override { return {"procgen-script", "road-network"}; }
25 const editor::TargetId& target, std::string_view type, const editor::EditorValue::Object&) override {
Squirrel adapter for the procgen script editor.
UUID-backed identifier adapter for legacy textual boundaries.
Definition Identity.h:314
Multi-provider extension point for domain-specific automation target creation.
Definition EditorAutomationTargetFactory.h:22
static EVENGINE_API_ORCHESTRATION std::unique_ptr< RoadNetworkEditTarget > createOwned(std::string id)
Create an editor-owned empty road target for automation/composition hosts.
Definition RoadNetworkEditTarget.cpp:781
editor::Result< editor::AutomationOwnedTarget > create(const editor::TargetId &target, std::string_view type, const editor::EditorValue::Object &) override
Create a domain target from an automation request. @ownership Success transfers the target and any su...
Definition procgen_editor.cpp:24
std::vector< std::string_view > types() const override
Stable target type names this factory accepts.
Definition procgen_editor.cpp:22
Composition adapter for the script-hosted procgen generator editor.
Definition ProcgenEditorModule.h:16
~ProcgenEditorModule() override
Releases ProcgenEditorModule resources.
Definition procgen_editor.cpp:44
Result< T > applied(T value, std::vector< Diagnostic > diagnostics={})
Construct an Applied result with an owning payload and optional diagnostics.
Definition EditingResult.h:43
editing::Result< void > registerRoadNetworkEditingCommands(editing::IEditingCommandRegistry ®istry)
Register stable road topology commands with an existing editing host.
Definition RoadNetworkEditingCommands.cpp:11
Definition MeshModifierEditor.cpp:7
void exposeProcgenScriptEditorScriptBindings(ssq::Table &table, ssq::Class &moduleClass)
Expose the script-owned ProcgenScriptEditor factory on ProcgenEditorModule.
Definition ProcgenScriptEditorScriptBindings.cpp:44
Definition Container.h:602
Target plus optional borrowed-dependency owner returned by an automation factory.
Definition EditorAutomationTargetFactory.h:15
std::unique_ptr< IEditableTarget > target
Definition EditorAutomationTargetFactory.h:18