Results from placement rule validation. RuleResult encapsulates the outcome of evaluating a placement rule, storing validation issues, success state, and contextual information for debugging and logging. The class supports both incremental construction (for building issues during validation) and complete construction (for finished results). Success is determined by the absence of validation issues, making the result self-documenting and suitable for build logs and user feedback systems.
Source: addons/grid_placement/placement/placement_rules/rule_result.gd
Syntax
class RuleResult extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
rule | Property | The rule that was tested. |
issues | Property | Issues found during validation. |
build | Method | |
result | Property | |
add_issue | Method | |
add_issues | Method | |
is_successful | Method | |
is_empty | Method | |
get_issues | Method |
Source
addons/grid_placement/placement/placement_rules/rule_result.gd
Plugin docs root:gdscript/plugins/grid_placement_dev/docs