Chris' Tutorials
Docs/Item Vault

Class

InventorySave

Generated GDScript class reference for ItemVault.InventorySave.

StatusDraft
Versionv1.0
UpdatedDevelopment docs generated from GDScript source

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

Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.

Source: addons/item_vault/inventory/inventory_save.gd

Syntax

class InventorySave extends RefCounted

Members

NameKindSummary
SCHEMA_VERSIONFieldVersioned inventory envelope helpers. Save/load versioning policy: - The current schema version is [constant SCHEMA_VERSION]. - Saves matching SCHEMA_VERSION load normally. - Older versions are rejected with push_error and return null unless a migration function is registered for that version. - Newer versions are always rejected (we cannot know future schema shape). - Missing version is treated as an error, not conflated with version 0.
InventoryField
register_migrationMethod
to_dictMethod
dProperty
from_dictMethod
save_versionProperty
migratorProperty
migratedProperty

Source

addons/item_vault/inventory/inventory_save.gd

Plugin docs root:gdscript/plugins/item_vault_dev/addons/item_vault/guides