Read-only snapshot of a single container at a point in time.
Source: addons/item_vault/backend/container_snapshot.gd
Syntax
class ContainerSnapshot extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
id | Property | Container instance identifier (usually the container type id). |
container_type_id | Property | Container type identifier. |
stacks | Property | Stacks currently in the container. |
copy | Property | |
slot_count | Property | Number of concrete slots captured for a slot-based container. Zero means this is a free-list snapshot or the source did not expose slot topology. |
slot_indices | Property | Slot index for each entry in [member stacks]. Free-list entries use -1. Keeping this parallel to `stacks` preserves topology without breaking the existing aggregate `stacks` API. |
total_quantity | Method | |
count | Method | |
has | Method | |
to_dict | Method | |
duplicate | Method |