Kerbal Space Program
1.12.4
|
A part action More...
Public Member Functions | |
BaseEvent (BaseEventList listParent, string name, BaseEventDelegate onEvent, KSPEvent actionAttr) | |
Create a new action More... | |
BaseEvent (BaseEventList listParent, string name, BaseEventDetailsDelegate onDataEvent, KSPEvent actionAttr) | |
Create a new action More... | |
void | Invoke () |
void | Invoke (BaseEventDetails data) |
void | OnLoad (ConfigNode node) |
void | OnSave (ConfigNode node) |
override string | ToString () |
void | VariantToggleEventDisabled (bool disabled) |
Allows part variants to disable or enable events. More... | |
Public Attributes | |
bool | active |
Is this action going to recieve inputs More... | |
bool | advancedTweakable |
Does this action require Advanced Tweakables to be enabled? More... | |
bool | assigned |
Do not use More... | |
string | category |
A string category id so can display all actions of certain types More... | |
bool | externalToEVAOnly |
If available from other vessels, require that the other vessel be an EVA? More... | |
BasePAWGroup | group |
The group that this item will appear in in the PartActionWindow More... | |
bool | guiActive |
Is this action available to the GUI More... | |
bool | guiActiveEditor |
Is this action available to the GUI in editor More... | |
bool | guiActiveUncommand |
Is this action available when the vessel is not under control More... | |
bool | guiActiveUnfocused |
Is this action available while focused on another vessel? More... | |
string | guiIcon |
string name of the gui icon to load More... | |
bool | isPersistent |
Should this event's fields be serialized in craft/sfs? More... | |
BaseEventList | listParent |
bool | requireFullControl |
Does this require full, not just partial, control? More... | |
float | unfocusedRange |
if available from other vessels, what is the minimum range for activation? More... | |
bool | wasActiveBeforePartWasAdjusted |
Was this event active before the part was adjusted? More... | |
Properties | |
bool | EventIsDisabledByVariant [get] |
Has the event been disabled by a part variant? More... | |
string | guiName [get, set] |
The name of this action presented in the gui (user readable name) More... | |
string | GUIName [get] |
Returns guiName unless it is null or empty in which case returns the event name More... | |
int | id [get, set] |
The hash of the action name More... | |
string | name [get, set] |
The exposed action name More... | |
BaseEventDetailsDelegate | onDataEvent [get, set] |
The delegate method this action fires if it takes a data reference More... | |
BaseEventDelegate | onEvent [get, set] |
The delegate method this action fires More... | |
A part action
|
inline |
Create a new action
name | Exposed action name |
onEvent | Reflected method delegate |
actionAttr | Action's attribute data |
|
inline |
Create a new action
name | Exposed action name |
onEvent | Reflected method delegate |
actionAttr | Action's attribute data |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Allows part variants to disable or enable events.
bool BaseEvent.active |
Is this action going to recieve inputs
bool BaseEvent.advancedTweakable |
Does this action require Advanced Tweakables to be enabled?
bool BaseEvent.assigned |
Do not use
string BaseEvent.category |
A string category id so can display all actions of certain types
bool BaseEvent.externalToEVAOnly |
If available from other vessels, require that the other vessel be an EVA?
BasePAWGroup BaseEvent.group |
The group that this item will appear in in the PartActionWindow
bool BaseEvent.guiActive |
Is this action available to the GUI
bool BaseEvent.guiActiveEditor |
Is this action available to the GUI in editor
bool BaseEvent.guiActiveUncommand |
Is this action available when the vessel is not under control
bool BaseEvent.guiActiveUnfocused |
Is this action available while focused on another vessel?
string BaseEvent.guiIcon |
string name of the gui icon to load
bool BaseEvent.isPersistent |
Should this event's fields be serialized in craft/sfs?
BaseEventList BaseEvent.listParent |
bool BaseEvent.requireFullControl |
Does this require full, not just partial, control?
float BaseEvent.unfocusedRange |
if available from other vessels, what is the minimum range for activation?
bool BaseEvent.wasActiveBeforePartWasAdjusted |
Was this event active before the part was adjusted?
|
get |
Has the event been disabled by a part variant?
|
getset |
The name of this action presented in the gui (user readable name)
|
get |
Returns guiName unless it is null or empty in which case returns the event name
|
getset |
The hash of the action name
|
getset |
The exposed action name
|
getsetprotected |
The delegate method this action fires if it takes a data reference
|
getsetprotected |
The delegate method this action fires