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

This class is used to hold PreBuilt Craft definitions for contracts that use prebuilt craft. More...

Public Member Functions

 PreBuiltCraftDefinition (string url, ConfigNode node)
 Constructor More...
 

Public Attributes

bool allowGround = true
 Can be placed on the ground of a CB More...
 
bool allowOrbit = false
 Can be placed in orbit of a CB More...
 
bool allowWater = false
 Can be placed in water of a CB More...
 
List< string > contractTypes
 A list of Contract Types that this craft can be used in More...
 
CraftProfileInfo craftInfo
 CraftProfileInfo for the craft. Used to validate the craft file only. More...
 
ConfigNode craftNode
 The confignode for the craft More...
 
string craftURL
 The file system url for the craft More...
 
bool usePreBuiltPositions = true
 

Properties

List< string > brokenPartNames [get]
 A List of broken part names More...
 
bool ContainsBrokenParts [get]
 Does this pre built craft contain any broken parts? More...
 

Detailed Description

This class is used to hold PreBuilt Craft definitions for contracts that use prebuilt craft.

Constructor & Destructor Documentation

FinePrint.Utilities.PreBuiltCraftDefinition.PreBuiltCraftDefinition ( string  url,
ConfigNode  node 
)
inline

Constructor

Parameters
urlthe craft file filesystem url
nodethe craft file confignode

Member Data Documentation

bool FinePrint.Utilities.PreBuiltCraftDefinition.allowGround = true

Can be placed on the ground of a CB

bool FinePrint.Utilities.PreBuiltCraftDefinition.allowOrbit = false

Can be placed in orbit of a CB

bool FinePrint.Utilities.PreBuiltCraftDefinition.allowWater = false

Can be placed in water of a CB

List<string> FinePrint.Utilities.PreBuiltCraftDefinition.contractTypes

A list of Contract Types that this craft can be used in

CraftProfileInfo FinePrint.Utilities.PreBuiltCraftDefinition.craftInfo

CraftProfileInfo for the craft. Used to validate the craft file only.

ConfigNode FinePrint.Utilities.PreBuiltCraftDefinition.craftNode

The confignode for the craft

string FinePrint.Utilities.PreBuiltCraftDefinition.craftURL

The file system url for the craft

bool FinePrint.Utilities.PreBuiltCraftDefinition.usePreBuiltPositions = true

Property Documentation

List<string> FinePrint.Utilities.PreBuiltCraftDefinition.brokenPartNames
get

A List of broken part names

bool FinePrint.Utilities.PreBuiltCraftDefinition.ContainsBrokenParts
get

Does this pre built craft contain any broken parts?


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