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
SentinelMission.SentinelScenario Class Reference
Inheritance diagram for SentinelMission.SentinelScenario:
ScenarioModule IConfigNode

Public Member Functions

bool ActiveSentinelMatchingOrbit (Orbit orbit, double deviationWindow)
 Will check all actively scanning sentinels in flight to see if they match the passed in orbit within deviationWindow. More...
 
override void OnAwake ()
 
override void OnLoad (ConfigNode node)
 
void ResetSentinels ()
 Reset all Actively tracking Sentinel Parts in flight to off. More...
 
void Start ()
 
- Public Member Functions inherited from ScenarioModule
void Load (ConfigNode node)
 
virtual void OnSave (ConfigNode node)
 
void Save (ConfigNode node)
 

Public Attributes

double NextSpawnTime = double.MinValue
 
- Public Attributes inherited from ScenarioModule
ScenarioRunner runner
 
ProtoScenarioModule snapshot
 
List< GameScenestargetScenes
 

Properties

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

Member Function Documentation

bool SentinelMission.SentinelScenario.ActiveSentinelMatchingOrbit ( Orbit  orbit,
double  deviationWindow 
)
inline

Will check all actively scanning sentinels in flight to see if they match the passed in orbit within deviationWindow.

Parameters
orbitThe orbit to check the sentinels against
deviationWindowthe allowed deviation window
Returns
true if a match is found, otherwise false.
override void SentinelMission.SentinelScenario.OnAwake ( )
inlinevirtual

< in case destroy-on-scene-change fails

Reimplemented from ScenarioModule.

override void SentinelMission.SentinelScenario.OnLoad ( ConfigNode  node)
inlinevirtual

Reimplemented from ScenarioModule.

void SentinelMission.SentinelScenario.ResetSentinels ( )
inline

Reset all Actively tracking Sentinel Parts in flight to off.

void SentinelMission.SentinelScenario.Start ( )
inline

Member Data Documentation

double SentinelMission.SentinelScenario.NextSpawnTime = double.MinValue

Property Documentation

SentinelScenario SentinelMission.SentinelScenario.Instance
staticgetset
int SentinelMission.SentinelScenario.MaxSentinelUntrackedSpaceObjects
get

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