Click or drag to resize

ConfigAccessorGetNodesByPath Method (ConfigNode, String)

Reads repeated nodes from 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 ConfigNode[] GetNodesByPath(
	ConfigNode node,
	string[] pathKeys
)
Request Example View Source

Parameters

node
Type: (Default Namespace)ConfigNode
A node to read data from.
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.

Return Value

Type: ConfigNode
Array of nodes or null if path is not present in the node.
See Also