ConfigAccessorSetNodeByPath Method (ConfigNode, String, ConfigNode) |
Sets a node in config node 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 SetNodeByPath(
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 node. Path components should be separated by '/'
symbol. - value
- Type: (Default Namespace)ConfigNode
A config node to store.
See Also