载入中...
搜索中...
未找到
eve::rts::CombatFireSystem类 参考

EVENGINE_API_DOMAINS public API. 更多...

#include <RTSSystems.h>

类

struct  State
 Adapter-owned keys previously mirrored into a shared sensing world. 更多...
 

静态 Public 成员函数

static Result< std::size_t > step (const SimulationStep &step, State &state, sensing::SensingWorld &sensing, combat::DamageRuntime &damage, class RTSProjectileSystem *projectiles=nullptr, const FireLineQuery &fireLine={}, map::Pathfinder *pathfinder=nullptr, const NavigationGrid &navigationGrid={}, const CombatHeightQuery &heightQuery={}, const DamageEventSink &damageEvents={}, const CombatFireEventSink &fireEvents={})
 Mirror live targets, acquire enemies, advance weapons, fire, and settle direct impacts. @thread Simulation owner thread; borrows all services and event sinks for this call. @reentrancy Event sinks may observe or record results, but must not mutate ECS or reenter this system. @determinism Aura-provider membership is sampled at the first suppression hit; values are read at each hit.
 

详细描述

EVENGINE_API_DOMAINS public API.

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

成员函数说明

◆ step()

Result< std::size_t > eve::rts::CombatFireSystem::step ( const SimulationStep &  step,
State &  state,
sensing::SensingWorld &  sensing,
combat::DamageRuntime &  damage,
class RTSProjectileSystem *  projectiles = nullptr,
const FireLineQuery &  fireLine = {},
map::Pathfinder *  pathfinder = nullptr,
const NavigationGrid &  navigationGrid = {},
const CombatHeightQuery &  heightQuery = {},
const DamageEventSink &  damageEvents = {},
const CombatFireEventSink &  fireEvents = {} 
)
static

Mirror live targets, acquire enemies, advance weapons, fire, and settle direct impacts. @thread Simulation owner thread; borrows all services and event sinks for this call. @reentrancy Event sinks may observe or record results, but must not mutate ECS or reenter this system. @determinism Aura-provider membership is sampled at the first suppression hit; values are read at each hit.

在文件 RTSSystems.cpp 第 3331 行定义.

引用了 alive, eve::weapon::Ammo, eve::Applied, definition, dt, eve::Diagnostic::error(), EV_PROFILE_MODULE, eve::Result< T >::failure(), handle, id, identity, eve::InvalidArgument, key, missed, origin, point, position, eve::weapon::Ranged, resource, result, source, state, step, subject, eve::Status::success(), eve::Result< T >::success(), tags, target, targets, units, eve::weapon::WeaponSystem::update() , 以及 eve::sensing::SensingWorld::upsert().


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