Chris' Tutorials
Docs/Calendar Time

Class

AgeState

Generated GDScript class reference for CalendarTime.AgeState.

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

Source: addons/calendar_time/ageing/state/age_state.gd

Syntax

class AgeState extends RefCounted

Members

NameKindSummary
currentPropertyRepresents the age of one or more objects whether that is the age of a game world or a specific object within the scene. Share the object to reference the same data as it changes. The age of the current object instance not including past scene versions.
totalPropertyThe total amount that the object including all past versions has accumulated.
createdPropertyThe age of the world when this age state was created.
parent_idPropertyThe state that this object exists within. Generally a world AgeState.
state_idPropertyUnique identifier representing this age state for serialization. See Keys.STATE_ID for the on-disk key name.
coordinatorProperty
add_ageMethod
get_total_elapsedMethod
to_dictMethod
from_dictMethod
dataProperty
resolved_state_idProperty
CURRENTField
TOTALField
CREATEDField
PARENT_IDField
SCHEMA_VERSIONFieldBumped when an on-disk key changes shape. v2 stored the UUID under the key "id"; v3 stores it under "state_id".
STATE_IDFieldSchema v3 key. Written by to_dict().
LEGACY_IDFieldLegacy v1/v2 key. Read-only — from_dict() auto-migrates it to STATE_ID when no STATE_ID is present. See MIGRATION.md §5.
get_keysMethod

Source

addons/calendar_time/ageing/state/age_state.gd

Plugin docs root:gdscript/plugins/calendar_time_dev/docs