Kerbal Space Program
1.12.4
|
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... | |
This class is used to hold PreBuilt Craft definitions for contracts that use prebuilt craft.
|
inline |
Constructor
url | the craft file filesystem url |
node | the craft file confignode |
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 |
|
get |
A List of broken part names
|
get |
Does this pre built craft contain any broken parts?