C# 클래스 Eddi.EDDI

Eddi is the controller for all EDDI operations. Its job is to retain the state of the objects such as the commander, the current system, etc. and keep them up-to-date with changes that occur. It also passes on messages to responders to handle as required.
파일 보기 프로젝트 열기: cmdrmcdonald/EliteDangerousDataProvider 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
monitors List
responders List

공개 메소드들

메소드 설명
Reload ( ) : void

Reload all monitors and responders

Reload ( string name ) : void

Reload a specific monitor or responder

Start ( ) : void
Stop ( ) : void
eventHandler ( Event journalEvent ) : void
refreshProfile ( ) : void

Obtain information from the companion API and use it to refresh our own data

비공개 메소드들

메소드 설명
EDDI ( ) : EddiCompanionAppService
OnEvent ( Event @event ) : void
SetShip ( Ship ship ) : void
eventCommanderContinuedEvent ( CommanderContinuedEvent theEvent ) : bool
eventDocked ( DockedEvent theEvent ) : bool
eventEnteredNormalSpace ( EnteredNormalSpaceEvent theEvent ) : bool
eventEnteredSupercruise ( EnteredSupercruiseEvent theEvent ) : bool
eventJumped ( JumpedEvent theEvent ) : bool
eventJumping ( JumpingEvent theEvent ) : bool
eventLocation ( LocationEvent theEvent ) : bool
eventShipDeliveredEvent ( ShipDeliveredEvent theEvent ) : bool
eventShipSoldEvent ( ShipSoldEvent theEvent ) : bool
eventShipSwappedEvent ( ShipSwappedEvent theEvent ) : bool
eventUndocked ( UndockedEvent theEvent ) : bool
findMonitors ( ) : List

Find all monitors

findResponders ( ) : List

Find all responders

keepAlive ( string name, System.Action start ) : void

Keep a thread alive, restarting it as required

setCommanderTitle ( ) : void
setSystemDistanceFromHome ( StarSystem system ) : void
updateCurrentSystem ( string name ) : void

메소드 상세

Reload() 공개 메소드

Reload all monitors and responders
public Reload ( ) : void
리턴 void

Reload() 공개 메소드

Reload a specific monitor or responder
public Reload ( string name ) : void
name string
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

eventHandler() 공개 메소드

public eventHandler ( Event journalEvent ) : void
journalEvent Event
리턴 void

refreshProfile() 공개 메소드

Obtain information from the companion API and use it to refresh our own data
public refreshProfile ( ) : void
리턴 void

프로퍼티 상세

monitors 공개적으로 프로퍼티

public List monitors
리턴 List

responders 공개적으로 프로퍼티

public List responders
리턴 List