PartNodePatcherGetPatches Method |
Returns patch nodes for the tag.
Namespace:
KSPDev.ConfigUtils
Assembly:
KSPDev_Utils.2.0 (in KSPDev_Utils.2.0.dll) Version: 2.0 for KSP v1.8+
Syntaxpublic static ConfigNodePatch[] GetPatches(
string modName
)
Request Example
View SourceParameters
- modName
- Type: SystemString
The mod to find the nodes for. If it's null or empty, then all the nodes will be
returned.
Return Value
Type:
ConfigNodePatchThe patch nodes for the mod.
Remarks
This call can be very expensive. It's strongly encouraged to implement a lazy access approach
and cache the retunred values.
See Also