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

Caller-built admission batch for an immediate coordinated Move command. @cost Linear in unit count; callers own and pass stable identities once per command admission. 更多...

#include <RTSSystems.h>

Public 属性

std::vector< SubjectRef > units
 Owned stable identities; no entity pointers are retained.
 
WorldPosition target
 
FormationSpec formation
 
float leadDistance = 2.f
 Positive world-space allowance before leaders slow for lagging members.
 

详细描述

Caller-built admission batch for an immediate coordinated Move command. @cost Linear in unit count; callers own and pass stable identities once per command admission.

在文件 RTSSystems.h 第 48 行定义.

类成员变量说明

◆ formation

FormationSpec eve::rts::MovementGroupBatch::formation

◆ leadDistance

float eve::rts::MovementGroupBatch::leadDistance = 2.f

Positive world-space allowance before leaders slow for lagging members.

在文件 RTSSystems.h 第 52 行定义.

被这些函数引用 eve::rts::RTSCommandLog::apply(), eve::rts::script_internal::exposeFormationBindings() , 以及 eve::rts::RTS::submitMovementGroup().

◆ target

WorldPosition eve::rts::MovementGroupBatch::target

◆ units

std::vector<SubjectRef> eve::rts::MovementGroupBatch::units

Owned stable identities; no entity pointers are retained.

在文件 RTSSystems.h 第 49 行定义.

被这些函数引用 eve::rts::RTSCommandLog::apply(), eve::rts::script_internal::exposeFormationBindings() , 以及 eve::rts::RTS::submitMovementGroup().


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