Skip to content
ct

Class

AgeStateSerializer

Generated GDScript class reference for CalendarTime.AgeStateSerializer.

Status
Current
Version
v2.0
Updated
Generated from GDScript addon source

AgeStateSerializer — stateless service that serializes ageing state. A save facade composes this; call to_dict()/from_dict() to read and write the ageing half of a save.

Source: addons/calendar_time/ageing/age_state_serializer.gd

Syntax

class AgeStateSerializer extends RefCounted

Members

NameKindSummary
AGE_STATESField
AGE_SERVICE_STATEField
age_servicePropertyThe ageing service to serialize / deserialize. The registry is resolved from `age_service.clock.age_registry` — the per-clock registry carried by the clock the service is bound to. If `null`, the serializer emits a warning on to_dict/from_dict and returns an empty dict / no-ops on load — never silently drops the age half of the save (the caller must see the warning).
to_dictMethod
registryProperty
dataProperty
from_dictMethod
age_statesProperty
registryProperty