载入中...
搜索中...
未找到
AttackVfxRuntime.h
浏览该文件的文档.
147 [[nodiscard]] Result<AttackVfxHandle> play(const LogicalId& recipeId, const AttackVfxRequest& request);
Data-driven layered attack VFX recipe and element skin (Phase 1 schema).
Strong identity values shared by persistence, content and logical-name APIs.
Move-only, checked operation results for the common layer.
Human-readable, scoped identifier in the form namespace:name.
Definition Identity.h:411
Deterministic pooled runtime for AttackVfxRecipe instances.
Definition AttackVfxRuntime.h:115
AttackVfxRuntime & operator=(const AttackVfxRuntime &)=delete
AttackVfxRuntime(const AttackVfxRuntime &)=delete
Definition MeshVfxPackage.h:10
AttackVfxLayerRole
Which existing presentation backend a layer binds to.
Definition AttackVfxRecipe.h:40
@ Particles
AttackVfxPhaseKind
Attack presentation phase along the cast → hit → linger timeline.
Definition AttackVfxRecipe.h:30
@ ClearImmediately
@ StopEmitting
Definition Container.h:602
Observable frame events emitted by advance/signal/stop.
Definition AttackVfxRuntime.h:79
@ LayerStarted
@ InstanceStopped
@ CueConsumed
@ LayerSkipped
Owning result of one atomic orchestration step.
Definition AttackVfxRuntime.h:101
std::vector< AttackVfxHandle > advanced
Definition AttackVfxRuntime.h:102
std::vector< AttackVfxFrameEvent > events
Definition AttackVfxRuntime.h:104
std::vector< AttackVfxHandle > stopped
Definition AttackVfxRuntime.h:103
Generation-qualified reference to one pooled attack VFX instance.
Definition AttackVfxRuntime.h:27
friend bool operator==(const AttackVfxHandle &, const AttackVfxHandle &)=default
Operator ==.
Owning observable state for one live instance.
Definition AttackVfxRuntime.h:68
std::vector< AttackVfxPhaseState > phases
Definition AttackVfxRuntime.h:75
std::optional< LogicalId > activeSkinId
Definition AttackVfxRuntime.h:71
AttackVfxRequest request
Definition AttackVfxRuntime.h:74
Live observation of one phase inside an instance.
Definition AttackVfxRuntime.h:58
Versioned attack VFX composition recipe.
Definition AttackVfxRecipe.h:189
std::optional< LogicalId > skinOverride
Definition AttackVfxRuntime.h:49
std::uint32_t sourceGeneration
Definition AttackVfxRuntime.h:51
std::uint32_t targetGeneration
Definition AttackVfxRuntime.h:53
Reusable elemental / style skin applied at play time.
Definition AttackVfxRecipe.h:152