Source: addons/item_vault/backend/gdscript_inventory_backend.gd
Syntax
class GdscriptInventoryBackend extends InventoryBackendMembers
| Name | Kind | Summary |
|---|---|---|
Inventory | Field | GDScript reference implementation of [InventoryBackend]. |
inventory | Property | The wrapped inventory instance. Mutations are owned by this backend. |
database | Property | Stable database for resolving item ids into definitions. |
get_id | Method | |
get_owner_id | Method | |
get_snapshot | Method | |
get_change_events | Method | |
events | Property | |
apply_command | Method | |
result | Property | |
snapshot | Property | |
cs | Property | |
def | Property | |
before_count | Property | |
stack | Property | |
overflow | Property | |
after_count | Property | |
added | Property | |
result | Property | |
def | Property | |
available | Property | |
to_remove | Property | |
removed | Property | |
result | Property | |
source | Property | |
target | Property | |
available | Property | |
to_move | Property | |
removed | Property | |
stack | Property | |
overflow | Property | |
actually_moved | Property | |
leftover | Property | |
reinserted | Property | |
result | Property | |
available | Property | |
result | Property | |
res | Property | |
item_id | Property | |
container_id | Property | |
quantity | Property | |
removed | Property | |
result | Property | |
remaining | Property | |
res | Property | |
item_id | Property | |
container_id | Property | |
quantity | Property | |
result | Property | |
result | Property | |
result | Property | |
from_meta | Property | |
total | Property | |
c | Property | |
reserved | Property | |
res_container | Property | |
c | Property | |
remaining | Property | |
removed | Property | |
taken | Property | |
to_dict | Method | |
d | Property | |
res | Property | |
r | Property | |
from_dict | Method | |
loaded | Property |