rigz.config: Types Modinfo Source  

Simple config type using reflection

You can use this module to create simple configuration files.

Types Summary

tlConfig Configuration type for creating .cfg files.

Types

Type tlConfig Abstract
DescriptionConfiguration type for creating .cfg files.
InformationYou can use configuration files to store whatever settings you want. To use this type you must extend it and create your own type from it. Any fields you put into that type you create will become a setting that's saved in the configuration file. Simply use LoadConfig and SaveConfig to load and save those settings.
Methods Summary
LoadConfig Load a config into the type.
SaveConfig Save this type to a config file.
Method LoadConfig:Int(url:Object)
DescriptionLoad a config into the type.
InformationThis will take a configuration file and populate all the fields of the type with the settings found in the config file. Use SaveConfig to save a configuration file.
Method SaveConfig(url:Object)
DescriptionSave this type to a config file.
InformationThis will take all of the fields in this type and save them to a sonfig file. You can load them in again at anytime using LoadConfig.

Module Information

AuthorPeter J. Rigby
CopyrightPeter J. Rigby 2010
PurposeSimple way of creating configuration files for saving basic settings
Version1.0