Skip to content
ct

Class

ItemVaultBus

Generated GDScript class reference for ItemVault.ItemVaultBus.

Status
Draft
Version
v1.0
Updated
Development docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

Source: addons/item_vault/item_vault_bus.gd

Syntax

class ItemVaultBus extends RefCounted

Members

NameKindSummary
item_droppedEventScoped signal bus for ItemVault events. Emitted when a scene is dropped into the game world.
item_pickedEventEmitted when a pickup is collected.
pickup_rejectedEventEmitted when a pickup cannot be accepted by the configured vault target.
item_addedEventEmitted when an item is added to a container.
currency_addedEventEmitted when currency is credited to a wallet. Prefer this over `item_added(..., &"wallet")` for currency-specific subscribers — the `&"wallet"` container-id on item_added is a deprecated sentinel kept for backwards compatibility (issue #149).
item_removedEventEmitted when an item is removed from a container.
container_addedEventEmitted when a container is added to an inventory.
container_removedEventEmitted when a container is removed from an inventory.
item_movedEventEmitted when an item is moved between containers.