载入中...
搜索中...
未找到
ActionNotifyPlayback.cpp
浏览该文件的文档.
2
3namespace eve::action {
4
11
13
15 return blocks_.apply(advance, std::move(context));
16}
17
21
22Result<void> ActionNotifyPlayback::sample(const std::vector<ActionActiveBlock>& blocks,
24 return blocks_.sample(blocks, std::move(context));
25}
26
27} // namespace eve::action
Host-owned composition of ActionNotifyRegistry + ActionBlockRuntime.
const eve::script::BindingContractRegistry & registry
const VegetationPresetContext & context
Move-only operation result carrying either a value or Status.
Definition Result.h:176
Result< void > apply(const ActionAdvance &advance, ActionNotifyContext context)
Deliver boundaries and active updates from one authoritative advance.
Result< void > interrupt(ActionNotifyContext context)
Emit paired exits for all blocks retained for one interrupted execution.
Result< void > sample(const std::vector< ActionActiveBlock > &blocks, ActionNotifyContext context) const
Evaluate active blocks for editor scrubbing without retaining lifecycle state.
Result< void > apply(const ActionAdvance &advance, ActionNotifyContext context)
Deliver boundaries and active updates from one ActionRuntime advance.
ActionNotifyRegistry & registry() noexcept
Mutable registry for installing provider handlers.
Result< void > sample(const std::vector< ActionActiveBlock > &blocks, ActionNotifyContext context) const
Side-effect-free preview sample path.
static Result< std::unique_ptr< ActionNotifyPlayback > > withBuiltins()
Build heap-owned playback with the engine's standard notify descriptors/handlers.
ActionNotifyPlayback(ActionNotifyRegistry registry)
Take ownership of an already-configured registry.
Result< void > interrupt(ActionNotifyContext context)
Emit paired exits for one interrupted execution.
Canonical notify descriptor owner and runtime handler router.
static Result< ActionNotifyRegistry > withBuiltins()
Build a registry containing the engine's standard semantic notify types.
Result payload for one deterministic advance call.
Definition Action.h:204
Context linking a routed event to its action execution.