KSP API
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
HighLogic Class Reference

This class stores some very high-level information about the current game state. More...

Inheritance diagram for HighLogic:

Classes

class  LogEntry
 

Public Types

enum  VK {
  VK.BACK = 8, VK.TAB = 9, VK.RETURN = 13, VK.SHIFT = 16,
  VK.CONTROL = 17, VK.MENU = 18, VK.ESCAPE = 27, VK.PRIOR = 33,
  VK.NEXT = 34, VK.END = 35, VK.HOME = 36, VK.LEFT = 37,
  VK.UP = 38, VK.RIGHT = 39, VK.DOWN = 40, VK.SELECT = 41,
  VK.PRINT = 42, VK.EXECUTE = 43, VK.SNAPSHOT = 44, VK.INSERT = 45,
  VK.DELETE = 46, VK.HELP = 47, VK.LWIN = 91, VK.RWIN = 92,
  VK.NUMPAD0 = 96, VK.NUMPAD1 = 97, VK.NUMPAD2 = 98, VK.NUMPAD3 = 99,
  VK.NUMPAD4 = 100, VK.NUMPAD5 = 101, VK.NUMPAD6 = 102, VK.NUMPAD7 = 103,
  VK.NUMPAD8 = 104, VK.NUMPAD9 = 105, VK.MULTIPLY = 106, VK.ADD = 107,
  VK.SEPARATOR = 108, VK.SUBTRACT = 109, VK.DECIMAL = 110, VK.DIVIDE = 111,
  VK.F1 = 112, VK.F2 = 113, VK.F3 = 114, VK.F4 = 115,
  VK.F5 = 116, VK.F6 = 117, VK.F7 = 118, VK.F8 = 119,
  VK.F9 = 120, VK.F10 = 121, VK.F11 = 122, VK.F12 = 123,
  VK.MEDIA_NEXT_TRACK = 176, VK.MEDIA_PREV_TRACK = 177, VK.MEDIA_STOP = 178, VK.MEDIA_PLAY_PAUSE = 179,
  VK.OEM_1 = 186, VK.OEM_PLUS = 187, VK.OEM_COMMA = 188, VK.OEM_MINUS = 189,
  VK.OEM_PERIOD = 190, VK.OEM_2 = 191, VK.OEM_3 = 192
}
 

Public Member Functions

 HighLogic ()
 
void printCurrentGame ()
 

Static Public Member Functions

static void LoadScene (GameScenes scene)
 

Public Attributes

Game currentGame
 
string GameSaveFolder
 
int maxLines
 
bool showConsole
 
bool showConsoleOnError
 
GUISkin skin
 

Static Public Attributes

static bool FastEditorLoading
 
static HighLogic fetch
 Use this instance to access non-static members of this class. More...
 
static GameScenes LoadedScene
 
static bool LoadedSceneHasPlanetarium
 
static bool LoadedSceneIsEditor
 Whether the game is currently in the VAB or SPH scenes. More...
 
static bool LoadedSceneIsFlight
 Whether the game is currently in the flight scene. More...
 

Properties

static Game CurrentGame [get, set]
 
static string SaveFolder [get, set]
 
static GUISkin Skin [get]
 The GUISkin used by the game. Set GUI.skin = HighLogic.Skin at the start of your GUI function to use it yourself. More...
 

Detailed Description

This class stores some very high-level information about the current game state.

Member Enumeration Documentation

Enumerator
BACK 
TAB 
RETURN 
SHIFT 
CONTROL 
MENU 
ESCAPE 
PRIOR 
NEXT 
END 
HOME 
LEFT 
UP 
RIGHT 
DOWN 
SELECT 
PRINT 
EXECUTE 
SNAPSHOT 
INSERT 
DELETE 
HELP 
LWIN 
RWIN 
NUMPAD0 
NUMPAD1 
NUMPAD2 
NUMPAD3 
NUMPAD4 
NUMPAD5 
NUMPAD6 
NUMPAD7 
NUMPAD8 
NUMPAD9 
MULTIPLY 
ADD 
SEPARATOR 
SUBTRACT 
DECIMAL 
DIVIDE 
F1 
F2 
F3 
F4 
F5 
F6 
F7 
F8 
F9 
F10 
F11 
F12 
MEDIA_NEXT_TRACK 
MEDIA_PREV_TRACK 
MEDIA_STOP 
MEDIA_PLAY_PAUSE 
OEM_1 
OEM_PLUS 
OEM_COMMA 
OEM_MINUS 
OEM_PERIOD 
OEM_2 
OEM_3 

Constructor & Destructor Documentation

HighLogic.HighLogic ( )

Member Function Documentation

static void HighLogic.LoadScene ( GameScenes  scene)
static
void HighLogic.printCurrentGame ( )

Member Data Documentation

Game HighLogic.currentGame
bool HighLogic.FastEditorLoading
static
HighLogic HighLogic.fetch
static

Use this instance to access non-static members of this class.

string HighLogic.GameSaveFolder
GameScenes HighLogic.LoadedScene
static
bool HighLogic.LoadedSceneHasPlanetarium
static
bool HighLogic.LoadedSceneIsEditor
static

Whether the game is currently in the VAB or SPH scenes.

bool HighLogic.LoadedSceneIsFlight
static

Whether the game is currently in the flight scene.

int HighLogic.maxLines
bool HighLogic.showConsole
bool HighLogic.showConsoleOnError
GUISkin HighLogic.skin

Property Documentation

Game HighLogic.CurrentGame
staticgetset
string HighLogic.SaveFolder
staticgetset
GUISkin HighLogic.Skin
staticget

The GUISkin used by the game. Set GUI.skin = HighLogic.Skin at the start of your GUI function to use it yourself.


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