载入中...
搜索中...
未找到
SpellFragmentCompiler.h 文件参考

Compile Noita-style spell/modifier fragment sequences into carrier recipes. 更多...

#include "common/Export.h"
#include "common/Result.h"
#include "common/Value.h"
#include "weapon/CombatCarrier.h"
#include <optional>
#include <vector>

浏览源代码.

类

struct  eve::weapon::SpellCastPlan
 One compiled cast unit ready to register and spawn. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::weapon
 载具模块入口(eve.Vehicle):定义注册 / 实体工厂 / RTS 命令 / 帧调度。 设计文档:docs/dev/通用载具系统设计.md
 

函数

Result< SpellCastPlan > eve::weapon::compileSpellFragments (const Value &fragments)
 Compile a fragment array Value into one cast plan.
 
Result< SpellCastPlan > eve::weapon::compileSpellFragmentsJson (const std::string &json)
 Compile a JSON array string into one cast plan.
 

详细描述

Compile Noita-style spell/modifier fragment sequences into carrier recipes.

Fragments are scanned left-to-right. Modifier fragments accumulate into a stack; a projectile fragment consumes the stack and emits one CarrierRecipe (plus optional Fan/Ring volley). This is a pure data transform: no runtime pool mutation, no clock, no RNG.

在文件 SpellFragmentCompiler.h 中定义.