载入中...
搜索中...
未找到
RTS domain roots and composition-only components. 更多...
#include "common/Export.h"#include "attributes/AttributeProjection.h"#include "common/ECS.h"#include "common/Identity.h"#include "common/Result.h"#include "common/SubjectRef.h"#include "combat/Damage.h"#include "common/Time.h"#include "rts/RTSEffects.h"#include "production/Production.h"#include <cstddef>#include <cstdint>#include <memory>#include <map>#include <optional>#include <span>#include <string>#include <string_view>#include <vector>类 | |
| struct | eve::rts::WorldPosition |
| Two-dimensional deterministic RTS world position. 更多... | |
| struct | eve::rts::CommandSpec |
| One domain-neutral command submitted to a unit's generic order queue. 更多... | |
| struct | eve::rts::OrderRecord |
| Owning projection of the active generic order used by RTS systems. 更多... | |
| struct | eve::rts::AbilitySpec |
| Typed ability policy; lifecycle effects remain owned by the canonical effect container. 更多... | |
| class | eve::rts::TagSet |
| Entity-local sorted tags; this is the RTS entity's tag authority. 更多... | |
| struct | eve::rts::EntityLinkTag |
| Typed link tag for links to another ECS entity. 更多... | |
| class | eve::rts::EntityLink< Tag > |
| Generation-checked link to an ECS entity. 更多... | |
| struct | eve::rts::ServiceLinkTag |
| Typed link tag for a provider-owned capability or registry entry. 更多... | |
| class | eve::rts::ServiceLink< Tag > |
| Strong key link to an external module-owned service object. 更多... | |
| struct | eve::rts::FactionLinkTag |
| FactionLinkTag public API. 更多... | |
| struct | eve::rts::WeaponLinkTag |
| WeaponLinkTag public API. 更多... | |
| struct | eve::rts::ResourceNodeLinkTag |
| ResourceNodeLinkTag public API. 更多... | |
| struct | eve::rts::BuildingLinkTag |
| BuildingLinkTag public API. 更多... | |
| struct | eve::rts::ContainerLinkTag |
| ContainerLinkTag public API. 更多... | |
| struct | eve::rts::SensingLinkTag |
| SensingLinkTag public API. 更多... | |
| struct | eve::rts::SteeringLinkTag |
| SteeringLinkTag public API. 更多... | |
| struct | eve::rts::CrowdLinkTag |
| CrowdLinkTag public API. 更多... | |
| struct | eve::rts::ActionLinkTag |
| ActionLinkTag public API. 更多... | |
| struct | eve::rts::SettlementLinkTag |
| SettlementLinkTag public API. 更多... | |
| struct | eve::rts::PlacementLinkTag |
| PlacementLinkTag public API. 更多... | |
| struct | eve::rts::EconomyLinkTag |
| EconomyLinkTag public API. 更多... | |
| struct | eve::rts::AuthorityLinkTag |
| AuthorityLinkTag public API. 更多... | |
| struct | eve::rts::SocialLinkTag |
| SocialLinkTag public API. 更多... | |
| struct | eve::rts::GameEventLinkTag |
| GameEventLinkTag public API. 更多... | |
| class | eve::rts::AttributeComponent |
| Canonical attributes component adapter, backed by attributes::AttributeSet. 更多... | |
| class | eve::rts::OrderComponent |
| Generic orders component adapter; the queue remains the sole order owner. 更多... | |
| struct | eve::rts::OrderComponent::Snapshot |
| Complete RTS order projection snapshot; entity handles must be rebound by the owning domain. 更多... | |
| class | eve::rts::ProductionComponent |
| Production adapter whose queue owns all task state. 更多... | |
| class | eve::rts::Unit |
| RTS unit domain root. 更多... | |
| struct | eve::rts::Unit::Identity |
| Runtime identity and logical unit definition. 更多... | |
| struct | eve::rts::Unit::Definition |
| Logical unit definition identity. 更多... | |
| struct | eve::rts::Unit::Attributes |
| Canonical attribute state. 更多... | |
| struct | eve::rts::Unit::Tags |
| Entity-local tags. 更多... | |
| struct | eve::rts::Unit::Effects |
| Lifecycle-only active effects. 更多... | |
| struct | eve::rts::Unit::Orders |
| Generic command/order state. 更多... | |
| struct | eve::rts::Unit::Sensing |
| Sensing provider link. 更多... | |
| struct | eve::rts::Unit::Steering |
| Steering provider link. 更多... | |
| struct | eve::rts::Unit::Crowd |
| Crowd provider link. 更多... | |
| struct | eve::rts::Unit::Weapon |
| Weapon entity link. 更多... | |
| struct | eve::rts::Unit::Action |
| Shared action runtime/provider link. 更多... | |
| struct | eve::rts::Unit::Settlement |
| Settlement provider link. 更多... | |
| struct | eve::rts::Unit::Faction |
| Owning faction link. 更多... | |
| struct | eve::rts::Unit::Motion |
| Authoritative kinematic state used by the phase-one move slice. 更多... | |
| struct | eve::rts::Unit::Navigation |
| RTS projection of a canonical map path; the map provider remains the grid authority. 更多... | |
| struct | eve::rts::Unit::Vision |
| Vision contribution projected into a faction-owned canonical map FOV provider. 更多... | |
| struct | eve::rts::Unit::Worker |
| Worker gathering and delivery state; balances remain owned by the linked economy account. 更多... | |
| struct | eve::rts::Unit::Combat |
| RTS stance and pursuit limits used by automatic combat policies. 更多... | |
| struct | eve::rts::Unit::Durability |
| Canonical combat durability state consumed by combat::DamageRuntime. 更多... | |
| struct | eve::rts::Unit::Shield |
| RTS shield layer consumed before canonical health damage and regenerated deterministically. 更多... | |
| struct | eve::rts::Unit::Veterancy |
| Persistent combat experience and deterministic veteran/elite modifiers. 更多... | |
| struct | eve::rts::Unit::Command |
| Command-network policy and derived connection state for a mobile unit or relay. 更多... | |
| struct | eve::rts::Unit::Abilities |
| Ability cooldowns and an optional deterministic cast/channel in progress. 更多... | |
| struct | eve::rts::Unit::Abilities::Cooldown |
| Cooldown public API. 更多... | |
| struct | eve::rts::Unit::Abilities::Channel |
| Channel public API. 更多... | |
| struct | eve::rts::Unit::Capture |
| Capture contribution while executing a Capture order. 更多... | |
| struct | eve::rts::Unit::Containment |
| Unit containment state for transports and building garrisons. 更多... | |
| struct | eve::rts::Unit::Supply |
| Tactical ammunition logistics; weapon ammunition remains authoritative in WeaponEntity. 更多... | |
| struct | eve::rts::Unit::Morale |
| Suppression, recovery, retreat policy, and friendly morale aura. 更多... | |
| struct | eve::rts::Unit::Artillery |
| Indirect-fire deployment and deterministic area-fire policy. 更多... | |
| struct | eve::rts::Unit::Tactics |
| Escort geometry and combat-group coordination state. 更多... | |
| struct | eve::rts::Unit::Technology |
| Upgrade ids already projected onto this unit, preventing repeated multiplicative application. 更多... | |
| class | eve::rts::Building |
| RTS building domain root with placement and production composition. 更多... | |
| struct | eve::rts::Building::Identity |
| Runtime identity. 更多... | |
| struct | eve::rts::Building::Definition |
| Logical building definition identity. 更多... | |
| struct | eve::rts::Building::Placement |
| Placement world key and authoritative cell state. 更多... | |
| struct | eve::rts::Building::Production |
| Canonical production queue. 更多... | |
| struct | eve::rts::Building::Economy |
| Economy account/provider link. 更多... | |
| struct | eve::rts::Building::Orders |
| Generic building orders. 更多... | |
| struct | eve::rts::Building::Tags |
| Building-local tags. 更多... | |
| struct | eve::rts::Building::Effects |
| Lifecycle-only effects. 更多... | |
| struct | eve::rts::Building::Settlement |
| Settlement provider link. 更多... | |
| struct | eve::rts::Building::Faction |
| Owning faction link. 更多... | |
| struct | eve::rts::Building::Construction |
| Construction progress and generation-checked assigned builders. 更多... | |
| struct | eve::rts::Building::Integrity |
| Building health and repair economy configuration. 更多... | |
| struct | eve::rts::Building::Shield |
| RTS shield layer for structures; canonical CombatState remains health authority. 更多... | |
| struct | eve::rts::Building::Capture |
| Deterministic contested capture state. 更多... | |
| struct | eve::rts::Building::Dropoff |
| Resource delivery policy; actual balances remain in the economy provider. 更多... | |
| struct | eve::rts::Building::Rally |
| Rally order copied to newly produced units. 更多... | |
| struct | eve::rts::Building::Weapon |
| Canonical weapon entity used by an armed building. 更多... | |
| struct | eve::rts::Building::Combat |
| Automatic targeting policy for a stationary defensive building. 更多... | |
| struct | eve::rts::Building::Garrison |
| Building garrison capacity and generation-checked occupants. 更多... | |
| struct | eve::rts::Building::Supply |
| Static ammunition stock and transfer policy for completed buildings. 更多... | |
| struct | eve::rts::Building::Vision |
| Static vision contribution projected into a faction-owned canonical map FOV provider. 更多... | |
| struct | eve::rts::Building::Technology |
| Upgrade ids already projected onto this building. 更多... | |
| struct | eve::rts::Building::Infrastructure |
| RTS infrastructure projection; economy balances remain owned by the linked provider. 更多... | |
| struct | eve::rts::Building::Command |
| Static command provider and hostile jamming policy. 更多... | |
| struct | eve::rts::Building::IndirectFire |
| Last indirect-fire exposure for static artillery and counter-battery observation. 更多... | |
| class | eve::rts::ResourceNode |
| Harvestable RTS resource node; deposited balances are owned by an external resource account. 更多... | |
| struct | eve::rts::ResourceNode::Identity |
| Runtime and persistent identity. 更多... | |
| struct | eve::rts::ResourceNode::Position |
| Authoritative world position and interaction radius. 更多... | |
| struct | eve::rts::ResourceNode::Stock |
| Authoritative remaining resource stock. 更多... | |
| struct | eve::rts::ResourceNode::Harvest |
| Concurrent worker capacity and current generation-checked assignments. 更多... | |
| class | eve::rts::Player |
| Player domain root; selection is RTS-local, authority/economy/social are links. 更多... | |
| struct | eve::rts::Player::Identity |
| Runtime identity. 更多... | |
| struct | eve::rts::Player::Authority |
| Authority provider link. 更多... | |
| struct | eve::rts::Player::Economy |
| Economy account/provider link. 更多... | |
| struct | eve::rts::Player::Social |
| Social graph/provider link. 更多... | |
| struct | eve::rts::Player::Selection |
| RTS-owned selection handles; handles are generation checked on use. 更多... | |
| struct | eve::rts::Player::GameEvent |
| Event stream/provider link. 更多... | |
| class | eve::rts::Faction |
| Faction domain root; membership is a set of typed runtime handles. 更多... | |
| struct | eve::rts::Faction::Identity |
| Runtime identity. 更多... | |
| struct | eve::rts::Faction::Authority |
| Authority provider link. 更多... | |
| struct | eve::rts::Faction::Economy |
| Economy account/provider link. 更多... | |
| struct | eve::rts::Faction::Social |
| Social graph/provider link. 更多... | |
| struct | eve::rts::Faction::Members |
| Authoritative faction membership handles. 更多... | |
| struct | eve::rts::Faction::GameEvent |
| Event stream/provider link. 更多... | |
| struct | eve::rts::Faction::Strategy |
| Deterministic high-level production and attack policy for an AI-controlled faction. 更多... | |
| struct | eve::rts::Faction::Workforce |
| Deterministic idle-worker assignment policy for construction and repair. 更多... | |
| struct | eve::rts::Faction::ProductionPolicy |
| Cross-factory resource floors reserved for production at or above a priority threshold. 更多... | |
| struct | eve::rts::Faction::ProductionPolicy::Reserve |
| Reserve public API. 更多... | |
| struct | eve::rts::Faction::Intel |
| Persistent last-known enemy contacts derived from the faction's canonical FOV provider. 更多... | |
| struct | eve::rts::Faction::Intel::Contact |
| Contact public API. 更多... | |
| struct | eve::rts::Faction::Technology |
| Completed research definitions and canonical production tasks already consumed. 更多... | |
| class | eve::rts::Match |
| Independent match composition root; factions may participate in different matches. 更多... | |
| struct | eve::rts::Match::Identity |
| Runtime and persistent identity. 更多... | |
| struct | eve::rts::Match::Rules |
| Configured victory rule; immutable while the match is running. 更多... | |
| struct | eve::rts::Match::Participants |
| One faction's team and elimination projection. 更多... | |
| struct | eve::rts::Match::Participants::Entry |
| Entry public API. 更多... | |
| struct | eve::rts::Match::State |
| Authoritative match outcome. 更多... | |
| struct | eve::rts::Match::Events |
| Deterministic retained lifecycle events. 更多... | |
| struct | eve::rts::Match::Events::Event |
| Event public API. 更多... | |
命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::orders |
| namespace | eve::production |
| namespace | eve::rts |
类型定义 | |
| using | eve::rts::FactionLink = EntityLink< FactionLinkTag > |
| using | eve::rts::WeaponLink = EntityLink< WeaponLinkTag > |
| using | eve::rts::ResourceNodeLink = EntityLink< ResourceNodeLinkTag > |
| using | eve::rts::BuildingLink = EntityLink< BuildingLinkTag > |
| using | eve::rts::ContainerLink = EntityLink< ContainerLinkTag > |
| using | eve::rts::SensingLink = ServiceLink< SensingLinkTag > |
| using | eve::rts::SteeringLink = ServiceLink< SteeringLinkTag > |
| using | eve::rts::CrowdLink = ServiceLink< CrowdLinkTag > |
| using | eve::rts::ActionLink = ServiceLink< ActionLinkTag > |
| using | eve::rts::SettlementLink = ServiceLink< SettlementLinkTag > |
| using | eve::rts::PlacementLink = ServiceLink< PlacementLinkTag > |
| using | eve::rts::EconomyLink = ServiceLink< EconomyLinkTag > |
| using | eve::rts::AuthorityLink = ServiceLink< AuthorityLinkTag > |
| using | eve::rts::SocialLink = ServiceLink< SocialLinkTag > |
| using | eve::rts::GameEventLink = ServiceLink< GameEventLinkTag > |
函数 | |
| const char * | eve::rts::combatStanceName (CombatStance stance) noexcept |
| Return the stable lower-case spelling of a combat stance. @ownership Returns a borrowed pointer to immutable static storage. @lifetime Valid for the process lifetime and safe to read from any thread. | |
| const char * | eve::rts::orderKindName (OrderKind kind) noexcept |
| Return the stable lower-case spelling of an RTS order kind. | |
详细描述
RTS domain roots and composition-only components.
RTS deliberately has several small ECS roots instead of a universal GameObject/GameplaySubject base. Unit, Building, Player and Faction own only their domain identity; orthogonal state is attached as components and cross-domain relationships are represented by typed links.
在文件 RTSTypes.h 中定义.