外观
inventory_evidence API
模块说明
text
Conservative checks of native self inventory evidence; no network or writes.
A successful check proves only the requested observed slots, never causation,
other-player inventory, or that the sampled state remains current afterwards.verify_slots_after
python
def verify_slots_after(
before: Mapping[str, Any],
after: Mapping[str, Any],
*,
slots: Sequence[int],
after_time: str,
max_age_ms: int,
require_empty: bool = False,
) -> dict[str, Any]SDK 说明:
text
Check same-connection, post-boundary native observations for exact slots.
Capture ``before`` before the operation. ``after_time`` is an explicit UTC
action boundary chosen by the caller (a completion timestamp is safest but
can reject packets received before that completion). No operation is retried.
``max_age_ms`` is the maximum age at the server's sample time, not now.
Persist connection IDs and never compare revisions across connections.