Kerbal Space Program
1.12.4
|
Stores Part Info for Delta V calculations. More...
Classes | |
class | PartStageFuelMass |
Public Member Functions | |
void | CalculateMassValues () |
Calculate and store the Mass values for the part. Fuel mass is take from SimulationResources More... | |
void | CalculateStagingValues () |
Calculate the Staging fields for the part More... | |
DeltaVPartInfo (Part part, VesselDeltaV vesselDeltaV) | |
float | GetCurrentFuelMass () |
Get the current Fuel Mass in the part (SimulationResources). More... | |
float | GetStageEndMass (int stage) |
Get the ending Fuel Mass for the Part at the start of a stage. If the stage info is not available will return the current fuel Mass. More... | |
float | GetStageStartMass (int stage) |
Get the starting Fuel Mass for the Part at the start of a stage. If the stage info is not available will return the current fuel Mass. More... | |
bool | JettisonInStage (int stage) |
Does this part Jettison any mass in the passed in stage? More... | |
void | ResetStartSimulationResources (int stage) |
Resets the Simulated Resources on the Part to the currently start of stage stored set or from the Parts real resource set if we don't have one. More... | |
Public Attributes | |
int | activationStage |
The Stage the part is set to activate in. More... | |
bool | decoupleBeforeBurn |
Whether the Part decouples in the stage before any engine burns. More... | |
int | decoupleStage |
The Stage the part is set to decouple from the vessel/ship. More... | |
float | dryMass |
The Dry Mass of the part More... | |
List< ModuleEngines > | engines |
Reference to any ModuleEngines if isEngine is true More... | |
float | fuelMass |
The fuel mass of the part More... | |
bool | isDecoupler |
Is the part a decoupler More... | |
bool | isDockingPort |
Is the part a docking port More... | |
bool | isEngine |
Is the part an engine More... | |
bool | isFairing |
Is the part a fairing More... | |
bool | isGenerator |
Is the Part a Generator More... | |
bool | isIntake |
Is the part an Air Intake More... | |
bool | isJettison |
Will the part jettison any mass More... | |
bool | isSolarPanel |
Is the part a Solar panel. More... | |
bool | isStageSeparator |
Does the part implement IStageSeparator PartModule? More... | |
float | jettisonMass |
The mass of any components that are jettisoned by the part More... | |
Part | jettisonPart |
Will be Set to the Part that will be jettisoned (and all it's children) for decoupler parts. Otherwise is Null. More... | |
ModuleAnchoredDecoupler | moduleAnchoredDecoupler |
Reference to any ModuleAnchoredDecoupler if isDecoupler is true More... | |
ModuleDecouple | moduleDecoupler |
Reference to any ModuleDecouple if isDecoupler is true More... | |
ModuleDeployableSolarPanel | moduleDeployableSolarPanel |
Reference to any ModuleDeployableSolarPanel if isSolarPanel is true More... | |
ModuleDockingNode | moduleDockingNode |
Reference to any ModuleDockingNode if isDockingPort is true More... | |
ModuleGenerator | moduleGenerator |
Reference to any ModuleGenerator if isGenerator is true More... | |
ModuleResourceIntake | moduleResourceIntake |
Reference to any ModuleResourceIntake if isIntake is true More... | |
IStageSeparator | moduleStageSeparator |
Referency to any IStageSeparator if isStageSeparator is true More... | |
Part | part |
The Part More... | |
DictionaryValueList< int, PartStageFuelMass > | stageFuelMass |
Stores a start and end fuel mass for the part keyed by Stage. More... | |
VesselDeltaV | vesselDeltaV |
Reference to the VesselDeltaV object that this data is related to. More... | |
Stores Part Info for Delta V calculations.
|
inline |
|
inline |
Calculate and store the Mass values for the part. Fuel mass is take from SimulationResources
|
inline |
Calculate the Staging fields for the part
|
inline |
Get the current Fuel Mass in the part (SimulationResources).
|
inline |
Get the ending Fuel Mass for the Part at the start of a stage. If the stage info is not available will return the current fuel Mass.
stage |
|
inline |
Get the starting Fuel Mass for the Part at the start of a stage. If the stage info is not available will return the current fuel Mass.
stage |
|
inline |
Does this part Jettison any mass in the passed in stage?
stage |
|
inline |
Resets the Simulated Resources on the Part to the currently start of stage stored set or from the Parts real resource set if we don't have one.
stage | The stage |
int DeltaVPartInfo.activationStage |
The Stage the part is set to activate in.
bool DeltaVPartInfo.decoupleBeforeBurn |
Whether the Part decouples in the stage before any engine burns.
int DeltaVPartInfo.decoupleStage |
The Stage the part is set to decouple from the vessel/ship.
float DeltaVPartInfo.dryMass |
The Dry Mass of the part
List<ModuleEngines> DeltaVPartInfo.engines |
Reference to any ModuleEngines if isEngine is true
float DeltaVPartInfo.fuelMass |
The fuel mass of the part
bool DeltaVPartInfo.isDecoupler |
Is the part a decoupler
bool DeltaVPartInfo.isDockingPort |
Is the part a docking port
bool DeltaVPartInfo.isEngine |
Is the part an engine
bool DeltaVPartInfo.isFairing |
Is the part a fairing
bool DeltaVPartInfo.isGenerator |
Is the Part a Generator
bool DeltaVPartInfo.isIntake |
Is the part an Air Intake
bool DeltaVPartInfo.isJettison |
Will the part jettison any mass
bool DeltaVPartInfo.isSolarPanel |
Is the part a Solar panel.
bool DeltaVPartInfo.isStageSeparator |
Does the part implement IStageSeparator PartModule?
float DeltaVPartInfo.jettisonMass |
The mass of any components that are jettisoned by the part
Part DeltaVPartInfo.jettisonPart |
Will be Set to the Part that will be jettisoned (and all it's children) for decoupler parts. Otherwise is Null.
ModuleAnchoredDecoupler DeltaVPartInfo.moduleAnchoredDecoupler |
Reference to any ModuleAnchoredDecoupler if isDecoupler is true
ModuleDecouple DeltaVPartInfo.moduleDecoupler |
Reference to any ModuleDecouple if isDecoupler is true
ModuleDeployableSolarPanel DeltaVPartInfo.moduleDeployableSolarPanel |
Reference to any ModuleDeployableSolarPanel if isSolarPanel is true
ModuleDockingNode DeltaVPartInfo.moduleDockingNode |
Reference to any ModuleDockingNode if isDockingPort is true
ModuleGenerator DeltaVPartInfo.moduleGenerator |
Reference to any ModuleGenerator if isGenerator is true
ModuleResourceIntake DeltaVPartInfo.moduleResourceIntake |
Reference to any ModuleResourceIntake if isIntake is true
IStageSeparator DeltaVPartInfo.moduleStageSeparator |
Referency to any IStageSeparator if isStageSeparator is true
DictionaryValueList<int, PartStageFuelMass> DeltaVPartInfo.stageFuelMass |
Stores a start and end fuel mass for the part keyed by Stage.
VesselDeltaV DeltaVPartInfo.vesselDeltaV |
Reference to the VesselDeltaV object that this data is related to.