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
KSPAction Class Reference

Tells the compiler that this method is an action and allows you to set up the KSP specific stuff. ** REQUIRED BY ALL ACTION METHODS ** More...

Inheritance diagram for KSPAction:

Public Member Functions

 KSPAction (string guiName, KSPActionGroup actionGroup)
 
 KSPAction (string guiName)
 
 KSPAction (string guiName, KSPActionGroup actionGroup, bool advancedTweakable)
 
 KSPAction (string guiName, KSPActionGroup actionGroup, bool advancedTweakable, bool isPersistent)
 
 KSPAction ()
 

Public Attributes

KSPActionGroup actionGroup
 Added to action groups here the event will fire on activate More...
 
bool activeEditor
 Set this false to prevent action being able to fire in editor More...
 
bool advancedTweakable
 Does the action require advanced tweakables More...
 
string guiName
 The gui name for this action (userAction must be true) More...
 
bool isPersistent
 Does this action get its active field serialized? More...
 
bool noLongerAssignable
 The KSPAction is no longer assignable, but can be excecuted. More...
 
bool requireFullControl
 Does this require full, not just partial, control? More...
 
bool wasActiveBeforePartWasAdjusted
 Was this action active before the part was adjusted? More...
 

Detailed Description

Tells the compiler that this method is an action and allows you to set up the KSP specific stuff. ** REQUIRED BY ALL ACTION METHODS **

Constructor & Destructor Documentation

KSPAction.KSPAction ( string  guiName,
KSPActionGroup  actionGroup 
)
inline
KSPAction.KSPAction ( string  guiName)
inline
KSPAction.KSPAction ( string  guiName,
KSPActionGroup  actionGroup,
bool  advancedTweakable 
)
inline
KSPAction.KSPAction ( string  guiName,
KSPActionGroup  actionGroup,
bool  advancedTweakable,
bool  isPersistent 
)
inline
KSPAction.KSPAction ( )
inline

Member Data Documentation

KSPActionGroup KSPAction.actionGroup

Added to action groups here the event will fire on activate

bool KSPAction.activeEditor

Set this false to prevent action being able to fire in editor

bool KSPAction.advancedTweakable

Does the action require advanced tweakables

string KSPAction.guiName

The gui name for this action (userAction must be true)

bool KSPAction.isPersistent

Does this action get its active field serialized?

bool KSPAction.noLongerAssignable

The KSPAction is no longer assignable, but can be excecuted.

bool KSPAction.requireFullControl

Does this require full, not just partial, control?

bool KSPAction.wasActiveBeforePartWasAdjusted

Was this action active before the part was adjusted?


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