Skip to content

Class

PlacementIssue

Generated GDScript class reference for GridPlacement.PlacementIssue.

Status
Draft
Version
v6.0
Updated
Development docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

A placement issue pairing an internal service tag with a player-facing message. Upstream callers set [member service] to the component that emitted the issue (e.g. [code]&"SmoothPlacementService"[/code]) and [member message] to the player-facing text (e.g. [code]"That spot is already taken."[/code]). The presentation layer shows only [member message]; [member service] is for logs and telemetry. Keeping them apart means players never see internal names.

Source: addons/grid_placement/placement/manager/placement_issue.gd

Syntax

class PlacementIssue extends RefCounted

Members

NameKindSummary
servicePropertyInternal service that emitted the issue (e.g. [code]&"SmoothPlacementService"[/code]).
messagePropertyPlayer-facing message. This is what the UI shows.