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

PlacementComponent

AUTO-GENERATED (GDScript) API entry

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: components/placement/placement_component.gd

Version: 6.0

class_name: PlacementComponent extends: Component

Signals

(none)

Exports

  • is_placing: bool = false
    • Current placement mode
    • Active placeable component being placed
    • Preview entity for visual feedback
    • Last known valid position for placement
    • Number of placement attempts made
    • Maximum allowed placement attempts
    • Whether placement is currently locked (preventing new attempts)
    • Time when placement was locked
    • Duration of placement lock in seconds
    • User who initiated this placement
    • Session identifier for this placement operation
    • Additional state metadata
  • placement_mode: PlacementMode = PlacementMode.NONE
    • Active placeable component being placed
    • Preview entity for visual feedback
    • Last known valid position for placement
    • Number of placement attempts made
    • Maximum allowed placement attempts
    • Whether placement is currently locked (preventing new attempts)
    • Time when placement was locked
    • Duration of placement lock in seconds
    • User who initiated this placement
    • Session identifier for this placement operation
    • Additional state metadata
  • active_placeable: PlaceableComponent
    • Preview entity for visual feedback
    • Last known valid position for placement
    • Number of placement attempts made
    • Maximum allowed placement attempts
    • Whether placement is currently locked (preventing new attempts)
    • Time when placement was locked
    • Duration of placement lock in seconds
    • User who initiated this placement
    • Session identifier for this placement operation
    • Additional state metadata
  • preview_entity_id: String = ""
    • Last known valid position for placement
    • Number of placement attempts made
    • Maximum allowed placement attempts
    • Whether placement is currently locked (preventing new attempts)
    • Time when placement was locked
    • Duration of placement lock in seconds
    • User who initiated this placement
    • Session identifier for this placement operation
    • Additional state metadata
  • last_valid_position: Vector2
    • Number of placement attempts made
    • Maximum allowed placement attempts
    • Whether placement is currently locked (preventing new attempts)
    • Time when placement was locked
    • Duration of placement lock in seconds
    • User who initiated this placement
    • Session identifier for this placement operation
    • Additional state metadata
  • placement_attempts: int = 0
    • Maximum allowed placement attempts
    • Whether placement is currently locked (preventing new attempts)
    • Time when placement was locked
    • Duration of placement lock in seconds
    • User who initiated this placement
    • Session identifier for this placement operation
    • Additional state metadata
  • max_placement_attempts: int = 100
    • Whether placement is currently locked (preventing new attempts)
    • Time when placement was locked
    • Duration of placement lock in seconds
    • User who initiated this placement
    • Session identifier for this placement operation
    • Additional state metadata
  • is_placement_locked: bool = false
    • Time when placement was locked
    • Duration of placement lock in seconds
    • User who initiated this placement
    • Session identifier for this placement operation
    • Additional state metadata
  • placement_lock_time: float = 0.0
    • Duration of placement lock in seconds
    • User who initiated this placement
    • Session identifier for this placement operation
    • Additional state metadata
  • placement_lock_duration: float = 0.5
    • User who initiated this placement
    • Session identifier for this placement operation
    • Additional state metadata
  • user_id: String = ""
    • Session identifier for this placement operation
    • Additional state metadata
  • session_id: String = ""
    • Additional state metadata
  • state_metadata: Dictionary = {}

Methods

  • _init -> void