Click or drag to resize

ConfigNodePatchMakeFromConfig Method

Makes a patch form the config.

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 MakeFromConfig(
	UrlDirUrlConfig config
)
Request Example View Source

Parameters

config
Type: (Default Namespace)UrlDirUrlConfig
The config to make the pacth 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