Table of Contents

Class PartComponentModule_Engine

Namespace
KSP.Sim.impl
Assembly
Assembly-CSharp.dll
public class PartComponentModule_Engine : PartComponentModule
Inheritance
PartComponentModule_Engine
Inherited Members
Extension Methods

Constructors

PartComponentModule_Engine()

public PartComponentModule_Engine()

Fields

dataEngine

protected Data_Engine dataEngine

Field Value

Data_Engine

Properties

CurrentPropellantState

public PropellantState CurrentPropellantState { get; }

Property Value

PropellantState

CurrentThrottle

public float CurrentThrottle { get; }

Property Value

float

EngineIgnited

public bool EngineIgnited { get; }

Property Value

bool

IsInitialized

public bool IsInitialized { get; }

Property Value

bool

IsPropellantStarved

public bool IsPropellantStarved { get; }

Property Value

bool

PartBehaviourModuleType

public override Type PartBehaviourModuleType { get; }

Property Value

Type

RequestedThrottle

public float RequestedThrottle { get; }

Property Value

float

currentEngineModeData

public Data_Engine.EngineMode currentEngineModeData { get; }

Property Value

Data_Engine.EngineMode

normalizedOutput

public float normalizedOutput { get; }

Property Value

float

Methods

CalculatePropellantReqs()

protected virtual void CalculatePropellantReqs()

CalculateThrust()

protected float CalculateThrust()

Returns

float

CheckDeprived()

protected virtual bool CheckDeprived()

Returns

bool

Flameout(string)

public virtual void Flameout(string message)

Parameters

message string

GetContainedResourceData()

public List<ContainedResourceData> GetContainedResourceData()

Returns

List<ContainedResourceData>

GetInfinitePropellant()

protected bool GetInfinitePropellant()

Returns

bool

GetThrottlingMult(float, float)

protected float GetThrottlingMult(float atm, float throttle)

Parameters

atm float
throttle float

Returns

float

IsStaged()

public bool IsStaged()

Returns

bool

OnShutdown()

public override void OnShutdown()

OnStart(double)

public override void OnStart(double universalTime)

Parameters

universalTime double

OnUpdate(double, double)

public override void OnUpdate(double universalTime, double deltaUniversalTime)

Parameters

universalTime double
deltaUniversalTime double

RequestPropellant(double)

public double RequestPropellant(double mass)

Parameters

mass double

Returns

double

RequiredPropellantMass(float, out float)

protected double RequiredPropellantMass(float throttleAmount, out float resultingThrust)

Parameters

throttleAmount float
resultingThrust float

Returns

double

ResetRate()

protected void ResetRate()

SetConsumptionRate(PropellantState, double)

protected virtual void SetConsumptionRate(PropellantState p, double rate)

Parameters

p PropellantState
rate double

Shutdown()

public virtual void Shutdown()

UnFlameout(bool)

public virtual void UnFlameout(bool showFX = true)

Parameters

showFX bool