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

Public Member Functions

void DebugSpawnProbability ()
 
override void OnAwake ()
 
override void OnLoad (ConfigNode node)
 
override void OnSave (ConfigNode node)
 
void SpawnAsteroid ()
 
void SpawnComet ()
 Create the comet discovered from the HomeBody More...
 
void SpawnDresAsteroid (int asteroidSeed)
 
void SpawnHomeAsteroid (int asteroidSeed)
 
void SpawnLastAsteroid ()
 
void Start ()
 
- Public Member Functions inherited from ScenarioModule
void Load (ConfigNode node)
 
void Save (ConfigNode node)
 

Public Attributes

List< uint > discoveredObjectIDs
 Objects discovered by the home body More...
 
int lastSeed
 
UntrackedObjectClass maxAsteroidClass = UntrackedObjectClass.E
 Maximum Untracked Object Class of the Asteroid More...
 
float maxUntrackedLifetime = 20f
 
UntrackedObjectClass minAsteroidClass = UntrackedObjectClass.A
 Minimum Untracked Object Class of the Asteroid More...
 
float minUntrackedLifetime = 1f
 
FloatCurve sizeCurve
 
int spawnGroupMaxLimit = 10
 
int spawnGroupMinLimit = 3
 
float spawnInterval = 15f
 
int spawnOddsAgainst = 2
 
List< uint > untrackedObjectIDs
 objects discovered by the homebody that are untracked More...
 
- Public Attributes inherited from ScenarioModule
ScenarioRunner runner
 
ProtoScenarioModule snapshot
 
List< GameScenestargetScenes
 

Properties

static ScenarioDiscoverableObjects Instance [get, set]
 The singleton instance of DeployedScience More...
 
- Properties inherited from ScenarioModule
int ClassID [get]
 
string ClassName [get]
 
BaseEventList Events [get]
 
BaseFieldList Fields [get]
 

Member Function Documentation

void ScenarioDiscoverableObjects.DebugSpawnProbability ( )
inline
override void ScenarioDiscoverableObjects.OnAwake ( )
inlinevirtual

Reimplemented from ScenarioModule.

override void ScenarioDiscoverableObjects.OnLoad ( ConfigNode  node)
inlinevirtual

Reimplemented from ScenarioModule.

override void ScenarioDiscoverableObjects.OnSave ( ConfigNode  node)
inlinevirtual

Reimplemented from ScenarioModule.

void ScenarioDiscoverableObjects.SpawnAsteroid ( )
inline
void ScenarioDiscoverableObjects.SpawnComet ( )
inline

Create the comet discovered from the HomeBody

void ScenarioDiscoverableObjects.SpawnDresAsteroid ( int  asteroidSeed)
inline
void ScenarioDiscoverableObjects.SpawnHomeAsteroid ( int  asteroidSeed)
inline
void ScenarioDiscoverableObjects.SpawnLastAsteroid ( )
inline
void ScenarioDiscoverableObjects.Start ( )
inline

Member Data Documentation

List<uint> ScenarioDiscoverableObjects.discoveredObjectIDs

Objects discovered by the home body

int ScenarioDiscoverableObjects.lastSeed
UntrackedObjectClass ScenarioDiscoverableObjects.maxAsteroidClass = UntrackedObjectClass.E

Maximum Untracked Object Class of the Asteroid

float ScenarioDiscoverableObjects.maxUntrackedLifetime = 20f
UntrackedObjectClass ScenarioDiscoverableObjects.minAsteroidClass = UntrackedObjectClass.A

Minimum Untracked Object Class of the Asteroid

float ScenarioDiscoverableObjects.minUntrackedLifetime = 1f
FloatCurve ScenarioDiscoverableObjects.sizeCurve
int ScenarioDiscoverableObjects.spawnGroupMaxLimit = 10
int ScenarioDiscoverableObjects.spawnGroupMinLimit = 3
float ScenarioDiscoverableObjects.spawnInterval = 15f
int ScenarioDiscoverableObjects.spawnOddsAgainst = 2
List<uint> ScenarioDiscoverableObjects.untrackedObjectIDs

objects discovered by the homebody that are untracked

Property Documentation

ScenarioDiscoverableObjects ScenarioDiscoverableObjects.Instance
staticgetset

The singleton instance of DeployedScience


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