Skip to content
ct

Class

CalendarTimePersistentIdAction

Generated GDScript class reference for CalendarTime.CalendarTimePersistentIdAction.

Status
Current
Version
v2.0.4
Updated
2026-08-09

Selection-independent logic for the Persistent ID editor actions.

Source: addons/calendar_time/utils/persistent_id_editor_action.gd

Syntax

class CalendarTimePersistentIdAction

Members

NameKindSummary
INFOFieldExtracted so it can be unit-tested without a live editor instance. The editor plugin supplies the selected FileSystem-dock paths. This class resolves, validates, mutates, and saves GameClock resources. It reports what happened. It deliberately does not depend on the editor API; the plugin owns all editor-facing calls. ## Result shape Each entry reports one selected path: { path, kind, clock_id, before, after, error }. The `kind` field takes one of these values: "game_clock", "folder", "non_clock", "load_failed", "in_memory", "save_failed".
KIND_GAME_CLOCKField
KIND_FOLDERField
KIND_NON_CLOCKField
KIND_LOAD_FAILEDField
KIND_IN_MEMORYField
KIND_SAVE_FAILEDField
apply_to_pathsMethod
apply_to_pathMethod