Method | Description | |
---|---|---|
InvokeOriginalEvent ( ) : void | ||
KspEventFromBaseEvent ( BaseEvent baseEvent ) : KSPEvent |
Given a BaseEvent, obtain a KSPEvent. Note : This is used in UIPartActionMenuPatcher.Wrap in case there no KSPEvent in the custom attributes of the BaseEventDelegate from the button event.
|
|
WrappedEvent ( BaseEvent originalEvent, BaseEventList baseParentList, string name, BaseEventDelegate baseActionDelegate, KSPEvent kspEvent ) : System |
public static KspEventFromBaseEvent ( BaseEvent baseEvent ) : KSPEvent | ||
baseEvent | BaseEvent | BaseEvent from which to obtain a KSPEvent. |
return | KSPEvent |
public WrappedEvent ( BaseEvent originalEvent, BaseEventList baseParentList, string name, BaseEventDelegate baseActionDelegate, KSPEvent kspEvent ) : System | ||
originalEvent | BaseEvent | |
baseParentList | BaseEventList | |
name | string | |
baseActionDelegate | BaseEventDelegate | |
kspEvent | KSPEvent | |
return | System |