载入中...
搜索中...
未找到
WeaponEffects.h
浏览该文件的文档.
86 [[nodiscard]] eve::Result<const effects::EffectInstance*> resolve(effects::EffectHandle handle) const;
Owning effect storage and lifecycle-only executor.
Move-only, checked operation results for the common layer.
Stable reference to a runtime gameplay subject.
Common time values and an injectable deterministic simulation clock.
Owns active effect instances and their deterministic lifecycle events.
Definition EffectContainer.h:35
Weapon adapter with a single common lifecycle owner.
Definition WeaponEffects.h:72
const WeaponEffectTarget & target() const noexcept
Read the weapon target state.
Definition WeaponEffects.h:90
WeaponEffectTarget & target() noexcept
Access the mutable weapon target state.
Definition WeaponEffects.h:88
Weapon executor applying heat, jam and recoil rules.
Definition WeaponEffects.h:59
eve::Result< void > applyImmediate(WeaponEffectTarget &target, const effects::EffectInstance &effect) const
Apply an immediate jam/recoil strategy to a staged target.
Definition WeaponEffects.cpp:34
eve::Result< void > validate(const WeaponEffectTarget &target) const
Validate heat and recoil invariants.
Definition WeaponEffects.cpp:26
eve::Result< WeaponEffectUpdate > settle(WeaponEffectTarget &target, effects::EffectUpdateSummary lifecycle) const
Settle common periodic triggers through weapon policy.
Definition WeaponEffects.cpp:48
载具模块入口(eve.Vehicle):定义注册 / 实体工厂 / RTS 命令 / 帧调度。 设计文档:docs/dev/通用载具系统设计.md
Definition RTSArchetype.h:10
Generation-qualified local reference to a canonical effect instance.
Definition EffectTypes.h:173
Independent policy dimensions used when applying an effect definition.
Definition EffectTypes.h:53
Summary returned by the lifecycle executor after one simulation step.
Definition EffectTypes.h:212
Typed weapon definition projected into the common lifecycle.
Definition WeaponEffects.h:34
effects::EffectPolicy policy
Definition WeaponEffects.h:40
std::vector< std::string > tags
Definition WeaponEffects.h:42
effects::EffectContainer effects
Definition WeaponEffects.h:54
Mutable weapon state interpreted by the typed executor.
Definition WeaponEffects.h:25
std::uint32_t blockedShots
Definition WeaponEffects.h:30
Result of one weapon lifecycle step and domain settlement.
Definition WeaponEffects.h:46
effects::EffectUpdateSummary lifecycle
Definition WeaponEffects.h:47