PersistentFieldAttribute Constructor |
Creates attribute for a persistent field of standard KSP types.
Namespace:
KSPDev.ConfigUtils
Assembly:
KSPDev_Utils.2.0 (in KSPDev_Utils.2.0.dll) Version: 2.0 for KSP v1.8+
Syntaxpublic PersistentFieldAttribute(
string cfgPath
)
Request Example
View SourceParameters
- cfgPath
- Type: SystemString
A path to the fields's value in the config. Components must be separated by symbol /.
The path is relative, the absolute path is determined when doing actual (de)serialization.
The path is case-insensitive.
See Also