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 RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
reserve | Method | |
get_reservation | Method | |
release | Method | |
commit | Method | |
reserved_quantity | Method | |
has_reservation | Method | |
clear | Method | |
to_array | Method | |
load_array | Method |