Skip to content
ct

Class

ItemContainer

Generated GDScript class reference for ItemVault.ItemContainer.

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

Serializable container for free-list or slot-based item storage. Storage behavior lives in a [ContainerStorage] strategy (FreeListStorage or SlotStorage) selected by the [ContainerType]; public operations delegate to it so there is no slot/free fork in the public method bodies (#147).

Source: addons/item_vault/inventory/item_container.gd

Syntax

class ItemContainer extends RefCounted

Members

NameKindSummary
typeProperty
configureMethod
clearMethod
is_slot_basedMethod
addMethod
removeMethod
extract_stacksMethod
extract_fragmentsMethod
countMethod
hasMethod
has_spaceMethod
can_acceptMethod
weightMethod
stack_atMethod
slot_atMethod
add_at_slotMethod
stacksMethod
slotsMethod
all_itemsMethod
to_dictMethod
from_dictMethod
restore_stateMethod