Component: Property Manager (Utility ): Difference between revisions
Appearance
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 84: | Line 84: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Load''' | ||
|- | |- | ||
| colspan="2" | Loads the registered property values from the config file. | | colspan="2" | Loads the registered property values from the config file. | ||
| Line 98: | Line 98: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''RegisterProperty''' | ||
|- | |- | ||
| colspan="2" | Registers a property to be saved or loaded. The property name should also include the component name e.g. Top level property - "PropVarName" Component property - "ComponentName::PropVarName" | | colspan="2" | Registers a property to be saved or loaded. The property name should also include the component name e.g. Top level property - "PropVarName" Component property - "ComponentName::PropVarName" | ||
| Line 117: | Line 117: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Save''' | ||
|- | |- | ||
| colspan="2" | Saves the registered property values to the config file. | | colspan="2" | Saves the registered property values to the config file. | ||
| Line 132: | Line 132: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:23, 13 July 2026
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Utility |
Property Manager component
Allows property values exposed to the user to be saved and loaded using an external file. Simplifies the process of storing and retreiving the property values. Also works with nested properties using the "::" syntax.
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Load
| Load | |
| Loads the registered property values from the config file. | |
| Return | |
RegisterProperty
Save
| Save | |
| Saves the registered property values to the config file. | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_PropertyManager.fcsx
Please click here to view the component source code (Beta): FC_Comp_Source_PropertyManager.fcsx