Chris' Tutorials
Docs/Calendar Time

Class

TimeSnapshotSerializer

Generated GDScript class reference for CalendarTime.TimeSnapshotSerializer.

StatusCurrent
Versionv2.0
UpdatedGenerated from GDScript addon source
Source note:This page rendered plugin-owned docs or generated metadata inside unified Astro docs shell.

TimeSnapshotSerializer — stateless service that serializes one GameClock. RefCounted (not Node): it reads/writes a clock, not a scene participant. Constructed and wired by GameClock; most users call clock.to_dict() / clock.from_dict(data) instead of using this serializer directly. Uses TimeSnapshot as the save-format DTO (preserves the serialization_id / LEGACY_ID migration machinery: pre-2.0 saves with game_seconds or legacy game_ticks auto-migrate on load).

Source: addons/calendar_time/data/time_snapshot_serializer.gd

Syntax

class TimeSnapshotSerializer extends RefCounted

Members

NameKindSummary
TIME_STATEField
clockPropertyThe runtime clock to serialize / deserialize. Set by GameClock during `_init`.
dtoProperty
to_dictMethod
dtoProperty
from_dictMethod
time_state_dataProperty
dtoProperty

Source

addons/calendar_time/data/time_snapshot_serializer.gd

Plugin docs root:gdscript/plugins/calendar_time_dev/docs