Click or drag to resize

ConfigNodePatchMakeFromConfigNode Method

Makes a patch form the config node.

Namespace:  KSPDev.ConfigUtils
Assembly:  KSPDev_Utils.1.2 (in KSPDev_Utils.1.2.dll) Version: 1.2 for KSP v1.6+
Syntax
C#
public static ConfigNodePatch MakeFromConfigNode(
	ConfigNode node
)
Request Example View Source

Parameters

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.
Remarks
Some sanity checks are done when loading, so this method can throw.
See Also