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

Public Member Functions

void AddKerbalInventoryInstance (string crewName, ModuleInventoryPart inventory)
 Add a Kerbal to the scenario. More...
 
bool ContainsCrew (string crewName)
 Does the Scenario contain an entry for a kerbal? More...
 
override void OnAwake ()
 
override void OnSave (ConfigNode node)
 
void RemoveKerbalInventoryInstance (string crewName)
 Remove a Kerbal from the Scenario. More...
 
- Public Member Functions inherited from ScenarioModule
void Load (ConfigNode node)
 
virtual void OnLoad (ConfigNode node)
 
void Save (ConfigNode node)
 

Properties

static KerbalInventoryScenario Instance [get, set]
 
- Properties inherited from ScenarioModule
int ClassID [get]
 
string ClassName [get]
 
BaseEventList Events [get]
 
BaseFieldList Fields [get]
 

Additional Inherited Members

- Public Attributes inherited from ScenarioModule
ScenarioRunner runner
 
ProtoScenarioModule snapshot
 
List< GameScenestargetScenes
 

Member Function Documentation

void KerbalInventoryScenario.AddKerbalInventoryInstance ( string  crewName,
ModuleInventoryPart  inventory 
)
inline

Add a Kerbal to the scenario.

Parameters
crewName
inventory
bool KerbalInventoryScenario.ContainsCrew ( string  crewName)
inline

Does the Scenario contain an entry for a kerbal?

Parameters
crewName
Returns
override void KerbalInventoryScenario.OnAwake ( )
inlinevirtual

< in case destroy-on-scene-change fails

Reimplemented from ScenarioModule.

override void KerbalInventoryScenario.OnSave ( ConfigNode  node)
inlinevirtual

Reimplemented from ScenarioModule.

void KerbalInventoryScenario.RemoveKerbalInventoryInstance ( string  crewName)
inline

Remove a Kerbal from the Scenario.

Parameters
crewName

Property Documentation

KerbalInventoryScenario KerbalInventoryScenario.Instance
staticgetset

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