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

GridOwnerComponent

AUTO-GENERATED (GDScript) API entry

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: components/grid/grid_owner_component.gd

Version: 6.0

class_name: GridOwnerComponent extends: Component

Signals

(none)

Exports

  • owner_id: String = ""
    • Owner type (player, ai, system, etc.)
    • Owner capabilities based on type
    • Ownership metadata
    • Initialize owner component with data
  • owner_type: String = “player”
    • Owner capabilities based on type
    • Ownership metadata
    • Initialize owner component with data
  • capabilities: Array
    • Ownership metadata
    • Initialize owner component with data
  • metadata: Dictionary = {}
    • Initialize owner component with data

Methods

  • _init(data: Dictionary = {}) -> void
  • has_capability(capability: String) -> bool
  • add_capability(capability: String) -> void
  • remove_capability(capability: String) -> void
  • set_metadata(key: String, value: Variant) -> void
  • get_metadata(key: String, default_value: Variant = null) -> Variant
  • has_metadata(key: String) -> bool
  • validate -> Array
  • to_string -> String