Grid Placement

PlaceableSequence

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: core/placeables/placeable_sequence.gd

Version: 5.1

class_name: PlaceableSequence extends: GBResource

Signals

(none)

Exports

  • display_name
  • placeables
  • icon

Methods

  • count()
    • Returns the total number of placeable variants in this sequence. Used by UI components to determine if variant cycling controls should be displayed. [return] Number of placeable variants (0 if empty)
  • get_variant()
    • Retrieves a specific placeable variant by its index position. [param index] Zero-based index of the variant to retrieve [return] Placeable resource at the specified index, or null if index is out of bounds
  • variant_display_name()
    • Gets the display name for a specific variant, with fallback handling. [param index] Zero-based index of the variant to get the name for [return] Display name of the variant, or fallback “Variant N” if unavailable
  • get_editor_issues()
    • Validates the sequence configuration and returns any editor-time issues found. Performs sequence-level validation and delegates individual placeable validation to each Placeable object for proper separation of concerns. [return] Array of validation issue descriptions, empty if no issues found
  • get_runtime_issues()
    • Validates the sequence for runtime usage and returns any issues found. Includes sequence-level validation plus comprehensive placeable validation. Note: Individual placeable.get_runtime_issues() calls already include their editor issues, preventing duplication while ensuring complete coverage. [return] Array of validation issue descriptions, empty if no issues found