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

Public Member Functions

double GetFlux ()
 Flux in kilowatts that can be removed when OnOverheat is called. I.e. if the module can throttle between 0 and 100%, then you report 100% of the flux you're creating (and applying via AddInternalFlux or whatever) here. More...
 
void OnOverheat (double amout=1d)
 Called when a vessel under analytic thermo overheats, but it has enough removable flux (via these modules) to not overheat. More...
 

Member Function Documentation

double IAnalyticOverheatModule.GetFlux ( )

Flux in kilowatts that can be removed when OnOverheat is called. I.e. if the module can throttle between 0 and 100%, then you report 100% of the flux you're creating (and applying via AddInternalFlux or whatever) here.

Returns
void IAnalyticOverheatModule.OnOverheat ( double  amout = 1d)

Called when a vessel under analytic thermo overheats, but it has enough removable flux (via these modules) to not overheat.

Parameters
amoutThe amount of flux (as portion of GetFlux() ) that must be removed.

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