载入中...
搜索中...
未找到
AttackVfxLayerExecutor.h
浏览该文件的文档.
69 [[nodiscard]] virtual Result<AttackVfxLayerHandle> start(const AttackVfxLayerStartRequest& request) = 0;
79 [[nodiscard]] virtual Result<void> stop(AttackVfxLayerHandle handle, AttackVfxStopBehavior behavior) = 0;
Data-driven layered attack VFX recipe and element skin (Phase 1 schema).
Pooled AttackVfx orchestration with optional layer executors.
Optional open backend for one AttackVfxLayerRole.
Definition AttackVfxLayerExecutor.h:56
virtual AttackVfxLayerRole role() const noexcept=0
Role this executor owns. One listener should own one role.
static constexpr const char * capabilityName
Definition AttackVfxLayerExecutor.h:58
virtual Result< void > update(AttackVfxLayerHandle handle, double dtSeconds, const AttackVfxLayerStartRequest &request)=0
Advance one live layer with injected simulation seconds.
virtual Result< void > stop(AttackVfxLayerHandle handle, AttackVfxStopBehavior behavior)=0
Tear down one layer using the authored stop behavior.
virtual ~IAttackVfxLayerExecutor()=default
Releases IAttackVfxLayerExecutor resources.
Definition MeshVfxPackage.h:10
AttackVfxLayerRole
Which existing presentation backend a layer binds to.
Definition AttackVfxRecipe.h:40
AttackVfxPhaseKind
Attack presentation phase along the cast → hit → linger timeline.
Definition AttackVfxRecipe.h:30
Generation-qualified reference to one pooled attack VFX instance.
Definition AttackVfxRuntime.h:27
Opaque executor-owned layer instance identity.
Definition AttackVfxLayerExecutor.h:22
friend bool operator==(const AttackVfxLayerHandle &, const AttackVfxLayerHandle &)=default
Operator ==.
Borrowed start context for one layer inside an entering phase.
Definition AttackVfxLayerExecutor.h:37
std::uint64_t tickSerial
Monotonic serial from AttackVfxRuntime::advance; executors coalesce once-per-tick work.
Definition AttackVfxLayerExecutor.h:46
const AttackVfxLayer * layer
Definition AttackVfxLayerExecutor.h:42
std::size_t layerIndex
Definition AttackVfxLayerExecutor.h:41
const AttackVfxRequest * playRequest
Definition AttackVfxLayerExecutor.h:44
AttackVfxPhaseKind phase
Definition AttackVfxLayerExecutor.h:39
AttackVfxHandle instance
Definition AttackVfxLayerExecutor.h:38
const AttackVfxSkin * skin
Definition AttackVfxLayerExecutor.h:43
std::size_t phaseIndex
Definition AttackVfxLayerExecutor.h:40
One presentation layer slot inside a phase.
Definition AttackVfxRecipe.h:106
Reusable elemental / style skin applied at play time.
Definition AttackVfxRecipe.h:152