AUTO-GENERATED FILE — DO NOT EDIT MANUALLY
Source: components/inventory/item_container_component.gd
Version: 6.0
class_name: ItemContainerComponent
extends: Component
Signals
(none)
Exports
item_stacks: Arraymax_stacks: int = 32auto_stack: bool = true
Methods
add_resource(resource_type: Resource, count: int, max_stack_size: int = 0) -> intremove_resource(resource_type: Resource, count: int) -> intget_resource_count(resource_type: Resource) -> inthas_resources(stacks: Array) -> boolconsume_resources(stacks: Array) -> intnormalize_stacks -> voidvalidate -> Array_resolve_stack_limit(existing_limit: int, requested_limit: int) -> int_find_stack_with_space(stacks: Array, resource_type: Resource, max_stack_size: int) -> int