ResourceStack

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

Resource stack for inventory and cost tracking.

Source File: addons/grid_building/placement/placement_rules/template_rules/resources/resource_stack.gd

Extends: Resource

Exported Properties

  • Property: type: Resource - The resource type stored in the stack.
  • Property: count: int = 1 - The number of resources in the stack.

Private Methods

_init

1
2
3
4
_init(
    p_type: Resource = null,
    p_count: int = 0
)

Flags: private

Initializes the resource stack with a type and count.