A part action
More...
|
static void | AddAction (List< BaseAction > actionList, Expansions.Serenity.ModuleRoboticController controller, Part part, bool include, BaseAction action) |
| Add an Actions to a Actions list More...
|
|
static bool | ContainsNonDefaultActions (Part p) |
|
static List< BaseAction > | CreateActionList (List< Part > parts, KSPActionGroup group, int overrideGroup, bool overrideDefault, bool include) |
|
static List< BaseAction > | CreateActionList (Part p, KSPActionGroup group, int overrideGroup, bool overrideDefault, bool include) |
|
static List< BaseAction > | CreateActionList (List< Part > parts, Expansions.Serenity.ModuleRoboticController controller, bool include) |
| Create a list of actions that are applicable to this controller More...
|
|
static List< BaseAction > | CreateActionList (Part part, Expansions.Serenity.ModuleRoboticController controller, bool include) |
| Create a list of actions that are applicable to this controller More...
|
|
static List< bool > | CreateGroupList (Part p) |
|
static List< bool > | CreateGroupList (Part p, int overrideGroup) |
|
static List< bool > | CreateGroupList (List< Part > parts) |
|
static List< bool > | CreateGroupList (List< Part > parts, int groupOverride) |
|
static void | FireAction (List< Part > parts, KSPActionGroup group, int overrideGroup, KSPActionType type) |
|
static string[] | GetActionGroups (int maxlevel) |
|
static int | GetActionGroupsLength (float facilityLevel, bool isVAB=true) |
|
static int | GetGroupIndex (KSPActionGroup group) |
|
Create a new action
- Parameters
-
name | Exposed action name |
onEvent | Reflected method delegate |
actionAttr | Action's attribute data |
Add an Actions to a Actions list
- Parameters
-
axisFieldList | list to add to |
controller | Controller to build against |
include | True to include action already in the controller, false to include ones not |
axisField | Actions to add |
- Returns
- List of Actions
bool BaseAction.ContainsNonDefaultActions |
( |
| ) |
|
|
inline |
Check if the default group is not the default action group or the override groups have any action groups
static bool BaseAction.ContainsNonDefaultActions |
( |
Part |
p | ) |
|
|
inlinestatic |
virtual void BaseAction.CopyAction |
( |
BaseAction |
action | ) |
|
|
inlinevirtual |
Copy user editable settings
static List<BaseAction> BaseAction.CreateActionList |
( |
List< Part > |
parts, |
|
|
KSPActionGroup |
group, |
|
|
int |
overrideGroup, |
|
|
bool |
overrideDefault, |
|
|
bool |
include |
|
) |
| |
|
inlinestatic |
Create a list of actions that are applicable to this controller
- Parameters
-
parts | Parts to build the list from |
controller | Controller to build against |
include | True to include actions already in the controller, false to include ones not |
- Returns
- List of Actions
Create a list of actions that are applicable to this controller
- Parameters
-
parts | Parts to build the list from |
controller | Controller to build against |
include | True to include actions already in the controller, false to include ones not |
- Returns
- List of Actions
static List<bool> BaseAction.CreateGroupList |
( |
Part |
p | ) |
|
|
inlinestatic |
static List<bool> BaseAction.CreateGroupList |
( |
Part |
p, |
|
|
int |
overrideGroup |
|
) |
| |
|
inlinestatic |
static List<bool> BaseAction.CreateGroupList |
( |
List< Part > |
parts | ) |
|
|
inlinestatic |
static List<bool> BaseAction.CreateGroupList |
( |
List< Part > |
parts, |
|
|
int |
groupOverride |
|
) |
| |
|
inlinestatic |
Get the action group bindings for the specified override group
static string [] BaseAction.GetActionGroups |
( |
int |
maxlevel | ) |
|
|
inlinestatic |
static int BaseAction.GetActionGroupsLength |
( |
float |
facilityLevel, |
|
|
bool |
isVAB = true |
|
) |
| |
|
inlinestatic |
Added to action groups here the event will fire on activate
Set to false to remove visibilty from editor and stop this action from firing
bool BaseAction.activeEditor |
Set this false to prevent action being able to fire in editor
bool BaseAction.advancedTweakable |
Does the action require advanced tweakables?
Added to action groups here the event will fire on activate
bool BaseAction.isPersistent |
Does this action get its active field serialized?
The exposed name of this action method
bool BaseAction.noLongerAssignable |
The KSPAction is no longer assignable, but can be excecuted.
bool BaseAction.requireFullControl |
Does this require full, not just partial, control?
bool BaseAction.wasActiveBeforePartWasAdjusted |
Was this action active before the part was adjusted?
int BaseAction.ActionGroupsLength |
|
staticget |
string BaseAction.guiName |
|
getset |
The name of this action presented in the gui (user readable name)
The delegate method this action fires
The documentation for this class was generated from the following file: