C# Class RemoteTech.FlightComputer.UIPartActionMenuPatcher.WrappedEvent

Inheritance: BaseEvent
Afficher le fichier Open project: RemoteTechnologiesGroup/RemoteTech

Méthodes publiques

Méthode 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

Method Details

InvokeOriginalEvent() public méthode

public InvokeOriginalEvent ( ) : void
Résultat void

KspEventFromBaseEvent() public static méthode

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.
public static KspEventFromBaseEvent ( BaseEvent baseEvent ) : KSPEvent
baseEvent BaseEvent BaseEvent from which to obtain a KSPEvent.
Résultat KSPEvent

WrappedEvent() public méthode

public WrappedEvent ( BaseEvent originalEvent, BaseEventList baseParentList, string name, BaseEventDelegate baseActionDelegate, KSPEvent kspEvent ) : System
originalEvent BaseEvent
baseParentList BaseEventList
name string
baseActionDelegate BaseEventDelegate
kspEvent KSPEvent
Résultat System