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

Class that Stores EVA situations that are loaded from EVASITUATION nodes within the MODULE node. More...

Inheritance diagram for ModuleScienceExperiment.EVASituation:
IConfigNode

Public Member Functions

void Load (ConfigNode node)
 
void Save (ConfigNode node)
 

Public Attributes

float dialogDelay = 0f
 Set this to a value (in seconds) to delay the science results dialog from being displayed. More...
 
string KerbalAction
 This is the Kerbal Action that will be performed if the situation is valid when the experiment is performed. More...
 
float MaxTemp = Single.MaxValue
 This is the maximum temperature for this situation. The temperature must be less than this value to be a valid situation. By default if this is left then there is no maximum temperature check performed. More...
 
float MinTemp = Single.MinValue
 This is the minimum temperature for this situation. The temperature must be greater than this value to be a valid situation. By default if this is left then there is no minimum temperature check performed. More...
 
int priority = 1
 This is the priority for the Situation (when there are more than one, the lower the number the higher it's priority). More...
 
bool RequiresAtmosphere = false
 Set to true if this situation Requires an Atmosphere. False means can run in Atmosphere OR no atmosphere. More...
 
bool RequiresNoAtmosphere = false
 Set to true if this situation Requires NO atmosphere. False means can run in Atmosphere OR no atmosphere. More...
 
List< string > ResultString
 This is a list of results strings that the experiment will select randomly from to append to the science definition results string to customize the science results. More...
 
uint situationMask = 0u
 This is the situation Mask (bitmask) to test the EVA situation against. This is the same as the regular science situation bitmask. More...
 

Detailed Description

Class that Stores EVA situations that are loaded from EVASITUATION nodes within the MODULE node.

Member Function Documentation

void ModuleScienceExperiment.EVASituation.Load ( ConfigNode  node)
inline

Implements IConfigNode.

void ModuleScienceExperiment.EVASituation.Save ( ConfigNode  node)
inline

Implements IConfigNode.

Member Data Documentation

float ModuleScienceExperiment.EVASituation.dialogDelay = 0f

Set this to a value (in seconds) to delay the science results dialog from being displayed.

string ModuleScienceExperiment.EVASituation.KerbalAction

This is the Kerbal Action that will be performed if the situation is valid when the experiment is performed.

float ModuleScienceExperiment.EVASituation.MaxTemp = Single.MaxValue

This is the maximum temperature for this situation. The temperature must be less than this value to be a valid situation. By default if this is left then there is no maximum temperature check performed.

float ModuleScienceExperiment.EVASituation.MinTemp = Single.MinValue

This is the minimum temperature for this situation. The temperature must be greater than this value to be a valid situation. By default if this is left then there is no minimum temperature check performed.

int ModuleScienceExperiment.EVASituation.priority = 1

This is the priority for the Situation (when there are more than one, the lower the number the higher it's priority).

bool ModuleScienceExperiment.EVASituation.RequiresAtmosphere = false

Set to true if this situation Requires an Atmosphere. False means can run in Atmosphere OR no atmosphere.

bool ModuleScienceExperiment.EVASituation.RequiresNoAtmosphere = false

Set to true if this situation Requires NO atmosphere. False means can run in Atmosphere OR no atmosphere.

List<string> ModuleScienceExperiment.EVASituation.ResultString

This is a list of results strings that the experiment will select randomly from to append to the science definition results string to customize the science results.

uint ModuleScienceExperiment.EVASituation.situationMask = 0u

This is the situation Mask (bitmask) to test the EVA situation against. This is the same as the regular science situation bitmask.


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