Click or drag to resize

PersistentFieldsDatabaseAttribute Constructor

Initializes a new instance of the PersistentFieldsDatabaseAttribute class

Namespace:  KSPDev.ConfigUtils
Assembly:  KSPDev_Utils.1.1 (in KSPDev_Utils.1.1.dll) Version: 1.1 for KSP v1.6+
Syntax
C#
public PersistentFieldsDatabaseAttribute(
	string nodePath,
	string group = ""
)
Request Example View Source

Parameters

nodePath
Type: SystemString
An absolute path to the node in the game's database. Note that this must be a path to the config's root. This path is used to find the right settings file, not the right node within a file.
group (Optional)
Type: SystemString
A group of the annotation. When saving or loading the persistent fields only the fields of this group will be considered. Must not be null.
See Also