PartNodeUtilsGetModuleNodes Method (ConfigNode, String) |
Extracts all module config nodes from the part config.
Namespace:
KSPDev.ConfigUtils
Assembly:
KSPDev_Utils.2.0 (in KSPDev_Utils.2.0.dll) Version: 2.0 for KSP v1.8+
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