ConfigAccessorAddNodeByPath Method (ConfigNode, String, ConfigNode) |
Adds a repeated node in the config by a path.
Namespace:
KSPDev.ConfigUtils
Assembly:
KSPDev_Utils.2.0 (in KSPDev_Utils.2.0.dll) Version: 2.0 for KSP v1.8+
Syntaxpublic static void AddNodeByPath(
ConfigNode node,
string[] pathKeys,
ConfigNode value
)
Request Example
View SourceParameters
- 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 add.
See Also