载入中...
搜索中...
未找到
SpellFragmentCompiler.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
14#include "common/Result.h"
15#include "common/Value.h"
17
18#include <optional>
19#include <vector>
20
21namespace eve::weapon {
22
26 std::optional<CarrierVolleySpec> volley;
27 std::vector<CarrierRecipe> dependentRecipes;
28};
29
39
44[[nodiscard]] EVENGINE_API_WORLD Result<SpellCastPlan> compileSpellFragmentsJson(const std::string& json);
45
46} // namespace eve::weapon
Composable combat-carrier runtime: motion ops, triggers, and impacts.
#define EVENGINE_API_WORLD
Definition Export.h:109
Move-only, checked operation results for the common layer.
Owning, renderer-independent dynamic values.
Move-only operation result carrying either a value or Status.
Definition Result.h:155
The canonical owning dynamic value used by data-facing protocols.
Definition Value.h:31
载具模块入口(eve.Vehicle):定义注册 / 实体工厂 / RTS 命令 / 帧调度。 设计文档:docs/dev/通用载具系统设计.md
Result< SpellCastPlan > compileSpellFragmentsJson(const std::string &json)
Compile a JSON array string into one cast plan.
Result< SpellCastPlan > compileSpellFragments(const Value &fragments)
Compile a fragment array Value into one cast plan.
Data-driven composition recipe for one carrier family.
One compiled cast unit ready to register and spawn.
std::optional< CarrierVolleySpec > volley
std::vector< CarrierRecipe > dependentRecipes