载入中...
搜索中...
未找到
eve::rts::systems_internal 命名空间参考

函数

EVENGINE_API_DOMAINS bool isFormationSegmentClear (const map::Pathfinder &pathfinder, const NavigationGrid &grid, WorldPosition from, WorldPosition to, float radius)
 
float visibleHostileThreatAt (Faction &viewer, WorldPosition point)
 Observe visible hostile weapon threat at a world point using canonical faction intelligence.
 
bool isFinitePosition (WorldPosition position)
 
bool isSameHandle (const ecs::EntityHandle &left, const ecs::EntityHandle &right)
 
float distanceSquared (float ax, float ay, float bx, float by)
 
bool isSharedFlowNavigationOrder (Unit &unit, const OrderRecord &order)
 Whether planning uses the shared policy, before the current group projection exists.
 
bool isSharedFlowOrder (Unit &unit, const OrderRecord &order)
 Whether motion uses a shared field instead of a radius-clear moving slot.
 
bool isMovementOrder (OrderKind kind)
 
bool isInteractionOrder (OrderKind kind)
 
float interactionArrivalRadius (Unit &unit, const OrderRecord &order)
 
std::optional< WorldPosition > entityPosition (const ecs::EntityHandle &handle)
 
WorldPosition movementGoal (Unit &unit, const OrderRecord &order)
 Resolve the current canonical movement goal without retaining entity pointers. @ownership Returns a world-position value. @thread Owner thread. @reentrancy No callbacks.
 
Result< std::optional< OrderRecord > > readCurrent (OrderComponent &orders)
 

函数说明

◆ distanceSquared()

float eve::rts::systems_internal::distanceSquared ( float  ax,
float  ay,
float  bx,
float  by 
)
inline

在文件 RTSSystemMovementInternal.h 第 27 行定义.

引用了 distanceSquared(), dx , 以及 dy.

被这些函数引用 distanceSquared().

◆ entityPosition()

std::optional< WorldPosition > eve::rts::systems_internal::entityPosition ( const ecs::EntityHandle &  handle)
inline

在文件 RTSSystemMovementInternal.h 第 89 行定义.

引用了 entityPosition(), handle, unit , 以及 eve::rts::WorldPosition::x.

被这些函数引用 entityPosition() , 以及 movementGoal().

◆ interactionArrivalRadius()

float eve::rts::systems_internal::interactionArrivalRadius ( Unit &  unit,
const OrderRecord &  order 
)
inline

在文件 RTSSystemMovementInternal.h 第 75 行定义.

引用了 eve::rts::Gather, isInteractionOrder(), node, order, radius , 以及 unit.

被这些函数引用 eve::rts::MotionSystem::step().

◆ isFinitePosition()

bool eve::rts::systems_internal::isFinitePosition ( WorldPosition  position)
inline

在文件 RTSSystemMovementInternal.h 第 19 行定义.

引用了 isFinitePosition() , 以及 position.

被这些函数引用 isFinitePosition() , 以及 isFormationSegmentClear().

◆ isFormationSegmentClear()

EVENGINE_API_DOMAINS bool eve::rts::systems_internal::isFormationSegmentClear ( const map::Pathfinder &  pathfinder,
const NavigationGrid &  grid,
WorldPosition  from,
WorldPosition  to,
float  radius 
)

◆ isInteractionOrder()

bool eve::rts::systems_internal::isInteractionOrder ( OrderKind  kind)
inline

◆ isMovementOrder()

◆ isSameHandle()

bool eve::rts::systems_internal::isSameHandle ( const ecs::EntityHandle &  left,
const ecs::EntityHandle &  right 
)
inline

在文件 RTSSystemMovementInternal.h 第 21 行定义.

引用了 isSameHandle(), left , 以及 right.

被这些函数引用 isSameHandle().

◆ isSharedFlowNavigationOrder()

bool eve::rts::systems_internal::isSharedFlowNavigationOrder ( Unit &  unit,
const OrderRecord &  order 
)
inline

Whether planning uses the shared policy, before the current group projection exists.

在文件 RTSSystemMovementInternal.h 第 34 行定义.

引用了 eve::rts::Attack, eve::rts::AttackMove, eve::rts::Escort, eve::rts::Move, order, eve::rts::Patrol , 以及 unit.

被这些函数引用 isSharedFlowOrder().

◆ isSharedFlowOrder()

bool eve::rts::systems_internal::isSharedFlowOrder ( Unit &  unit,
const OrderRecord &  order 
)
inline

Whether motion uses a shared field instead of a radius-clear moving slot.

在文件 RTSSystemMovementInternal.h 第 42 行定义.

引用了 isSharedFlowNavigationOrder(), order , 以及 unit.

◆ movementGoal()

WorldPosition eve::rts::systems_internal::movementGoal ( Unit &  unit,
const OrderRecord &  order 
)
inline

Resolve the current canonical movement goal without retaining entity pointers. @ownership Returns a world-position value. @thread Owner thread. @reentrancy No callbacks.

在文件 RTSSystemMovementInternal.h 第 100 行定义.

引用了 eve::rts::Attack, entityPosition(), eve::rts::Escort, order, eve::rts::Patrol, eve::rts::Resupply, eve::rts::SupplyRelay, target , 以及 unit.

◆ readCurrent()

Result< std::optional< OrderRecord > > eve::rts::systems_internal::readCurrent ( OrderComponent &  orders)
inline

◆ visibleHostileThreatAt()

float eve::rts::systems_internal::visibleHostileThreatAt ( Faction &  viewer,
WorldPosition  point 
)

Observe visible hostile weapon threat at a world point using canonical faction intelligence.

在文件 RTSNavigation.cpp 第 9 行定义.

引用了 contact, distance, found, identity, eve::rts::FactionRelationSystem::isAllied(), placement, point, source, subject, units, visible , 以及 visibleHostileThreatAt().

被这些函数引用 visibleHostileThreatAt().