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 path,
	ConfigNode value
)
Request Example View Source

Parameters

node
Type: (Default Namespace)ConfigNode
A node to set data in.
path
Type: SystemString
A string path to the node. Path components should be separated by '/' symbol.
value
Type: (Default Namespace)ConfigNode
A config node to store.
See Also