KSP API
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
Public Member Functions | Public Attributes | Properties | List of all members
AvailablePart Class Reference

An AvailablePart object contains the summary information about a single type of part which is shown in the editor. More...

Public Member Functions

 AvailablePart (string path)
 

Public Attributes

int amountAvailable
 
string author
 
PartCategories category
 Which tab this part shows up in in the editor. More...
 
int cost
 The cost of this part, as displayed in the editor. More...
 
string description
 The description of this part, as displayed in the editor? Does this include the GetInfo() of the part's PartModules? More...
 
Vector3 iconOffset
 
GameObject iconPrefab
 
Vector3 iconScale
 
string iconUrl
 
ConfigNode internalConfig
 
string manufacturer
 
string moduleInfo
 
string name
 The name of this kind of part, as specified in the "name =" line of its part.cfg. More...
 
Part partPrefab
 The object that gets cloned when you create a new instance of this part in the editor? More...
 
string partUrl
 
string resourceInfo
 
string title
 
string typeDescription
 

Properties

string partPath [get]
 

Detailed Description

An AvailablePart object contains the summary information about a single type of part which is shown in the editor.

Constructor & Destructor Documentation

AvailablePart.AvailablePart ( string  path)

Member Data Documentation

int AvailablePart.amountAvailable
string AvailablePart.author
PartCategories AvailablePart.category

Which tab this part shows up in in the editor.

int AvailablePart.cost

The cost of this part, as displayed in the editor.

string AvailablePart.description

The description of this part, as displayed in the editor? Does this include the GetInfo() of the part's PartModules?

Vector3 AvailablePart.iconOffset
GameObject AvailablePart.iconPrefab
Vector3 AvailablePart.iconScale
string AvailablePart.iconUrl
ConfigNode AvailablePart.internalConfig
string AvailablePart.manufacturer
string AvailablePart.moduleInfo
string AvailablePart.name

The name of this kind of part, as specified in the "name =" line of its part.cfg.

Part AvailablePart.partPrefab

The object that gets cloned when you create a new instance of this part in the editor?

string AvailablePart.partUrl
string AvailablePart.resourceInfo
string AvailablePart.title
string AvailablePart.typeDescription

Property Documentation

string AvailablePart.partPath
get

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