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

Public Member Functions

string GetFlowModeDescription ()
 
string GetShortName (int length=2)
 
void Load (ConfigNode node)
 
 PartResourceDefinition ()
 
 PartResourceDefinition (string name)
 
 PartResourceDefinition (string name, Color color)
 
void Save (ConfigNode node)
 

Public Attributes

PartResourceDrainDefinition partResourceDrainDefinition = null
 

Properties

string abbreviation [get]
 
Color color [get]
 
ConfigNode Config [get]
 
float density [get]
 
string displayName [get]
 
int id [get]
 
bool isTweakable [get]
 
bool isVisible [get]
 
string name [get]
 
ResourceFlowMode resourceFlowMode [get]
 
ResourceTransferMode resourceTransferMode [get]
 
float specificHeatCapacity [get]
 
float unitCost [get]
 
float volume [get]
 

Constructor & Destructor Documentation

PartResourceDefinition.PartResourceDefinition ( )
inline
PartResourceDefinition.PartResourceDefinition ( string  name)
inline
PartResourceDefinition.PartResourceDefinition ( string  name,
Color  color 
)
inline

Member Function Documentation

string PartResourceDefinition.GetFlowModeDescription ( )
inline
string PartResourceDefinition.GetShortName ( int  length = 2)
inline
void PartResourceDefinition.Load ( ConfigNode  node)
inline
void PartResourceDefinition.Save ( ConfigNode  node)
inline

Member Data Documentation

PartResourceDrainDefinition PartResourceDefinition.partResourceDrainDefinition = null

Property Documentation

string PartResourceDefinition.abbreviation
get
Color PartResourceDefinition.color
get
ConfigNode PartResourceDefinition.Config
get
float PartResourceDefinition.density
get
string PartResourceDefinition.displayName
get
int PartResourceDefinition.id
get
bool PartResourceDefinition.isTweakable
get
bool PartResourceDefinition.isVisible
get
string PartResourceDefinition.name
get
ResourceFlowMode PartResourceDefinition.resourceFlowMode
get
ResourceTransferMode PartResourceDefinition.resourceTransferMode
get
float PartResourceDefinition.specificHeatCapacity
get
float PartResourceDefinition.unitCost
get
float PartResourceDefinition.volume
get

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