Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Static Public Member Functions | List of all members
Expansions.Serenity.DeployedScience.Runtime.DeployedScienceExtensions Class Reference

Static Public Member Functions

static DeployedSciencePart Get (this List< DeployedSciencePart > list, uint persistentId)
 Extension to search DeployedSciencePart for matching Part persistentId reference and return the DeployedSciencePart list entry. More...
 
static ModuleGroundSciencePart Get (this List< ModuleGroundSciencePart > list, uint persistentId)
 Extension to search ModuleGroundSciencePart for matching Part persistentId reference and return the ModuleGroundSciencePart list entry. More...
 
static DeployedSciencePart GetExperiment (this List< DeployedSciencePart > list, string experimentId)
 Extension to search DeployedSciencePart for matching ExperimentId match and return the first matching DeployedSciencePart list entry. More...
 
static DeployedScienceExperiment GetExperimentByPartID (this List< DeployedSciencePart > list, uint persistentId)
 Extension to search DeployedSciencePart List for matching part persistentId and return the matching DeployedScienceExperiment list entry. More...
 
static List< string > GetExperiments (this List< DeployedSciencePart > list)
 Extension to search DeployedSciencePart for matching ExperimentId match and return the first matching DeployedSciencePart list entry. More...
 

Member Function Documentation

static DeployedSciencePart Expansions.Serenity.DeployedScience.Runtime.DeployedScienceExtensions.Get ( this List< DeployedSciencePart list,
uint  persistentId 
)
inlinestatic

Extension to search DeployedSciencePart for matching Part persistentId reference and return the DeployedSciencePart list entry.

Parameters
listthis
persistentIdThe Part persistentId to match against
Returns
The matching DeployedSciencePart list entry, or Null if not found.
static ModuleGroundSciencePart Expansions.Serenity.DeployedScience.Runtime.DeployedScienceExtensions.Get ( this List< ModuleGroundSciencePart list,
uint  persistentId 
)
inlinestatic

Extension to search ModuleGroundSciencePart for matching Part persistentId reference and return the ModuleGroundSciencePart list entry.

Parameters
listthis
persistentIdThe Part persistentId to match against
Returns
The matching ModuleGroundSciencePart list entry, or Null if not found.
static DeployedSciencePart Expansions.Serenity.DeployedScience.Runtime.DeployedScienceExtensions.GetExperiment ( this List< DeployedSciencePart list,
string  experimentId 
)
inlinestatic

Extension to search DeployedSciencePart for matching ExperimentId match and return the first matching DeployedSciencePart list entry.

Parameters
listthis
experimentIdThe science experiment Id
Returns
The first matching DeployedSciencePart list entry, or Null if not found.
static DeployedScienceExperiment Expansions.Serenity.DeployedScience.Runtime.DeployedScienceExtensions.GetExperimentByPartID ( this List< DeployedSciencePart list,
uint  persistentId 
)
inlinestatic

Extension to search DeployedSciencePart List for matching part persistentId and return the matching DeployedScienceExperiment list entry.

Parameters
listthis
experimentIdThe science experiment Id
Returns
The first matching DeployedSciencePart list entry, or Null if not found.
static List<string> Expansions.Serenity.DeployedScience.Runtime.DeployedScienceExtensions.GetExperiments ( this List< DeployedSciencePart list)
inlinestatic

Extension to search DeployedSciencePart for matching ExperimentId match and return the first matching DeployedSciencePart list entry.

Parameters
listthis
experimentIdThe science experiment Id
Returns
The first matching DeployedSciencePart list entry, or Null if not found.

The documentation for this class was generated from the following file: