Click or drag to resize

PartNodeUtilsGetModuleNodeT Method (ConfigNode)

Extracts a module config node from the part config.

Namespace:  KSPDev.ConfigUtils
Assembly:  KSPDev_Utils.1.1 (in KSPDev_Utils.1.1.dll) Version: 1.1 for KSP v1.6+
Syntax
C#
public static ConfigNode GetModuleNode<T>(
	ConfigNode partNode
)
Request Example View Source

Parameters

partNode
Type: (Default Namespace)ConfigNode
The part's config. It can be a top-level node or the PART node.

Type Parameters

T
The type of the module to get node for.

Return Value

Type: ConfigNode
The module node or null if not found.
See Also