PartNodeUtilsGetModuleNodes Method (ConfigNode, String) |
Extracts all module config nodes 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+
Syntaxpublic static ConfigNode[] GetModuleNodes(
ConfigNode partNode,
string moduleName
)
Request Example
View SourceParameters
- partNode
- Type: (Default Namespace)ConfigNode
The part's config. It can be a top-level node or the PART node.
- moduleName
- Type: SystemString
The name of the module to extract.
Return Value
Type:
ConfigNodeThe array of found module nodes.
See Also