C# Class kOS.Communication.ConnectivityManager

Exibir arquivo Open project: KSP-KOS/KOS Class Usage Examples

Public Methods

Method Description
AddAutopilotHook ( Vessel vessel, FlightInputCallback hook ) : void
CreateManagerObject ( ) : IConnectivityManager
GetDelay ( Vessel vessel1, Vessel vessel2 ) : double
GetDelayToControl ( Vessel vessel ) : double
GetDelayToHome ( Vessel vessel ) : double
GetManagerType ( string name ) : Type
GetSelectedManagerType ( ) : Type
GetStringHash ( ) : HashSet
GetStringList ( ) : List
HasConnection ( Vessel vessel1, Vessel vessel2 ) : bool
HasConnectionToControl ( Vessel vessel ) : bool
HasConnectionToHome ( Vessel vessel ) : bool
RefreshInstance ( ) : void
RegisterMethod ( Type t ) : void
RemoveAutopilotHook ( Vessel vessel, FlightInputCallback hook ) : void

Method Details

AddAutopilotHook() public static method

public static AddAutopilotHook ( Vessel vessel, FlightInputCallback hook ) : void
vessel Vessel
hook FlightInputCallback
return void

CreateManagerObject() public static method

public static CreateManagerObject ( ) : IConnectivityManager
return IConnectivityManager

GetDelay() public static method

public static GetDelay ( Vessel vessel1, Vessel vessel2 ) : double
vessel1 Vessel
vessel2 Vessel
return double

GetDelayToControl() public static method

public static GetDelayToControl ( Vessel vessel ) : double
vessel Vessel
return double

GetDelayToHome() public static method

public static GetDelayToHome ( Vessel vessel ) : double
vessel Vessel
return double

GetManagerType() public static method

public static GetManagerType ( string name ) : Type
name string
return System.Type

GetSelectedManagerType() public static method

public static GetSelectedManagerType ( ) : Type
return System.Type

GetStringHash() public static method

public static GetStringHash ( ) : HashSet
return HashSet

GetStringList() public static method

public static GetStringList ( ) : List
return List

HasConnection() public static method

public static HasConnection ( Vessel vessel1, Vessel vessel2 ) : bool
vessel1 Vessel
vessel2 Vessel
return bool

HasConnectionToControl() public static method

public static HasConnectionToControl ( Vessel vessel ) : bool
vessel Vessel
return bool

HasConnectionToHome() public static method

public static HasConnectionToHome ( Vessel vessel ) : bool
vessel Vessel
return bool

RefreshInstance() public static method

public static RefreshInstance ( ) : void
return void

RegisterMethod() public static method

public static RegisterMethod ( Type t ) : void
t System.Type
return void

RemoveAutopilotHook() public static method

public static RemoveAutopilotHook ( Vessel vessel, FlightInputCallback hook ) : void
vessel Vessel
hook FlightInputCallback
return void