Click or drag to resize

ConfigAccessorSetNodeByPath Method (ConfigNode, String, ConfigNode)

Sets a node in config node by a path.

Namespace:  KSPDev.ConfigUtils
Assembly:  KSPDev_Utils.1.1 (in KSPDev_Utils.1.1.dll) Version: 1.1 for KSP v1.6+
Syntax
C#
public static void SetNodeByPath(
	ConfigNode node,
	string[] pathKeys,
	ConfigNode value
)
Request Example View Source

Parameters

node
Type: (Default Namespace)ConfigNode
A node to set data in.
pathKeys
Type: SystemString
An array of values that makes the full path. First node in the array is the top most component of the path.
value
Type: (Default Namespace)ConfigNode
A config node to store.
See Also