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

Stores Information for VesselDeltaV calculations for a ModuleEngines Propellant. More...

Public Member Functions

DeltaVPropellantInfo Copy ()
 Makes a copy of this DeltaVPropellantInfo and returns it. More...
 
 DeltaVPropellantInfo (Propellant propellant)
 
float MassBurnt ()
 Will return the Mass burnt. NB: will always return ZERO for Any Propellant in DeltaVStatics.PropellantsToIgnore. More...
 

Public Attributes

double amountAvailable
 The Amount of Propellant available to the related Engine (based on stage part sets of resources). More...
 
double amountBurnt
 The Amount of Propellant that will be burnt if the engine burns all that it can in the stage it is in. More...
 
double amountPerSecondCurrentThrottle
 This is the amount of propellant the engine will burn at a set Throttle amount and current player throttle setting (in secs). Populated for an active in flight engine Only. More...
 
double amountPerSecondMaxThrottle
 This is the amount of propellant the engine will burn at max throttle (in secs). More...
 
double amountPerSecondSetThrottle
 This is the amount of propellant the engine will burn at a set Throttle amount (in secs). Set and calculated through the Related EngineInfo.throttle value. More...
 
double currentBurnTime
 This is the amount of time (in secs) the engine can burn the propellant before it runs out at the related EngineInfo.throttle value. Populated for an active in flight engine Only. More...
 
double maxBurnTime
 This is the amount of time (in secs) the engine can burn the propellant at maximum throttle before it runs out. More...
 
double pendingDemand
 The current pending Simulation Demand Amount.(used during Delta-V calculations). More...
 
Propellant propellant
 Reference to the Propellant More...
 
double setThrottleBurnTime
 This is the amount of time (in secs) the engine can burn the propellant before it runs out at the related EngineInfo.throttle value. More...
 
float timeLeftCurrentThrottle
 The Amount of delta time to drain all of the propellant at the set throttle and current player throttle setting. (used during Delta-V calculations). Populated for an active in flight engine Only. More...
 
float timeLeftSetThrottle
 The Amount of delta time to drain all of the propellant at the set throttle. (used during Delta-V calculations). More...
 

Detailed Description

Stores Information for VesselDeltaV calculations for a ModuleEngines Propellant.

Constructor & Destructor Documentation

DeltaVPropellantInfo.DeltaVPropellantInfo ( Propellant  propellant)
inline

Member Function Documentation

DeltaVPropellantInfo DeltaVPropellantInfo.Copy ( )
inline

Makes a copy of this DeltaVPropellantInfo and returns it.

Returns
float DeltaVPropellantInfo.MassBurnt ( )
inline

Will return the Mass burnt. NB: will always return ZERO for Any Propellant in DeltaVStatics.PropellantsToIgnore.

Returns

Member Data Documentation

double DeltaVPropellantInfo.amountAvailable

The Amount of Propellant available to the related Engine (based on stage part sets of resources).

double DeltaVPropellantInfo.amountBurnt

The Amount of Propellant that will be burnt if the engine burns all that it can in the stage it is in.

double DeltaVPropellantInfo.amountPerSecondCurrentThrottle

This is the amount of propellant the engine will burn at a set Throttle amount and current player throttle setting (in secs). Populated for an active in flight engine Only.

double DeltaVPropellantInfo.amountPerSecondMaxThrottle

This is the amount of propellant the engine will burn at max throttle (in secs).

double DeltaVPropellantInfo.amountPerSecondSetThrottle

This is the amount of propellant the engine will burn at a set Throttle amount (in secs). Set and calculated through the Related EngineInfo.throttle value.

double DeltaVPropellantInfo.currentBurnTime

This is the amount of time (in secs) the engine can burn the propellant before it runs out at the related EngineInfo.throttle value. Populated for an active in flight engine Only.

double DeltaVPropellantInfo.maxBurnTime

This is the amount of time (in secs) the engine can burn the propellant at maximum throttle before it runs out.

double DeltaVPropellantInfo.pendingDemand

The current pending Simulation Demand Amount.(used during Delta-V calculations).

Propellant DeltaVPropellantInfo.propellant

Reference to the Propellant

double DeltaVPropellantInfo.setThrottleBurnTime

This is the amount of time (in secs) the engine can burn the propellant before it runs out at the related EngineInfo.throttle value.

float DeltaVPropellantInfo.timeLeftCurrentThrottle

The Amount of delta time to drain all of the propellant at the set throttle and current player throttle setting. (used during Delta-V calculations). Populated for an active in flight engine Only.

float DeltaVPropellantInfo.timeLeftSetThrottle

The Amount of delta time to drain all of the propellant at the set throttle. (used during Delta-V calculations).


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