Skip to content

ConfigAtlas

Holds all game configuration tables and provides cross-table reference binding.

public class ConfigAtlas : IAtlas

Inheritance ObjectConfigAtlas
Implements IAtlas

The active ConfigAtlas. It must be set before calling any XxxCfgId.Cfg.

public static ConfigAtlas Instance

ConfigAtlas

public AtlasExtension Extension { get; private set; }

AtlasExtension

The version info of the config repo at export time.

public VersionInfo? DataVersion { get; private set; }

VersionInfo

The version info of the config repo at codegen time.

public static VersionInfo CodeVersion { get; }

VersionInfo

public ConfigAtlas()

For internal use only.

public void SetDataVersion(VersionInfo? v)

v VersionInfo

For internal use only.

public void BindRefs()

Returns the internal map of config-name to AtlasItem.

public Dictionary<string, AtlasItem> AtlasItems()

Dictionary<String, AtlasItem>

Called after all config data has been loaded and refs bound. Delegates to AtlasExtension.OnLoaded. For internal use only.

public void OnLoaded()