Table of Contents

Class DeltaVPropellantInfo

Namespace
KSP.Sim.DeltaV
Assembly
Assembly-CSharp.dll
public class DeltaVPropellantInfo
Inheritance
DeltaVPropellantInfo
Inherited Members
Extension Methods

Constructors

DeltaVPropellantInfo(PropellantState, VesselDeltaVComponent)

public DeltaVPropellantInfo(PropellantState propellant, VesselDeltaVComponent vesselDVComponent)

Parameters

propellant PropellantState
vesselDVComponent VesselDeltaVComponent

Fields

Containers

public DictionaryValueList<DeltaVPartInfo, DeltaVPartInfo.PartStageFuelMass> Containers

Field Value

DictionaryValueList<DeltaVPartInfo, DeltaVPartInfo.PartStageFuelMass>

MassPerUnit

public double MassPerUnit

Field Value

double

MaxBurnTime

public double MaxBurnTime

Field Value

double

MaxBurnTimeASL

public double MaxBurnTimeASL

Field Value

double

MaxBurnTimeVac

public double MaxBurnTimeVac

Field Value

double

Propellant

public PropellantState Propellant

Field Value

PropellantState

Methods

AmountAvailable(int)

public double AmountAvailable(int stage)

Parameters

stage int

Returns

double

ConsumeSharedUnits(ResourceDefinitionID, double)

public void ConsumeSharedUnits(ResourceDefinitionID resourceID, double units)

Parameters

resourceID ResourceDefinitionID
units double

ConsumeUnits(double)

public bool ConsumeUnits(double units)

Parameters

units double

Returns

bool

ResourcePartsToStage(int, ref List<KeyValuePair<DeltaVPartInfo, PartStageFuelMass>>)

public void ResourcePartsToStage(int stage, ref List<KeyValuePair<DeltaVPartInfo, DeltaVPartInfo.PartStageFuelMass>> partsToStage)

Parameters

stage int
partsToStage List<KeyValuePair<DeltaVPartInfo, DeltaVPartInfo.PartStageFuelMass>>