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

Contains the information exposed in the MEditor for a Comet instance. More...

Inheritance diagram for Expansions.Missions.Comet:
IConfigNode

Public Member Functions

 Comet ()
 
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 GetRandomCometSeed ()
 Generates a random seed for the comet. More...
 

Public Attributes

UntrackedObjectClass cometClass
 The Comet Class More...
 
string cometDisplayType
 Localized string for the current type of comet. More...
 
string cometType
 The Comet Type More...
 
string name
 The name of the Comet More...
 
uint persistentId = 0
 The Vessel persistentId for the Comet More...
 
float radius
 
uint seed
 

Detailed Description

Contains the information exposed in the MEditor for a Comet instance.

Constructor & Destructor Documentation

Expansions.Missions.Comet.Comet ( )
inline

Member Function Documentation

static uint Expansions.Missions.Comet.GetRandomCometSeed ( )
inlinestatic

Generates a random seed for the comet.

Returns
A random uint value
void Expansions.Missions.Comet.Load ( ConfigNode  node)
inline

Implements IConfigNode.

void Expansions.Missions.Comet.Randomize ( )
inline

Fills some of the asteroid values with random information

void Expansions.Missions.Comet.Save ( ConfigNode  node)
inline

Implements IConfigNode.

Member Data Documentation

UntrackedObjectClass Expansions.Missions.Comet.cometClass

The Comet Class

string Expansions.Missions.Comet.cometDisplayType

Localized string for the current type of comet.

string Expansions.Missions.Comet.cometType

The Comet Type

string Expansions.Missions.Comet.name

The name of the Comet

uint Expansions.Missions.Comet.persistentId = 0

The Vessel persistentId for the Comet

float Expansions.Missions.Comet.radius
uint Expansions.Missions.Comet.seed

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