载入中...
搜索中...
未找到
CrowdTypes.h
浏览该文件的文档.
Strong generation-qualified handles for non-ECS runtime registries.
Internal storage primitive for domain-owned unsigned values.
constexpr bool isValid() const noexcept
Returns whether both coordinates are usable handle values.
Definition RuntimeHandle.h:146
Owning immutable field lease; copies pin storage, never the Crowd provider. @thread Copy/release/quer...
Definition CrowdTypes.h:48
FlowLease()=default
Construct an unbound lease, selecting compatibility default-field steering.
std::uint64_t generation() const noexcept
Observe the non-reused owner-local generation; zero means unbound.
Definition CrowdTypes.h:59
Definition Crowd.cpp:14
constexpr std::uint32_t flowBuildAlgorithmVersion
Increment when the navigation construction algorithm changes its observable output.
Definition CrowdTypes.h:41
Agent identity qualified by the Crowd instance that owns its registry. @ownership Value only; it neit...
Definition CrowdTypes.h:90
bool isValid() const noexcept
Whether the value contains an owner and usable coordinates; does not prove liveness.
Definition CrowdTypes.h:95
friend bool operator==(const AgentRef &, const AgentRef &) noexcept=default
Compare exact owner, slot and generation identity.
Owner-local registry identity for a Crowd agent, independent of dense storage.
Definition CrowdTypes.h:80
Retained navigation-storage accounting; excludes allocator bookkeeping and pending builds.
Definition CrowdTypes.h:62
std::uint64_t residentBytes
Definition CrowdTypes.h:64
Logical grid destination; canonical request sets sort lexicographically and remove duplicates.
Definition CrowdTypes.h:12
friend auto operator<=>(const FlowGoal &, const FlowGoal &)=default
Compare exact cell coordinates, independently of source order.
Agent-owned selection of a provider-defined movement policy. Zero identity and revision mean compatib...
Definition CrowdTypes.h:27
friend bool operator==(const MovementBinding &, const MovementBinding &)=default
Movement policy identity; the provider owns its stable definition.
Definition CrowdTypes.h:20