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 RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
current | Property | Represents 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. |
total | Property | The total amount that the object including all past versions has accumulated. |
created | Property | The age of the world when this age state was created. |
parent_id | Property | The state that this object exists within. Generally a world AgeState. |
state_id | Property | Unique identifier representing this age state for serialization. See Keys.STATE_ID for the on-disk key name. |
coordinator | Property | |
add_age | Method | |
get_total_elapsed | Method | |
to_dict | Method | |
from_dict | Method | |
data | Property | |
resolved_state_id | Property | |
CURRENT | Field | |
TOTAL | Field | |
CREATED | Field | |
PARENT_ID | Field | |
SCHEMA_VERSION | Field | Bumped when an on-disk key changes shape. v2 stored the UUID under the key "id"; v3 stores it under "state_id". |
STATE_ID | Field | Schema v3 key. Written by to_dict(). |
LEGACY_ID | Field | Legacy v1/v2 key. Read-only — from_dict() auto-migrates it to STATE_ID when no STATE_ID is present. See MIGRATION.md §5. |
get_keys | Method |
Source
addons/calendar_time/ageing/state/age_state.gd
Plugin docs root:gdscript/plugins/calendar_time_dev/docs