载入中...
搜索中...
未找到
WeaponTypes.h
浏览该文件的文档.
Owner-aware canonical attribute state shared by gameplay adapters.
Common identity and hot-reload contract for typed runtime instances.
Canonical selected-attribute storage with owner and revision checks.
Definition AttributeProjection.h:55
@ RebuildInstance
Let the consumer atomically construct a new state from the new definition.
载具模块入口(eve.Vehicle):定义注册 / 实体工厂 / RTS 命令 / 帧调度。 设计文档:docs/dev/通用载具系统设计.md
Definition RTSArchetype.h:10
@ Custom
@ Ranged
@ Missile
const char * weaponKindName(WeaponKind kind)
武器形态的字符串名("melee" | "ranged" | "magic" | "missile" | "custom")。
Definition Weapon.cpp:86
WeaponKind weaponKindFromName(const std::string &name)
从字符串解析武器形态;未知名字回退 Ranged。
Definition Weapon.cpp:97
@ Windup
@ Active
@ Recover
@ Single
@ Burst
const char * fireModeName(FireMode mode)
开火模式的字符串名("single" | "burst" | "auto")。
Definition Weapon.cpp:71
@ WindupStart
@ ReloadStart
@ ReloadEnd
@ AttackEnd
const char * attackStageName(AttackStage stage)
攻击阶段的字符串名("idle" | "windup" | "active" | "recover")。
Definition Weapon.cpp:105
@ Charges
@ Stamina
Canonical identity carried by every typed runtime instance.
Definition DefinitionRuntime.h:87
弹药池 id / 弹药类型("pistol" | "rifle" | "shell"…)。
Definition WeaponTypes.h:490
一次攻击请求(C++ 系统 / 脚本发起)。角度均为度。 旧名 FireRequest 保留为别名,向后兼容。
Definition WeaponTypes.h:204
float scatterRadius
Maximum world-space miss displacement for an inaccurate shot.
Definition WeaponTypes.h:149
bool blockedByObstacles
Definition WeaponTypes.h:168
std::vector< std::string > preferredTargetTags
Soft automatic-target role hints; explicit attacks remain authoritative.
Definition WeaponTypes.h:172
float minimumDamageFactor
Definition WeaponTypes.h:143
float splashMinimumDamageFactor
Minimum radial multiplier at the outer edge of projectile area damage.
Definition WeaponTypes.h:145
std::vector< std::string > excludedTargetTags
Definition WeaponTypes.h:170
float preferredTargetBonus
Definition WeaponTypes.h:173
std::vector< std::string > requiredTargetTags
Definition WeaponTypes.h:169
float falloffStart
Linear range falloff begins here and reaches minimumDamageFactor at range.
Definition WeaponTypes.h:142
bool targetsGround
Shared target-domain and gameplay-tag acceptance policy.
Definition WeaponTypes.h:165
Canonical optional mana/stamina state for non-ammo weapons.
Definition WeaponTypes.h:352
eve::attributes::AttributeProjection values
Definition WeaponTypes.h:353
Canonical definition identity and reload policy projected to ECS. @ownership The common DefinitionReg...
Definition WeaponTypes.h:313
eve::definition::InstanceIdentity identity
Definition WeaponTypes.h:314
Typed definition projection used by legacy WeaponSystem code. @ownership Borrowed through def when ow...
Definition WeaponTypes.h:300
std::shared_ptr< const WeaponDefinition > owned
Immutable typed projection owner installed by checked adapters.
Definition WeaponTypes.h:303
挂点 id / 场景节点路径 / 类型("turret" | "pintle" | "fixed")。
Definition WeaponTypes.h:393