This class stores ModuleEngines Data related to a Vessel or ShipConstruct which is used in DeltaV calculations.
More...
This class stores ModuleEngines Data related to a Vessel or ShipConstruct which is used in DeltaV calculations.
Constructor.
- Parameters
-
vesselRef | The Vessel this instance is to be added to. |
bool VesselDeltaV.DisableStockSimluation |
( |
| ) |
|
|
inline |
Disable the Stock Delta-v simulations on this instance
- Returns
bool VesselDeltaV.EnableStockSimluation |
( |
| ) |
|
|
inline |
Enable the Stock Delta-v simulations on this instance
- Returns
int VesselDeltaV.GetActivatedEngines |
( |
| ) |
|
|
inline |
int VesselDeltaV.GetHighestSeparationStage |
( |
int |
inStage | ) |
|
|
inline |
Returns the Highest separation stage index in the vessel/ship that is less than (higher up) or equal to the passed in stage number.
- Parameters
-
- Returns
Get the Total DeltaV for the passed in situation
- Parameters
-
situation | situation of the calc |
- Returns
- DeltaV in m/s
Get the StageInfo List entry that matches the passed in stage number.
- Parameters
-
stage | The stage number we want. |
- Returns
- The matching StageInfo list entry or Null.
void VesselDeltaV.SetCalcsDirty |
( |
bool |
resetPartCaches, |
|
|
bool |
syncListInstances = false |
|
) |
| |
|
inline |
Set the DeltaV calculations dirty (force a recalculation).
- Parameters
-
resetPartCaches | If true will reset Part/PartSet HashSets on all stages - generates garbage. If falise will not. |
syncListInstances | If true will re-sync DV List instances. |
bool VesselDeltaV.currentStageActivated |
True if the current stage is activated.
Contains the Engine Info and Stage Info for this Instance used for DV calculations and UI display.
int VesselDeltaV.lowestStageWithDeltaV |
Will be stage to the lowest Stage Number (highest up the staging stack) that produces any DeltaV.
Mode VesselDeltaV.ActiveMode |
|
get |
Are we running in Vessel or Ship mode
bool VesselDeltaV.DoStockSimulation |
|
get |
Set this to false on the Instance will stop Stock DV simulation for running on this instance.
bool VesselDeltaV.IsReady |
|
get |
Is this Instance Ready? (Run a DV calculation of the whole vessel at least once)
List of EngineInfo on the Vessel used in UI display.
List of StageInfo for each stage in the Vessel used for UI display purposes.
A list of all the Parts in the Ship/Vessel
List<int> VesselDeltaV.SeparationStageIndexes |
|
get |
A list of Stages where Parts Decouple
bool VesselDeltaV.SimulationRunning |
|
get |
Is there a DeltaV simulation currently running?
double VesselDeltaV.TotalBurnTime |
|
get |
The Total Simulated Burn time for the Vessel/Ship.
double VesselDeltaV.TotalDeltaVActual |
|
get |
The Total Simulated DeltaV produced by the Vessel/Ship in flight.
double VesselDeltaV.TotalDeltaVASL |
|
get |
The Total Simulated DeltaV produced by the Vessel/Ship at ASL
double VesselDeltaV.TotalDeltaVVac |
|
get |
The Total Simulated DeltaV produced by the Vessel/Ship in Vacuum
bool VesselDeltaV.UpdateFlightScene |
|
get |
True if a DeltaV simulation running in Flight
The Vessel reference if this instance is related to a Vessel. If it's related to a ShipConstruct then this reference will be null.
The documentation for this class was generated from the following file: