Skip to content

Class

CalendarTimeCheckpoints

Generated GDScript class reference for CalendarTime.CalendarTimeCheckpoints.

Status
Current
Version
v2.1.1
Source updated
2026-08-09
Generated on
2026-09-26

Semantic boundary / checkpoint tracker for a GameClock, replacing sleeps. Connects to the clock's TimeSignalBus and records authoritative semantic boundaries: day/month/year change, save-complete and restore-complete, plus a "calendar_ready" latch. A caller can then assert [method has_happened] instead of "sleep and hope the day rolled over". Actual blocking waits (the persistent runtime's job in godot-tools) wait on these same semantic events. They do not use wall-clock sleeps. The tracker is resettable so a persistent session can prove a hot reset produces the same event ordering.

Source: addons/calendar_time/semantic/calendar_time_checkpoints.gd

Syntax

class CalendarTimeCheckpoints extends RefCounted

Members

NameKindSummary
CALENDAR_READYFieldNamed checkpoints supported by this tracker.
TIME_ADVANCEDField
DAY_CHANGEDField
MONTH_CHANGEDField
YEAR_CHANGEDField
SAVE_COMPLETEField
RESTORE_COMPLETEField
CHECKPOINTSFieldAll supported checkpoint names, in canonical order.
attachMethod
resetMethod
has_happenedMethod
countMethod
to_dictMethod
mark_savedMethod