Grid Placement

OperationResult

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: systems/common/operation_result.gd

Version: 5.1

class_name: OperationResult extends: RefCounted

Summary

A small structured result object for internal operations.

Intended use:

  • Replace ad-hoc tuples/dictionaries when returning “success + issues”.
  • Keep deep internals deterministic and side-effect free (no logging).

Notes:

  • message is a human-readable summary.
  • issues are machine-readable-ish strings suitable for tests and UI.

Signals

(none)

Exports

(none)

Methods

  • add_issue()
    • Append a single issue and mark the result as unsuccessful.
  • has_issues()
    • Returns true if the result contains any issues.