PersistentFieldsFileAttribute Constructor |
Constructor for a persistent field.
Namespace:
KSPDev.ConfigUtils
Assembly:
KSPDev_Utils.2.0 (in KSPDev_Utils.2.0.dll) Version: 2.0 for KSP v1.8+
Syntaxpublic PersistentFieldsFileAttribute(
string configFilePath,
string nodePath,
string group = ""
)
Request Example
View SourceParameters
- configFilePath
- Type: SystemString
A relative or an absolute path to the file. It's resolved via
MakeAbsPathForGameData(String). If empty then data is read from
database.
- nodePath
- Type: SystemString
A root for the persistent fields when saving or loading via this annotation. If empty then
root node of the file is used. Cannot be null - group (Optional)
- Type: SystemString
A group of the annotation. When saving or loading persistent fields only the fields of this
group will be considered. Must not be null.
See Also