Kerbal Space Program
1.12.4
|
Public Member Functions | |
ResourceFlowMode | GetFlowMode () |
Returns the final flow mode of this propellant (if null, defauts to the resource default) More... | |
string | GetFlowModeDescription () |
PartResourceDefinition | getPartResourceDefinition () |
Returns the PartResourceDefinition for the Resource. Or Null if not found. More... | |
void | Load (ConfigNode node) |
Propellant () | |
void | Save (ConfigNode node) |
void | UpdateConnectedResources (Part p) |
Public Attributes | |
double | actualTotalAvailable |
double | currentAmount |
How much did we get. More... | |
double | currentRequirement |
How much fuel do we need. More... | |
string | displayName |
The name of the resource localized in language text More... | |
bool | drawStackGauge |
bool | hasAlternatePropellant = false |
int | id |
Used for hashing and quick lookup. More... | |
bool | ignoreForIsp = false |
do we ignore this propellant's mass when calculating Isp? More... | |
bool | ignoreForThrustCurve = false |
do we ignore this propellant when changing flow based on a thrust curve? More... | |
bool | isDeprived = false |
double | minResToLeave = 0d |
string | name |
the name of the resource we'll be using More... | |
float | ratio |
How much of the mixture does this specific resource make up. More... | |
double | totalResourceCapacity |
Properties | |
PartResourceDefinition | resourceDef [get] |
The PartResourceDefinition for this Propellant. Returns Null if not found. More... | |
double | totalResourceAvailable [get, set] |
|
inline |
|
inline |
Returns the final flow mode of this propellant (if null, defauts to the resource default)
|
inline |
|
inline |
Returns the PartResourceDefinition for the Resource. Or Null if not found.
|
inline |
|
inline |
|
inline |
double Propellant.actualTotalAvailable |
double Propellant.currentAmount |
How much did we get.
double Propellant.currentRequirement |
How much fuel do we need.
string Propellant.displayName |
The name of the resource localized in language text
bool Propellant.drawStackGauge |
bool Propellant.hasAlternatePropellant = false |
int Propellant.id |
Used for hashing and quick lookup.
bool Propellant.ignoreForIsp = false |
do we ignore this propellant's mass when calculating Isp?
bool Propellant.ignoreForThrustCurve = false |
do we ignore this propellant when changing flow based on a thrust curve?
bool Propellant.isDeprived = false |
double Propellant.minResToLeave = 0d |
string Propellant.name |
the name of the resource we'll be using
float Propellant.ratio |
How much of the mixture does this specific resource make up.
double Propellant.totalResourceCapacity |
|
get |
The PartResourceDefinition for this Propellant. Returns Null if not found.
|
getset |