Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Enumerations
IModuleModifiers.cs File Reference

Classes

interface  IPartCostModifier
 Implement this on a Part Module to be able to modify a part's cost More...
 
interface  IPartMassModifier
 Implement this on a Part Module to be able to modify a part's mass More...
 
interface  IPartSizeModifier
 Implement this on a Part Module to be able to modify a part's size More...
 

Enumerations

enum  ModifierChangeWhen { ModifierChangeWhen.FIXED, ModifierChangeWhen.STAGED, ModifierChangeWhen.CONSTANTLY }
 Determines when (during flight) the value returned by a modifier changes. Is the value constant? Does it swap between two values, one before the part is activated/staged, one after? Or is it always changing? More...
 
enum  ModifierStagingSituation { ModifierStagingSituation.CURRENT, ModifierStagingSituation.UNSTAGED, ModifierStagingSituation.STAGED }
 Tells the modifier what situation to report data for: Current for the current situation Staged for the situation after staging (NOTE: may not be reliable if information is only created during the staging process) Unstaged for the situation prior to staging (NOTE: May not be reliable if information is discarded during staging) More...
 

Enumeration Type Documentation

Determines when (during flight) the value returned by a modifier changes. Is the value constant? Does it swap between two values, one before the part is activated/staged, one after? Or is it always changing?

Enumerator
FIXED 
STAGED 
CONSTANTLY 

Tells the modifier what situation to report data for: Current for the current situation Staged for the situation after staging (NOTE: may not be reliable if information is only created during the staging process) Unstaged for the situation prior to staging (NOTE: May not be reliable if information is discarded during staging)

Enumerator
CURRENT 
UNSTAGED 
STAGED