C# 클래스 RemoteTech.FlightComputer.UIPartActionMenuPatcher.WrappedEvent

상속: BaseEvent
파일 보기 프로젝트 열기: RemoteTechnologiesGroup/RemoteTech

공개 메소드들

메소드 설명
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

메소드 상세

InvokeOriginalEvent() 공개 메소드

public InvokeOriginalEvent ( ) : void
리턴 void

KspEventFromBaseEvent() 공개 정적인 메소드

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.
리턴 KSPEvent

WrappedEvent() 공개 메소드

public WrappedEvent ( BaseEvent originalEvent, BaseEventList baseParentList, string name, BaseEventDelegate baseActionDelegate, KSPEvent kspEvent ) : System
originalEvent BaseEvent
baseParentList BaseEventList
name string
baseActionDelegate BaseEventDelegate
kspEvent KSPEvent
리턴 System