C# Class RemoteTech.FlightComputer.Commands.AbstractCommand

Inheritance: ICommand
Afficher le fichier Open project: RemoteTechnologiesGroup/RemoteTech

Méthodes publiques

Méthode Description
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.

Method Details

Abort() public méthode

public Abort ( ) : void
Résultat void

AbstractCommand() public méthode

Creates a new Guid for the current command
public AbstractCommand ( ) : System
Résultat System

CommandCanceled() public méthode

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

CommandEnqueued() public méthode

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
Résultat void

CompareTo() public méthode

public CompareTo ( ICommand dc ) : int
dc ICommand
Résultat int

Execute() public méthode

public Execute ( FlightComputer f, FlightCtrlState fcs ) : bool
f FlightComputer
fcs FlightCtrlState
Résultat bool

Load() public méthode

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
Résultat bool

LoadCommand() public static méthode

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
Résultat ICommand

Pop() public méthode

public Pop ( FlightComputer f ) : bool
f FlightComputer
Résultat bool

Save() public méthode

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
Résultat void