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
DeltaVPartExtensions Class Reference

Static Public Member Functions

static bool ContainsPart (this List< DeltaVPartInfo > list, Part part)
 Extension to search DeltaVPartInfo for matching Part reference More...
 
static DeltaVPartInfo Get (this List< DeltaVPartInfo > list, Part part)
 Extension to search DeltaVPartInfo for matching Part reference and return the DeltaVPartInfo list entry. More...
 
static List< PartPartsInStage (this List< DeltaVPartInfo > list, int stage)
 Get a List of Parts from the DeltaVPartInfo list excluding any that decouple in the stage passed in. More...
 

Member Function Documentation

static bool DeltaVPartExtensions.ContainsPart ( this List< DeltaVPartInfo list,
Part  part 
)
inlinestatic

Extension to search DeltaVPartInfo for matching Part reference

Parameters
listthis
partThe Part to match against
Returns
True if part field matches the part passed in. Otherwise False.
static DeltaVPartInfo DeltaVPartExtensions.Get ( this List< DeltaVPartInfo list,
Part  part 
)
inlinestatic

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

Parameters
listthis
partThe Part to match against
Returns
The matching DeltaVPartInfo list entry, or Null if not found.
static List<Part> DeltaVPartExtensions.PartsInStage ( this List< DeltaVPartInfo list,
int  stage 
)
inlinestatic

Get a List of Parts from the DeltaVPartInfo list excluding any that decouple in the stage passed in.

Parameters
listthis
stageThe stage
Returns
The Part List excluding those that decouple in the stage passed in.

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