ConfigAccessor.GetNodesByPath 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+
Syntaxpublic static ConfigNode[] GetNodesByPath(
ConfigNode node,
string path
)
Request Example
View SourceParameters
- node
- Type: (Default Namespace).ConfigNode
A node to read data from. - path
- Type: System.String
A string path to the nodes. Path components should be separated by '/'
symbol.
Return Value
Type:
ConfigNode[]Array of nodes or
null if path is not present in the
node.
See Also