Skip to content
ct

Class

ReservationLedger

Generated GDScript class reference for ItemVault.ReservationLedger.

Status
Current
Version
v1.0
Updated
2026-07-31

Owns reservation state and invariants for an [InventoryBackend]. Extracted from [GdscriptInventoryBackend] so the backend delegates reserve, commit, release, availability, and persistence instead of walking a private reservations dictionary directly (#148). The ledger owns the records and their identifiers; the backend retains command orchestration and event translation.

Source: addons/item_vault/backend/reservation_ledger.gd

Syntax

class ReservationLedger extends RefCounted

Members

NameKindSummary
reserveMethod
get_reservationMethod
releaseMethod
commitMethod
reserved_quantityMethod
has_reservationMethod
clearMethod
to_arrayMethod
load_arrayMethod