Click or drag to resize

AbstractPersistentFieldsFileAttribute Constructor

Constructor for a persistent field.

Namespace:  KSPDev.ConfigUtils
Assembly:  KSPDev_Utils.2.5 (in KSPDev_Utils.2.5.dll) Version: 2.5 for KSP v1
Syntax
C#
protected AbstractPersistentFieldsFileAttribute(
	string configFilePath,
	string nodePath,
	string group
)
Request Example View Source

Parameters

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
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