Click or drag to resize

PersistentFieldAttribute Constructor

Creates attribute for a persistent field of standard KSP types.

Namespace:  KSPDev.ConfigUtils
Assembly:  KSPDev_Utils.1.2 (in KSPDev_Utils.1.2.dll) Version: 1.2 for KSP v1.6+
Syntax
C#
public PersistentFieldAttribute(
	string cfgPath
)
Request Example View Source

Parameters

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