载入中...
搜索中...
未找到
eve::npc_ai::NpcAiEcsSystem类 参考

Gameplay-decision phase adapter over a caller-selected existing entity root. 更多...

#include <NpcAiECS.h>

静态 Public 成员函数

template<class EntityRoot >
static Result< NpcAiEcsStepReport > step (NpcAiWorld &world, const TickContext &context)
 Preflights every link, advances the AI world once, then publishes projections.
 

详细描述

Gameplay-decision phase adapter over a caller-selected existing entity root.

在文件 NpcAiECS.h 第 70 行定义.

成员函数说明

◆ step()

template<class EntityRoot >
static Result< NpcAiEcsStepReport > eve::npc_ai::NpcAiEcsSystem::step ( NpcAiWorld &  world,
const TickContext &  context 
)
inlinestatic

Preflights every link, advances the AI world once, then publishes projections.

模板参数
EntityRootExisting project/domain short root; no NPC entity base is introduced.
参数
worldSynchronously borrowed AI world; never retained.
contextInjected deterministic time and budgets.
返回
Entity and runtime work report, or the first structured stale/provider failure. @thread Owning ECS simulation thread. @reentrancy Provider callbacks run only after the preflight View scope closes.
备注
Reads NpcAgentState, writes NpcAiProjection, performs no ECS structural mutation, and publishes no callbacks while iterating a View.

Step.

Success.

在文件 NpcAiECS.h 第 85 行定义.

引用了 context, current, state, eve::Result< T >::success(), view , 以及 world.


该类的文档由以下文件生成: