GDScript reference implementation of InventoryBackend.
Source: addons/item_vault/backend/gdscript_inventory_backend.gd
Syntax
class GdscriptInventoryBackend extends InventoryBackendMembers
| Name | Kind | Summary |
|---|---|---|
inventory | Property | Wrapped inventory; this backend owns its mutations. |
database | Property | Item definition lookup. |
bus | Property | Optional public integration bus; the backend signal remains for low-level consumers. |
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 |