Class ModuleActionGroupAction
  
  
  
    - Namespace
 - KSP.Sim.Definitions
 
  - Assembly
 - Assembly-CSharp.dll
 
   
  
  
  
    public class ModuleActionGroupAction : DelegateAction, IModuleAction, IAction, IModuleDataContext
   
  
    - Inheritance
 
    - 
      
      
      
ModuleActionGroupAction
     
  
  
    - Implements
 
    - 
      
      
      
    
 
  
  
    - Inherited Members
 
    - 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
  
 
  
    - Extension Methods
 
    - 
  
  
  
  
  
  
 
  Constructors
  
  
  ModuleActionGroupAction(Action, KSPActionGroup)
  
  
  
  
  
    public ModuleActionGroupAction(Action action, KSPActionGroup defaultActionGroup)
   
  Parameters
  
    action Action 
    
    defaultActionGroup KSPActionGroup 
    
  
  
  
  ModuleActionGroupAction(Action<bool>, KSPActionGroup, ModuleProperty<bool>)
  
  
  
  
  
    public ModuleActionGroupAction(Action<bool> action, KSPActionGroup defaultActionGroup, ModuleProperty<bool> stateProperty = null)
   
  Parameters
  
    action Action<bool> 
    
    defaultActionGroup KSPActionGroup 
    
    stateProperty ModuleProperty<bool> 
    
  
  Properties
  
  
  ActionGroup
  
  
  
  
  
    public KSPActionGroup ActionGroup { get; }
   
  Property Value
  
    - KSPActionGroup
 
    
  
  
  
  ActionState
  
  
  
  
  
    public bool ActionState { get; set; }
   
  Property Value
  
    - bool
 
    
  
  
  
  ActionType
  
  
  
  
  
    public KSPActionType ActionType { get; set; }
   
  Property Value
  
    - KSPActionType
 
    
  
  
  
  ContextKey
  
  
  
  
  
    public string ContextKey { get; }
   
  Property Value
  
    - string
 
    
  
  
  
  DefaultActionGroup
  
  
  
  
  
    public KSPActionGroup DefaultActionGroup { get; set; }
   
  Property Value
  
    - KSPActionGroup
 
    
  
  
  
  DisplayName
  
  
  
  
  
    public string DisplayName { get; set; }
   
  Property Value
  
    - string
 
    
  
  
  
  IsDefault
  
  
  
  
  
    public bool IsDefault { get; }
   
  Property Value
  
    - bool
 
    
  
  
  
  StateProperty
  
  
  
  
  
    public ModuleProperty<bool> StateProperty { get; set; }
   
  Property Value
  
    - ModuleProperty<bool>
 
    
  
  Methods
  
  
  GetContextKey()
  
  
  
  
  
    public string GetContextKey()
   
  Returns
  
    - string
 
    
  
  
  
  SetActionGroupMapping(KSPActionGroup, bool)
  
  
  
  
  
    public void SetActionGroupMapping(KSPActionGroup newValue, bool fireEvent = true)
   
  Parameters
  
    newValue KSPActionGroup 
    
    fireEvent bool 
    
  
  Events
  
  OnActionStateChanged
  
  
  
  
  
    public event ModuleActionGroupAction.ActionChanged OnActionStateChanged
   
  Event Type
  
    - ModuleActionGroupAction.ActionChanged