Click or drag to resize

PartNodePatcherGetPatches Method

Returns patch nodes for the tag.

Namespace:  KSPDev.ConfigUtils
Assembly:  KSPDev_Utils.1.2 (in KSPDev_Utils.1.2.dll) Version: 1.2 for KSP v1.6+
Syntax
C#
public static ConfigNodePatch[] GetPatches(
	string modName
)
Request Example View Source

Parameters

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: ConfigNodePatch
The 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