ConfigNodePatchMakeFromConfigNode Method |
Makes a patch form the config node.
Namespace:
KSPDev.ConfigUtils
Assembly:
KSPDev_Utils.2.0 (in KSPDev_Utils.2.0.dll) Version: 2.0 for KSP v1.8+
Syntaxpublic static ConfigNodePatch MakeFromConfigNode(
ConfigNode node
)
Request Example
View SourceParameters
- node
- Type: (Default Namespace)ConfigNode
The node to read patch from.
Return Value
Type:
ConfigNodePatch
The patch node. It's never
null, but if some fields cannot be read, they will remain
uninitialized.
RemarksSome sanity checks are done when loading, so this method can throw.
See Also