Source: addons/item_vault/backend/inventory_command_result.gd
Syntax
class InventoryCommandResult extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
code | Property | Result of applying an [InventoryCommand] to an [InventoryBackend]. Canonical result code. |
message | Property | Human-readable message for failures and diagnostics. |
snapshot | Property | Snapshot of the inventory after a successful or partially successful command. |
changes | Property | Incremental change events produced by the command. |
overflow | Property | Leftover stack when an add/transfer could not fit everything. |
affected_quantity | Property | Quantity actually moved/added/removed (0 when the command failed outright). |
is_success | Method | |
is_partial | Method | |
success | Method | |
r | Property | |
failure | Method | |
r | Property |