메소드 | 설명 | |
---|---|---|
Abort ( ) : void |
Aborts the active external command and invokes the ReflectionAbortMethod on the ReflectionType.
|
|
Execute ( FlightComputer computer, FlightCtrlState ctrlState ) : bool |
Executes this command and invokes the ReflectionExecuteMethod on the ReflectionType. When this command is aborted the fallback commnd is "KillRot".
|
|
FromExternal ( |
Configures an ExternalAPICommand.
|
|
Load ( |
Loads the ExternalAPICommand from the persistent file. If the loading can't find the ReflectionType we'll notify a ScreenMessage and remove the command.
|
|
Pop ( FlightComputer computer ) : bool |
Pops the command and invokes the ReflectionPopMethod on the ReflectionType.
|
|
Save ( |
Saves the original configNode externalData passed from the api to the persistent
|
메소드 | 설명 | |
---|---|---|
ConfigNodeToObject ( |
Maps the ConfigNode object passed from the api or loading to an ExternalAPICommand.
|
|
callReflectionMember ( string reflectionMember ) : object |
Calls the rflection method.
|
|
getReflectionType ( string reflectionType ) : |
Trys to load the reflectionType. Throws an exception if we can't find the type.
|
|
prepareDataForExternalMod ( ) : |
Prepare the data to pass back to the mod.
|
public Execute ( FlightComputer computer, FlightCtrlState ctrlState ) : bool | ||
computer | FlightComputer | Current flightcomputer |
ctrlState | FlightCtrlState | Current FlightCtrlState |
리턴 | bool |
public static FromExternal ( |
||
externalData | Data passed by the Api.QueueCommandToFlightComputer | |
리턴 |
public Load ( |
||
node | Node with the command infos to load | |
computer | FlightComputer | Current flightcomputer |
리턴 | bool |
public Pop ( FlightComputer computer ) : bool | ||
computer | FlightComputer | Current flightcomputer |
리턴 | bool |
public Save ( |
||
node | Node with the command infos to save in | |
computer | FlightComputer | Current flightcomputer |
리턴 | void |