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

PlacementHistorySystem

AUTO-GENERATED (GDScript) API entry

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: systems/placement/placement_history_system.gd

Version: 6.0

class_name: PlacementHistorySystem extends: System

Signals

(none)

Exports

(none)

Methods

  • query -> QueryBuilder
  • process(entities: Array, components: Array, delta: float) -> void
  • record_placement_event(event_component: PlacementEventComponent, target_history: PlacementHistoryComponent = null) -> void
  • get_history_by_session(session_id: String, use_cache: bool = true) -> Array
  • get_history_by_time_range(start_time: float, end_time: float, use_cache: bool = true) -> Array
  • get_history_by_position(position: Vector2, tolerance: float = 1.0, use_cache: bool = true) -> Array
  • get_history_by_entity(entity_id: String, use_cache: bool = true) -> Array
  • get_recent_history(count: int, use_cache: bool = true) -> Array
  • clear_old_entries(cutoff_time: float) -> void
  • start_new_session(session_id: String = "") -> void
  • get_statistics -> Dictionary
  • serialize_all_history -> Array
  • deserialize_all_history(serialized_data: Array) -> void
  • _maintain_history(history_component: PlacementHistoryComponent, delta: float) -> void
    • Auto-cleanup very old entries if size limit is approached
  • _invalidate_cache_for_session(session_id: String) -> void
  • clear_expired_cache -> void
  • clear_cache -> void
  • configure_cache(expiration_seconds: float) -> void