Source: addons/item_vault/inventory/add_item_operation.gd
Syntax
class AddItemOperation extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
item_id | Property | Adds items to an inventory. |
quantity | Property | |
target_container_id | Property | |
source_stack | Property | Optional concrete stack snapshot. When present, insertion preserves its instance/stack ids, overrides, and retained resources instead of reconstructing an id+quantity-only stack (#262). |
execute | Method | |
rollback | Method |