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

Public Member Functions

void Load (ConfigNode node)
 Load this object from a configNode More...
 
 PartResourceDrainDefinition ()
 
 PartResourceDrainDefinition (bool drainable, bool showFX, int priority, float drainISP, string fxName)
 
void Save (ConfigNode node)
 Save this object to a configNode More...
 

Properties

float drainForceISP [get]
 The ISP of the drain valve as it applies force when draining More...
 
string drainFXDefinition [get]
 The name of the FX prefab for this resource More...
 
int drainFXPriority [get]
 On a scale from 1 to 10, how important are this resource's FX with respect to others. More...
 
bool isDrainable [get]
 Allows a Resource to be drainable More...
 
bool showDrainFX [get]
 Allow the use of particle FX when draining More...
 

Constructor & Destructor Documentation

PartResourceDrainDefinition.PartResourceDrainDefinition ( )
inline
PartResourceDrainDefinition.PartResourceDrainDefinition ( bool  drainable,
bool  showFX,
int  priority,
float  drainISP,
string  fxName 
)
inline

Member Function Documentation

void PartResourceDrainDefinition.Load ( ConfigNode  node)
inline

Load this object from a configNode

Parameters
nodeInput Object
void PartResourceDrainDefinition.Save ( ConfigNode  node)
inline

Save this object to a configNode

Parameters
nodeNode to save to

Property Documentation

float PartResourceDrainDefinition.drainForceISP
get

The ISP of the drain valve as it applies force when draining

string PartResourceDrainDefinition.drainFXDefinition
get

The name of the FX prefab for this resource

int PartResourceDrainDefinition.drainFXPriority
get

On a scale from 1 to 10, how important are this resource's FX with respect to others.

bool PartResourceDrainDefinition.isDrainable
get

Allows a Resource to be drainable

bool PartResourceDrainDefinition.showDrainFX
get

Allow the use of particle FX when draining


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