Click or drag to resize

ConfigNodePatchTestSectionmoduleTests Field

Part modules persisted fields to check.

Namespace:  KSPDev.ConfigUtils
Assembly:  KSPDev_Utils.2.5 (in KSPDev_Utils.2.5.dll) Version: 2.5 for KSP v1
Syntax
C#
[PersistentFieldAttribute("MODULE", isCollection = true)]
public List<PersistentConfigNode> moduleTests
Request Example View Source

Field Value

Type: ListPersistentConfigNode
Remarks
The module is found by name, set via field "name". If no index suffix is set, then the first matched module is tested regardless to how many other modules with the same name exist. The following index suffixes can be set to control the module lookup:
  • ",<number>" - requires that the named module must be found at the specific index within the part's persistent state. Index starts from 0.
  • ",+<number>" - skips the specified number of modules with the same name. Use it when multiple modules with the same name are saved.
See Also