Kerbal Space Program
1.12.4
|
Represents the state of the flight scene. More...
Public Member Functions | |
bool | ContainsFlightID (uint id) |
FlightState () | |
FlightState (ConfigNode rootNode, Game game) | |
void | Load () |
void | Save (ConfigNode rootNode) |
Public Attributes | |
int | activeVesselIdx |
bool | compatible |
int | file_version_major |
int | file_version_minor |
int | file_version_revision |
const int | lastCompatibleMajor = 0 |
const int | lastCompatibleMinor = 18 |
const int | lastCompatibleRev = 0 |
int | mapViewFilterState |
List< ProtoVessel > | protoVessels |
Dictionary< string, KSPParseable > | sceneStateValues |
here, we store scene and game-related values, like the universal time stamp, More... | |
double | universalTime |
Represents the state of the flight scene.
|
inline |
< store flight state
< if it's been generated by this version, it's compatible with this version :)
< Various things might want to modify FlightGlobals during this loop, so we'll loop in reverse, and reverse it again down the line.
< Never save dead vessels - it wouldn't even make sense anyway.
|
inline |
|
inline |
|
inline |
|
inline |
int FlightState.activeVesselIdx |
bool FlightState.compatible |
int FlightState.file_version_major |
int FlightState.file_version_minor |
int FlightState.file_version_revision |
const int FlightState.lastCompatibleMajor = 0 |
const int FlightState.lastCompatibleMinor = 18 |
const int FlightState.lastCompatibleRev = 0 |
int FlightState.mapViewFilterState |
List<ProtoVessel> FlightState.protoVessels |
Dictionary<string, KSPParseable> FlightState.sceneStateValues |
here, we store scene and game-related values, like the universal time stamp,
double FlightState.universalTime |