载入中...
搜索中...
未找到
VehicleTypes.h
浏览该文件的文档.
364 virtual float modifyDamage(VehicleEntity& v, float amount, const std::string& zone, int sourceId) = 0;
Owner-aware canonical attribute state shared by gameplay adapters.
Common identity and hot-reload contract for typed runtime instances.
Monotonic state revision for concurrency and change checks.
Canonical selected-attribute storage with owner and revision checks.
Definition AttributeProjection.h:55
static constexpr StrongUint64 zero() noexcept
Returns the zero value for this strong type.
Definition StrongUint64.h:24
virtual float modifyDamage(VehicleEntity &v, float amount, const std::string &zone, int sourceId)=0
返回修正后的伤害(默认原值;装甲区倍率在修饰器之后应用)。
virtual ~IVehicleDamageModifier()=default
Releases IVehicleDamageModifier resources.
@ RebuildInstance
Let the consumer atomically construct a new state from the new definition.
const char * vehicleOrderTypeName(VehicleOrderType type)
命令类型的字符串名("move" | "attack_move" | ...)。
Definition Vehicle.cpp:79
std::ostream & operator<<(std::ostream &stream, VehicleOrderType type)
Writes the stable vehicle-order protocol name.
Definition VehicleTypes.h:55
@ OrderCompleted
@ Destroyed
@ AttackMove
载具模块入口(eve.Vehicle):定义注册 / 实体工厂 / RTS 命令 / 帧调度。 设计文档:docs/dev/通用载具系统设计.md
Definition RTSArchetype.h:10
Canonical identity carried by every typed runtime instance.
Definition DefinitionRuntime.h:87
std::vector< SuspensionWheel > wheels
Definition VehicleTypes.h:123
载具模板(registerVehiclesFromJson 注册,进程级注册表)。
Definition VehicleTypes.h:135
std::vector< ArmorZone > armorZones
Definition VehicleTypes.h:145
Canonical selected combat attributes for this vehicle.
Definition VehicleTypes.h:245
eve::attributes::AttributeProjection values
Definition VehicleTypes.h:246
Canonical definition identity projected onto this ECS entity.
Definition VehicleTypes.h:206
eve::definition::InstanceIdentity identity
Definition VehicleTypes.h:207
std::shared_ptr< const VehicleDefinition > owned
Immutable projection owner used by typed adapters.
Definition VehicleTypes.h:195
2D 运动状态(kinematic 直接持有;物理模式由 body 回写)。
Definition VehicleTypes.h:224
Vehicle order lifecycle adapter and compatibility projection.
Definition VehicleTypes.h:256
Orders(Orders &&) noexcept
Transfers the adapter and compatibility projection.
std::unique_ptr< VehicleOrderQueueAdapter > adapter
Definition VehicleTypes.h:260
std::vector< VehicleOrder > queue
Definition VehicleTypes.h:257
跨帧物理绑定;不透明实现持有 generation link 和弱 world 生命周期。
Definition VehicleTypes.h:293
std::shared_ptr< VehiclePhysicsBinding > binding
Definition VehicleTypes.h:294
WheelState public API.
Definition VehicleTypes.h:301
std::vector< WheelState > wheels
Definition VehicleTypes.h:305
一条 Vehicle 领域命令(生命周期由 Vehicle order adapter 执行)。
Definition VehicleTypes.h:61