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

Classes

class  ProtoUpgradeable
 

Public Member Functions

void CheatFacilities ()
 
override void OnAwake ()
 
void OnDestroy ()
 
override void OnLoad (ConfigNode node)
 
override void OnSave (ConfigNode node)
 
- Public Member Functions inherited from ScenarioModule
void Load (ConfigNode node)
 
void Save (ConfigNode node)
 

Static Public Member Functions

static float GetFacilityLevel (SpaceCenterFacility facility)
 
static float GetFacilityLevel (string facilityId)
 
static int GetFacilityLevelCount (SpaceCenterFacility facility)
 
static int GetFacilityLevelCount (string facilityId)
 
static string GetFacilityName (SpaceCenterFacility facility)
 
static bool IsLaunchPad (string launchLocation)
 Checks whether the launch location of a vessel was a launch pad. More...
 
static bool IsRunway (string launchLocation)
 Checks whether the launch location of a vessel was a runway. More...
 
static bool RegisterUpgradeable (UpgradeableFacility facilityRef, string id)
 
static string SlashSanitize (string instr)
 
static void UnregisterUpgradeable (UpgradeableFacility facilityRef, string id)
 

Static Public Attributes

static
ScenarioUpgradeableFacilities 
Instance
 
static Dictionary< string,
ProtoUpgradeable
protoUpgradeables = new Dictionary<string, ProtoUpgradeable>()
 

Additional Inherited Members

- Public Attributes inherited from ScenarioModule
ScenarioRunner runner
 
ProtoScenarioModule snapshot
 
List< GameScenestargetScenes
 
- Properties inherited from ScenarioModule
int ClassID [get]
 
string ClassName [get]
 
BaseEventList Events [get]
 
BaseFieldList Fields [get]
 

Member Function Documentation

void ScenarioUpgradeableFacilities.CheatFacilities ( )
inline
static float ScenarioUpgradeableFacilities.GetFacilityLevel ( SpaceCenterFacility  facility)
inlinestatic
static float ScenarioUpgradeableFacilities.GetFacilityLevel ( string  facilityId)
inlinestatic
static int ScenarioUpgradeableFacilities.GetFacilityLevelCount ( SpaceCenterFacility  facility)
inlinestatic
static int ScenarioUpgradeableFacilities.GetFacilityLevelCount ( string  facilityId)
inlinestatic
static string ScenarioUpgradeableFacilities.GetFacilityName ( SpaceCenterFacility  facility)
inlinestatic
static bool ScenarioUpgradeableFacilities.IsLaunchPad ( string  launchLocation)
inlinestatic

Checks whether the launch location of a vessel was a launch pad.

Parameters
launchLocationString representing the launch location of a vessel.
Returns
True if the launch location was a launch pad, false otherwise.
static bool ScenarioUpgradeableFacilities.IsRunway ( string  launchLocation)
inlinestatic

Checks whether the launch location of a vessel was a runway.

Parameters
launchLocationString representing the launch location of a vessel.
Returns
True if the launch location was a runway, false otherwise.
override void ScenarioUpgradeableFacilities.OnAwake ( )
inlinevirtual

Reimplemented from ScenarioModule.

void ScenarioUpgradeableFacilities.OnDestroy ( )
inline
override void ScenarioUpgradeableFacilities.OnLoad ( ConfigNode  node)
inlinevirtual

Reimplemented from ScenarioModule.

override void ScenarioUpgradeableFacilities.OnSave ( ConfigNode  node)
inlinevirtual

Reimplemented from ScenarioModule.

static bool ScenarioUpgradeableFacilities.RegisterUpgradeable ( UpgradeableFacility  facilityRef,
string  id 
)
inlinestatic
static string ScenarioUpgradeableFacilities.SlashSanitize ( string  instr)
inlinestatic
static void ScenarioUpgradeableFacilities.UnregisterUpgradeable ( UpgradeableFacility  facilityRef,
string  id 
)
inlinestatic

Member Data Documentation

ScenarioUpgradeableFacilities ScenarioUpgradeableFacilities.Instance
static
Dictionary<string, ProtoUpgradeable> ScenarioUpgradeableFacilities.protoUpgradeables = new Dictionary<string, ProtoUpgradeable>()
static

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