AUTO-GENERATED FILE — DO NOT EDIT MANUALLY
Source: rules/impl/resource_consumption_rule.gd
Version: 6.0
class_name: ResourceConsumptionRule
extends: Resource
Signals
(none)
Exports
provider_path: String = “resource_provider”debug_mode: bool = false
Methods
_should_debug(settings_resource: Object) -> bool_get_property_safe(object: Object, property_name: String, default_value: Variant) -> Variant_implements_interface(object: Object, required_methods: Array) -> bool_format_error(template: String, args: Array) -> Stringvalidate(context: Object) -> Objectapply(context: Object) -> Array_create_validation_result(is_success: bool, issues: Array) -> RuleResultfind_resource_provider(context: Object, path: String) -> Object- First, check if resource provider is directly stored in metadata (for testing)
calculate_total_required(stacks: Array) -> intget_insufficient_resource_issues(provider: Object, stacks: Array, settings_resource: Object) -> Arrayget_summary -> Dictionary