载入中...
搜索中...
未找到
SmartObject.h
浏览该文件的文档.
91 [[nodiscard]] Result<std::vector<SmartObjectCandidate>> query(const SmartObjectQuery& query) const;
97 [[nodiscard]] Result<void> renew(SmartObjectClaimHandle claim, AgentHandle agent, std::uint64_t currentTick,
129 [[nodiscard]] Result<std::reference_wrapper<const Object>> resolveObject(SmartObjectHandle handle) const;
130 [[nodiscard]] Result<std::reference_wrapper<Claim>> resolveClaim(SmartObjectClaimHandle handle);
131 [[nodiscard]] Result<std::reference_wrapper<const Claim>> resolveClaim(SmartObjectClaimHandle handle) const;
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:84
Definition Navigation.cpp:6
@ CancelClaims
@ RejectClaimed
@ Object
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