AUTO-GENERATED FILE — DO NOT EDIT MANUALLY
Source: components/placement/placement_request_component.gd
Version: 6.0
class_name: PlacementRequestComponent
extends: Component
Signals
(none)
Exports
request_type: RequestType = RequestType.PLACE- Target world position for placement
- Rotation in degrees for the placed object
- Scale for the placed object
- Timestamp when this request was created
- Whether this request is currently being validated
- Result of placement validation (populated by PlacementValidationSystem)
- Unique identifier for this request
- Priority of this request (higher = more important)
- Whether this request is still active
- Additional context data for the request
target_position: Vector2- Rotation in degrees for the placed object
- Scale for the placed object
- Timestamp when this request was created
- Whether this request is currently being validated
- Result of placement validation (populated by PlacementValidationSystem)
- Unique identifier for this request
- Priority of this request (higher = more important)
- Whether this request is still active
- Additional context data for the request
rotation: float = 0.0- Scale for the placed object
- Timestamp when this request was created
- Whether this request is currently being validated
- Result of placement validation (populated by PlacementValidationSystem)
- Unique identifier for this request
- Priority of this request (higher = more important)
- Whether this request is still active
- Additional context data for the request
scale: Vector2 = Vector2.ONE- Timestamp when this request was created
- Whether this request is currently being validated
- Result of placement validation (populated by PlacementValidationSystem)
- Unique identifier for this request
- Priority of this request (higher = more important)
- Whether this request is still active
- Additional context data for the request
placement_time: float = 0.0- Whether this request is currently being validated
- Result of placement validation (populated by PlacementValidationSystem)
- Unique identifier for this request
- Priority of this request (higher = more important)
- Whether this request is still active
- Additional context data for the request
is_validating: bool = false- Result of placement validation (populated by PlacementValidationSystem)
- Unique identifier for this request
- Priority of this request (higher = more important)
- Whether this request is still active
- Additional context data for the request
request_id: String = ""- Priority of this request (higher = more important)
- Whether this request is still active
- Additional context data for the request
priority: int = 0- Whether this request is still active
- Additional context data for the request
is_active: bool = true- Additional context data for the request
context_data: Dictionary = {}
Methods
_init(p_requester: Entity = null, p_position: Vector2 = Vector2.ZERO, p_grid_entity: Entity = null, p_owner_entity: Entity = null) -> voidis_ready_for_validation -> boolmark_validating -> voidmark_ready_for_validation -> voidset_validation_result(result: ValidationResultComponent) -> voidis_validation_successful -> boolget_validation_issues -> Arrayget_state_metadata(key: String, default: Variant = null) -> Variantdeactivate -> voidupdate_position(new_position: Vector2) -> voidupdate_rotation(new_rotation: float) -> voidupdate_scale(new_scale: Vector2) -> voidset_state_metadata(key: String, value: Variant) -> voidvalidate -> Dictionary_to_string -> String