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

ScenarioModule provides a base to write scenario-specific logic, like tutorials and missions. It handles persistence integration. More...

Inheritance diagram for ScenarioModule:
IConfigNode AlarmClockScenario CommNet.CommNetScenario Contracts.ContractSystem Expansions.Missions.Runtime.MissionSystem Expansions.Serenity.DeployedScience.Runtime.DeployedScience FinePrint.ScenarioContractEvents Funding KerbalInventoryScenario PartUpgradeManager ProgressTracking Reputation ResearchAndDevelopment ResourceScenario ROCScenario ScenarioAchievements ScenarioCustomWaypoints ScenarioDestructibles ScenarioDiscoverableObjects ScenarioUpgradeableFacilities SentinelMission.SentinelScenario Strategies.StrategySystem TutorialScenario VesselRecovery

Public Member Functions

void Load (ConfigNode node)
 
virtual void OnAwake ()
 
virtual void OnLoad (ConfigNode node)
 
virtual void OnSave (ConfigNode node)
 
void Save (ConfigNode node)
 

Public Attributes

ScenarioRunner runner
 
ProtoScenarioModule snapshot
 
List< GameScenestargetScenes
 

Properties

int ClassID [get]
 
string ClassName [get]
 
BaseEventList Events [get]
 
BaseFieldList Fields [get]
 

Detailed Description

ScenarioModule provides a base to write scenario-specific logic, like tutorials and missions. It handles persistence integration.

Member Function Documentation

void ScenarioModule.Load ( ConfigNode  node)
inline

Implements IConfigNode.

virtual void ScenarioModule.OnAwake ( )
inlinevirtual
virtual void ScenarioModule.OnLoad ( ConfigNode  node)
inlinevirtual
virtual void ScenarioModule.OnSave ( ConfigNode  node)
inlinevirtual
void ScenarioModule.Save ( ConfigNode  node)
inline

Implements IConfigNode.

Member Data Documentation

ScenarioRunner ScenarioModule.runner
ProtoScenarioModule ScenarioModule.snapshot
List<GameScenes> ScenarioModule.targetScenes

Property Documentation

int ScenarioModule.ClassID
get
string ScenarioModule.ClassName
get
BaseEventList ScenarioModule.Events
get
BaseFieldList ScenarioModule.Fields
get

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