Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
FlightState Class Reference

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< ProtoVesselprotoVessels
 
Dictionary< string, KSPParseablesceneStateValues
 here, we store scene and game-related values, like the universal time stamp, More...
 
double universalTime
 

Detailed Description

Represents the state of the flight scene.

Constructor & Destructor Documentation

FlightState.FlightState ( )
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.

FlightState.FlightState ( ConfigNode  rootNode,
Game  game 
)
inline

Member Function Documentation

bool FlightState.ContainsFlightID ( uint  id)
inline
void FlightState.Load ( )
inline
void FlightState.Save ( ConfigNode  rootNode)
inline

Member Data Documentation

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

The documentation for this class was generated from the following file: