载入中...
搜索中...
未找到
eve::weapon::CarrierRecipe结构体 参考

Data-driven composition recipe for one carrier family. 更多...

#include <CombatCarrier.h>

Public 成员函数

Result< void > validate () const
 Validate finite parameters and composition constraints.
 

Public 属性

LogicalId id
 
Duration lifetime = Duration::zero()
 
double speed = 0.0
 
std::vector< CarrierMotionOp > motionOps
 
std::vector< CarrierTrigger > triggers
 
std::vector< CarrierImpact > impacts
 
bool collisionEnabled = true
 Master collision switch; disabled skips all OnHit queries and actions.
 
bool physicsWorldSweep = false
 Select the optional physics-world probe instead of the ordinary hit probe. Inactive when collisionEnabled is false or no OnHit trigger is present.
 

友元

bool operator== (const CarrierRecipe &, const CarrierRecipe &)=default
 Compare complete immutable recipe content.
 

详细描述

Data-driven composition recipe for one carrier family.

Recipes are immutable inputs to spawn; the runtime copies budgets into live state. validate() rejects empty motion, non-positive lifetime, and incomplete child/homing/hit bindings.

在文件 CombatCarrier.h 第 144 行定义.

成员函数说明

◆ validate()

友元及相关函数文档

◆ operator==

bool operator== ( const CarrierRecipe &  ,
const CarrierRecipe &   
)
friend

Compare complete immutable recipe content.

类成员变量说明

◆ collisionEnabled

bool eve::weapon::CarrierRecipe::collisionEnabled = true

Master collision switch; disabled skips all OnHit queries and actions.

在文件 CombatCarrier.h 第 153 行定义.

◆ id

LogicalId eve::weapon::CarrierRecipe::id

在文件 CombatCarrier.h 第 145 行定义.

被这些函数引用 eve::weapon::carrierRecipeFromProjectile().

◆ impacts

std::vector<CarrierImpact> eve::weapon::CarrierRecipe::impacts

在文件 CombatCarrier.h 第 150 行定义.

被这些函数引用 validate().

◆ lifetime

Duration eve::weapon::CarrierRecipe::lifetime = Duration::zero()

在文件 CombatCarrier.h 第 146 行定义.

被这些函数引用 validate().

◆ motionOps

std::vector<CarrierMotionOp> eve::weapon::CarrierRecipe::motionOps

在文件 CombatCarrier.h 第 148 行定义.

被这些函数引用 validate().

◆ physicsWorldSweep

bool eve::weapon::CarrierRecipe::physicsWorldSweep = false

Select the optional physics-world probe instead of the ordinary hit probe. Inactive when collisionEnabled is false or no OnHit trigger is present.

在文件 CombatCarrier.h 第 157 行定义.

◆ speed

double eve::weapon::CarrierRecipe::speed = 0.0

在文件 CombatCarrier.h 第 147 行定义.

被这些函数引用 validate().

◆ triggers

std::vector<CarrierTrigger> eve::weapon::CarrierRecipe::triggers

在文件 CombatCarrier.h 第 149 行定义.

被这些函数引用 validate().


该结构体的文档由以下文件生成: