Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
EditorDriver Class Reference
Inheritance diagram for EditorDriver:

Public Types

enum  StartupBehaviours { StartupBehaviours.START_CLEAN, StartupBehaviours.LOAD_FROM_CACHE, StartupBehaviours.LOAD_FROM_FILE }
 

Public Member Functions

void SetInputLockFromGameParameters ()
 

Static Public Member Functions

static bool OtherLaunchSitesValid ()
 Call to check if NON-KSC launchsites are currently permitted for the current game mode. More...
 
static void StartAndLoadVessel (string fullFilePath, EditorFacility facility)
 Start the EditorFacility with the supplied craft file loaded. More...
 
static void StartEditor (EditorFacility facility)
 Start the Editor for the supplied EditorFacility More...
 
static bool ValidLaunchSite (string siteName)
 Will determine if the passed in siteName is valid for the current EditorFacility More...
 

Public Attributes

bool restartingEditor = true
 Is true if the Editor is starting up. More...
 
SPHCamera sphCamera
 
VABCamera vabCamera
 

Static Public Attributes

static EditorFacility editorFacility = EditorFacility.None
 
static EditorDriver fetch
 
static string filePathToLoad = ""
 
static StartupBehaviours StartupBehaviour = StartupBehaviours.LOAD_FROM_CACHE
 

Properties

static bool CanRun [get]
 
static string DefaultCraftSavePath [get, set]
 This is the save path that the player has set as their default save folder. More...
 
static string SelectedLaunchSiteName [get]
 The currently selected launchsite. More...
 
static List< string > ValidLaunchSites [get]
 A list of valid launchsites for the currently set EditorFacility More...
 

Member Enumeration Documentation

Enumerator
START_CLEAN 
LOAD_FROM_CACHE 
LOAD_FROM_FILE 

Member Function Documentation

static bool EditorDriver.OtherLaunchSitesValid ( )
inlinestatic

Call to check if NON-KSC launchsites are currently permitted for the current game mode.

Returns
true or false
void EditorDriver.SetInputLockFromGameParameters ( )
inline
static void EditorDriver.StartAndLoadVessel ( string  fullFilePath,
EditorFacility  facility 
)
inlinestatic

Start the EditorFacility with the supplied craft file loaded.

Parameters
fullFilePathFull path name to the craft file
facilityThe EditorFacility to start
static void EditorDriver.StartEditor ( EditorFacility  facility)
inlinestatic

Start the Editor for the supplied EditorFacility

Parameters
facilityThe EditorFacility to start
static bool EditorDriver.ValidLaunchSite ( string  siteName)
inlinestatic

Will determine if the passed in siteName is valid for the current EditorFacility

Parameters
siteNameThe Site Name
Returns
True if valid for the current EditorFacility, otherwise false

Member Data Documentation

EditorFacility EditorDriver.editorFacility = EditorFacility.None
static
EditorDriver EditorDriver.fetch
static
string EditorDriver.filePathToLoad = ""
static
bool EditorDriver.restartingEditor = true

Is true if the Editor is starting up.

SPHCamera EditorDriver.sphCamera
StartupBehaviours EditorDriver.StartupBehaviour = StartupBehaviours.LOAD_FROM_CACHE
static
VABCamera EditorDriver.vabCamera

Property Documentation

bool EditorDriver.CanRun
staticget
string EditorDriver.DefaultCraftSavePath
staticgetset

This is the save path that the player has set as their default save folder.

string EditorDriver.SelectedLaunchSiteName
staticget

The currently selected launchsite.

List<string> EditorDriver.ValidLaunchSites
staticget

A list of valid launchsites for the currently set EditorFacility


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