ConfigAccessorAddNodeByPath Method (ConfigNode, String, ConfigNode) |
Adds a repeated node in the config 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 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: SystemString
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