Skip to content
ct

Class

InventoryChangeEvent

Generated GDScript class reference for ItemVault.InventoryChangeEvent.

Status
Current
Version
v1.0
Updated
2026-07-31

Incremental, serializable inventory change event.

Source: addons/item_vault/backend/inventory_change_event.gd

Syntax

class InventoryChangeEvent extends RefCounted

Members

NameKindSummary
typePropertyEvent 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.
instance_idPropertyRetained item-instance identity for ITEM_RESOURCE_CHANGED.
stack_idPropertyConcrete stack identity for ITEM_RESOURCE_CHANGED.
resource_idPropertyResource identity for ITEM_RESOURCE_CHANGED.
old_amountPropertyResource amount before the mutation.
new_amountPropertyResource amount after the mutation.
deltaPropertySigned resource change.
correlation_idPropertyCaller correlation identity.
reasonPropertyStructured reason for the committed resource change.
make_item_addedMethod
eProperty
make_item_removedMethod
eProperty
make_item_movedMethod
eProperty
make_wallet_changedMethod
eProperty
make_reservation_addedMethod
eProperty
make_reservation_removedMethod
eProperty
make_item_resource_changedMethod