PartNodeUtilsGetModuleNodesT Method (ConfigNode) |
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<T>(
ConfigNode partNode
)
Request Example
View SourceParameters
- 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:
ConfigNodeThe array of found module nodes.
See Also