C# 클래스 RemoteTech.FlightComputer.Commands.AbstractCommand

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

공개 메소드들

메소드 설명
Abort ( ) : void
AbstractCommand ( ) : System

Creates a new Guid for the current command

CommandCanceled ( FlightComputer computer ) : void

This method will be triggerd after deleting a command from the list.

CommandEnqueued ( FlightComputer computer ) : void

This method will be triggerd right after the command was enqueued to the flight computer list.

CompareTo ( ICommand dc ) : int
Execute ( FlightComputer f, FlightCtrlState fcs ) : bool
Load ( ConfigNode n, FlightComputer fc ) : bool

Load the basic informations for every command.

LoadCommand ( ConfigNode n, FlightComputer fc ) : ICommand

Load and creates a command after saving a command. Returns null if no object has been loaded.

Pop ( FlightComputer f ) : bool
Save ( ConfigNode node, FlightComputer computer ) : void

Save the basic informations for every command.

메소드 상세

Abort() 공개 메소드

public Abort ( ) : void
리턴 void

AbstractCommand() 공개 메소드

Creates a new Guid for the current command
public AbstractCommand ( ) : System
리턴 System

CommandCanceled() 공개 메소드

This method will be triggerd after deleting a command from the list.
public CommandCanceled ( FlightComputer computer ) : void
computer FlightComputer Current flight computer
리턴 void

CommandEnqueued() 공개 메소드

This method will be triggerd right after the command was enqueued to the flight computer list.
public CommandEnqueued ( FlightComputer computer ) : void
computer FlightComputer Current flightcomputer
리턴 void

CompareTo() 공개 메소드

public CompareTo ( ICommand dc ) : int
dc ICommand
리턴 int

Execute() 공개 메소드

public Execute ( FlightComputer f, FlightCtrlState fcs ) : bool
f FlightComputer
fcs FlightCtrlState
리턴 bool

Load() 공개 메소드

Load the basic informations for every command.
public Load ( ConfigNode n, FlightComputer fc ) : bool
n System.ConfigNode Node with the command infos
fc FlightComputer Current flightcomputer
리턴 bool

LoadCommand() 공개 정적인 메소드

Load and creates a command after saving a command. Returns null if no object has been loaded.
public static LoadCommand ( ConfigNode n, FlightComputer fc ) : ICommand
n System.ConfigNode Node with the command infos
fc FlightComputer Current flightcomputer
리턴 ICommand

Pop() 공개 메소드

public Pop ( FlightComputer f ) : bool
f FlightComputer
리턴 bool

Save() 공개 메소드

Save the basic informations for every command.
public Save ( ConfigNode node, FlightComputer computer ) : void
node System.ConfigNode Node to save in
computer FlightComputer Current flightcomputer
리턴 void