rigz.config: | Types | Modinfo | Source |
tlConfig | Configuration type for creating .cfg files. |
Type tlConfig Abstract | |
Description | Configuration type for creating .cfg files. |
Information | You 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) | |
Description | Load a config into the type. |
Information | This 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) | |
Description | Save this type to a config file. |
Information | This 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. |
Author | Peter J. Rigby |
---|---|
Copyright | Peter J. Rigby 2010 |
Purpose | Simple way of creating configuration files for saving basic settings |
Version | 1.0 |