载入中...
搜索中...
未找到
SmartObject.h
浏览该文件的文档.
100 [[nodiscard]] Result<std::vector<SmartObjectCandidate>> query(const SmartObjectQuery& query) const;
106 [[nodiscard]] Result<void> renew(SmartObjectClaimHandle claim, AgentHandle agent, std::uint64_t currentTick,
144 [[nodiscard]] Result<std::reference_wrapper<const Object>> resolveObject(SmartObjectHandle handle) const;
145 [[nodiscard]] Result<std::reference_wrapper<Claim>> resolveClaim(SmartObjectClaimHandle handle);
146 [[nodiscard]] Result<std::reference_wrapper<const Claim>> resolveClaim(SmartObjectClaimHandle handle) const;
147 void releaseClaimUnchecked(SmartObjectClaimHandle handle, std::string_view reason, std::uint64_t tick) noexcept;
Move-only, checked operation results for the common layer.
Strong generation-qualified handles for non-ECS runtime registries.
Authoritative registry and lease manager for reservable world interactions.
Definition SmartObject.h:93
Definition Decision.cpp:15
@ CancelClaims
@ RejectClaimed
std::array< double, 3 > position
Definition SmartObject.h:57
SmartObjectClaimHandleTag public API.
Definition SmartObject.h:23
SmartObjectClaimSnapshot public API.
Definition SmartObject.h:62
std::uint64_t expiresAtTick
Definition SmartObject.h:67
std::vector< SmartObjectSlotDefinition > slots
Definition SmartObject.h:41
SmartObjectExpirationReport public API.
Definition SmartObject.h:71
std::uint32_t claimsExpired
Definition SmartObject.h:72
std::vector< std::string > requiredTags
Definition SmartObject.h:47
SmartObjectSlotDefinition public API.
Definition SmartObject.h:31
std::vector< std::string > tags
Definition SmartObject.h:34
std::array< double, 3 > position
Definition SmartObject.h:35
One freed smart-object seat after release, expiry, cancel, or agent cleanup.
Definition SmartObject.h:76