Grid Placement
Development ⚠️ GridPlacement 6.0 (GECS) is in active development. This is the GDScript ECS architecture.

PlacementRuleRegistry

AUTO-GENERATED (GDScript) API entry

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: infrastructure/registries/placement_rule_registry.gd

Version: 6.0

class_name: PlacementRuleRegistry extends: RefCounted

Signals

(none)

Exports

(none)

Methods

  • _init(p_id: StringName, p_func: Callable, p_type: Variant, p_desc: String)
  • data_type
  • register_rule(rule_id: StringName, validator_func: Callable, data_type: Variant = null, description: String = "") -> bool
  • return
  • get_registration_info(rule_id: StringName) -> RuleRegistration
  • get_rule(rule_id: StringName) -> Callable
  • has_rule(rule_id: StringName) -> bool
  • get_data_type(rule_id: StringName) -> Variant
  • associate_rules_with_entity(entity_id: String, rule_ids: Array) -> void
  • get_entity_rules(entity_id: String) -> Array
  • clear -> void
  • unregister_rule(rule_id: StringName) -> bool
  • get_all_rule_ids -> Array
  • validate_registry -> Dictionary
    • Check for invalid rule registrations
  • get_rule_count -> int
  • get_statistics -> Dictionary
    • Count total entity associations