Skip to content
ct

Class

InventoryChangeEvent

Generated GDScript class reference for ItemVault.InventoryChangeEvent.

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/backend/inventory_change_event.gd

Syntax

class InventoryChangeEvent extends RefCounted

Members

NameKindSummary
typePropertyIncremental, serializable inventory change event. Event type.
inventory_idPropertyInventory identifier the event belongs to.
item_idPropertyItem identifier, when applicable.
quantityPropertyQuantity affected, when applicable.
container_idPropertyContainer identifier, when applicable.
from_container_idPropertySource container identifier for moves.
to_container_idPropertyDestination container identifier for moves.
currencyPropertyCurrency identifier for wallet changes.
old_balancePropertyPrevious wallet balance.
new_balancePropertyNew wallet balance.
reservation_idPropertyReservation identifier for reservation events.
dataPropertyOptional extension data for backend-specific fields.
make_item_addedMethod
eProperty
make_item_removedMethod
eProperty
make_item_movedMethod
eProperty
make_wallet_changedMethod
eProperty
make_reservation_addedMethod
eProperty
make_reservation_removedMethod
eProperty