ConfigAccessor.AddNodeByPath Method (ConfigNode, String, ConfigNode) |
Adds a repeated node in the config by a path.
Namespace:
KSPDev.ConfigUtils
Assembly:
KSPDev_Utils.2.6 (in KSPDev_Utils.2.6.dll) Version: 2.6 for KSP v1
Syntaxpublic static void AddNodeByPath(
ConfigNode node,
string path,
ConfigNode value
)
Request Example
View SourceParameters
- node
- Type: (Default Namespace).ConfigNode
A node to set data in. - path
- Type: System.String
A string path to the nodes. Path components should be separated by '/'
symbol. - value
- Type: (Default Namespace).ConfigNode
A config node to add.
See Also