ConfigAtlas
Holds all game configuration tables and provides cross-table reference binding.
public class ConfigAtlas : IAtlasInheritance Object → ConfigAtlas
Implements IAtlas
Fields
Section titled “Fields”Instance
Section titled “Instance”The active ConfigAtlas. It must be set before calling any XxxCfgId.Cfg.
public static ConfigAtlas InstanceField Value
Section titled “Field Value”Properties
Section titled “Properties”Extension
Section titled “Extension”public AtlasExtension Extension { get; private set; }Property Value
Section titled “Property Value”AtlasExtension
DataVersion
Section titled “DataVersion”The version info of the config repo at export time.
public VersionInfo? DataVersion { get; private set; }Property Value
Section titled “Property Value”CodeVersion
Section titled “CodeVersion”The version info of the config repo at codegen time.
public static VersionInfo CodeVersion { get; }Property Value
Section titled “Property Value”Constructors
Section titled “Constructors”ConfigAtlas()
Section titled “ConfigAtlas()”public ConfigAtlas()Methods
Section titled “Methods”SetDataVersion(VersionInfo)
Section titled “SetDataVersion(VersionInfo)”For internal use only.
public void SetDataVersion(VersionInfo? v)Parameters
Section titled “Parameters”BindRefs()
Section titled “BindRefs()”For internal use only.
public void BindRefs()AtlasItems()
Section titled “AtlasItems()”Returns the internal map of config-name to AtlasItem.
public Dictionary<string, AtlasItem> AtlasItems()Returns
Section titled “Returns”OnLoaded()
Section titled “OnLoaded()”Called after all config data has been loaded and refs bound. Delegates to AtlasExtension.OnLoaded. For internal use only.
public void OnLoaded()