GDScript reference implementation of [InventoryBackend].
Source: addons/item_vault/backend/gdscript_inventory_backend.gd
Syntax
class GdscriptInventoryBackend extends InventoryBackendMembers
| Name | Kind | Summary |
|---|---|---|
Inventory | Field | |
inventory | Property | The wrapped inventory instance. Mutations are owned by this backend. |
database | Property | Stable database for resolving item ids into definitions. |
bus | Property | Optional public integration bus. The backend signal remains available for low-level consumers; this is the production projection for scoped hosts. |
set_bus | Method | |
get_id | Method | |
get_owner_id | Method | |
get_snapshot | Method | |
get_change_events | Method | |
get_operation_records | Method | |
apply_command | Method | |
apply_command_if_current | Method | |
apply_retry | Method | |
oid | Property | |
overflow_qty | Property | |
record | Property | |
source | Property | |
target | Property | |
available | Property | |
to_move | Property | |
fragments | Property | |
actually_moved | Property | |
overflow_fragments | Property | |
fragment | Property | |
rejected | Property | |
accepted | Property | |
unreinserted | Property | |
rejected | Property | |
original_slot | Property | |
source_overflow | Property | |
result | Property | |
to_dict | Method | |
from_dict | Method |