Skip to content

ConfigAtlas

Holds all config sources and resolves the references between their config entries.

Inherits: Archmage.Atlas

var extension: AtlasExtension

The user-defined config extensions.

var data_version: Archmage.VersionInfo

The version info of the config repo at export time, or null when atlas.json has none.

static func code_version() -> Archmage.VersionInfo

Returns the version info of the config repo at codegen time, or null when none was given then.

func atlas_items() -> Dictionary[String, Archmage.AtlasItem]

Implements Archmage.Atlas.atlas_items().

func set_data_version(version: Archmage.VersionInfo) -> void

Implements Archmage.Atlas.set_data_version().

func bind_refs() -> String

Implements Archmage.Atlas.bind_refs().

func unbind_refs() -> void

The atlas calls it when it is freed. Do not call it yourself: afterward, the reference fields of all config entries are null, and the atlas cannot be used.

func on_loaded() -> String

Implements Archmage.Atlas.on_loaded().