Selection-independent logic for the Persistent ID editor actions.
Source: addons/calendar_time/utils/persistent_id_editor_action.gd
Syntax
class CalendarTimePersistentIdActionMembers
| Name | Kind | Summary |
|---|---|---|
INFO | Field | Extracted 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_CLOCK | Field | |
KIND_FOLDER | Field | |
KIND_NON_CLOCK | Field | |
KIND_LOAD_FAILED | Field | |
KIND_IN_MEMORY | Field | |
KIND_SAVE_FAILED | Field | |
apply_to_paths | Method | |
apply_to_path | Method |