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 RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
AGE_STATES | Field | |
AGE_SERVICE_STATE | Field | |
age_service | Property | The 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_dict | Method | |
registry | Property | |
data | Property | |
from_dict | Method | |
age_states | Property | |
registry | Property |