![]() |
Kerbal Space Program
1.12.4
|
Contains the information exposed in the MEditor for an Asteroid instance. More...
Public Types | |
| enum | AsteroidType { AsteroidType.Regular, AsteroidType.Glimmeroid } |
| The Types of Asteroid supported. More... | |
Public Member Functions | |
| Asteroid () | |
| void | Load (ConfigNode node) |
| void | Randomize () |
| Fills some of the asteroid values with random information More... | |
| void | Save (ConfigNode node) |
Static Public Member Functions | |
| static uint | GetAsteroidSeed () |
| Generates a random seed before saving the asteroid, override if you need a specific seed when saving. More... | |
Public Attributes | |
| UntrackedObjectClass | asteroidClass |
| The Asteroid Class More... | |
| AsteroidType | asteroidType |
| The type of the Asteroid More... | |
| string | name |
| The name of the Asteroid More... | |
| uint | persistentId = 0 |
| The Vessel persistentId for the Asteroid More... | |
| uint | seed |
| The Asteroids Seed value More... | |
Contains the information exposed in the MEditor for an Asteroid instance.
The Types of Asteroid supported.
| Enumerator | |
|---|---|
| Regular | |
| Glimmeroid | |
|
inline |
|
inlinestatic |
Generates a random seed before saving the asteroid, override if you need a specific seed when saving.
|
inline |
Implements IConfigNode.
|
inline |
Fills some of the asteroid values with random information
|
inline |
Implements IConfigNode.
| UntrackedObjectClass Expansions.Missions.Asteroid.asteroidClass |
The Asteroid Class
| AsteroidType Expansions.Missions.Asteroid.asteroidType |
The type of the Asteroid
| string Expansions.Missions.Asteroid.name |
The name of the Asteroid
| uint Expansions.Missions.Asteroid.seed |
The Asteroids Seed value
1.8.7