Click or drag to resize

PartNodePatcherGetPatches Method

Returns patch nodes for the tag.

Namespace:  KSPDev.ConfigUtils
Assembly:  KSPDev_Utils.2.5 (in KSPDev_Utils.2.5.dll) Version: 2.5 for KSP v1
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 returned values.
See Also