函数 | |
| 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()
|
inline |
在文件 RTSSystemMovementInternal.h 第 27 行定义.
引用了 distanceSquared(), dx , 以及 dy.
被这些函数引用 distanceSquared().
◆ entityPosition()
|
inline |
在文件 RTSSystemMovementInternal.h 第 89 行定义.
引用了 entityPosition(), handle, unit , 以及 eve::rts::WorldPosition::x.
被这些函数引用 entityPosition() , 以及 movementGoal().
◆ interactionArrivalRadius()
|
inline |
在文件 RTSSystemMovementInternal.h 第 75 行定义.
引用了 eve::rts::Gather, isInteractionOrder(), node, order, radius , 以及 unit.
被这些函数引用 eve::rts::MotionSystem::step().
◆ isFinitePosition()
|
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 | ||
| ) |
在文件 RTSFormationClearance.cpp 第 10 行定义.
引用了 cell, first, from, isFinitePosition(), eve::map::Pathfinder::isWalkable(), radius, start, to, x , 以及 y.
◆ isInteractionOrder()
|
inline |
在文件 RTSSystemMovementInternal.h 第 67 行定义.
引用了 eve::rts::Build, eve::rts::Gather, kind, eve::rts::Repair , 以及 eve::rts::ReturnCargo.
被这些函数引用 interactionArrivalRadius() , 以及 eve::rts::MotionSystem::step().
◆ isMovementOrder()
|
inline |
在文件 RTSSystemMovementInternal.h 第 47 行定义.
引用了 eve::rts::Attack, eve::rts::AttackMove, eve::rts::BoardTransport, eve::rts::Build, eve::rts::Capture, eve::rts::Escort, eve::rts::Garrison, eve::rts::Gather, isMovementOrder(), kind, eve::rts::Move, eve::rts::Patrol, eve::rts::Repair, eve::rts::Resupply, eve::rts::ReturnCargo , 以及 eve::rts::SupplyRelay.
被这些函数引用 isMovementOrder() , 以及 eve::rts::TrafficReservationSystem::step().
◆ isSameHandle()
|
inline |
在文件 RTSSystemMovementInternal.h 第 21 行定义.
引用了 isSameHandle(), left , 以及 right.
被这些函数引用 isSameHandle().
◆ isSharedFlowNavigationOrder()
|
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()
|
inline |
Whether motion uses a shared field instead of a radius-clear moving slot.
在文件 RTSSystemMovementInternal.h 第 42 行定义.
引用了 isSharedFlowNavigationOrder(), order , 以及 unit.
◆ movementGoal()
|
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()
|
inline |
在文件 RTSSystemMovementInternal.h 第 115 行定义.
引用了 eve::rts::OrderComponent::current(), current, eve::NoOp, eve::NotFound, readCurrent() , 以及 eve::Status::success().
被这些函数引用 readCurrent() , 以及 eve::rts::TrafficReservationSystem::step().
◆ 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().