Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
FinePrint.Utilities.PreBuiltCraft Class Reference

This class is used to store a list of PreBuiltCraftDefinition's. More...

Public Member Functions

PreBuiltCraftDefinition CraftByURL (string url)
 Find a Prebuilt craft definition by url. More...
 
List< PreBuiltCraftDefinitionCraftForContractType (string contractType)
 Get a list of prebuilt craft definitions for Contract Type. More...
 
 PreBuiltCraft (List< PreBuiltCraftDefinition > preBuiltDefinitions)
 Construction More...
 

Detailed Description

This class is used to store a list of PreBuiltCraftDefinition's.

Constructor & Destructor Documentation

FinePrint.Utilities.PreBuiltCraft.PreBuiltCraft ( List< PreBuiltCraftDefinition preBuiltDefinitions)
inline

Construction

Parameters
preBuiltDefinitionsA list of PreBuiltCraftDefinition's to store in this structure.

Member Function Documentation

PreBuiltCraftDefinition FinePrint.Utilities.PreBuiltCraft.CraftByURL ( string  url)
inline

Find a Prebuilt craft definition by url.

Parameters
urlthe url defined in the prebuilt craft node
Returns
the craft definition or null if no match found
List<PreBuiltCraftDefinition> FinePrint.Utilities.PreBuiltCraft.CraftForContractType ( string  contractType)
inline

Get a list of prebuilt craft definitions for Contract Type.

Parameters
contractTypethe name of the contract
Returns
A list of matching craft definitions

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