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

상속: AbstractCommand
파일 보기 프로젝트 열기: RemoteTechnologiesGroup/RemoteTech 1 사용 예제들

공개 메소드들

메소드 설명
Load ( ConfigNode n, FlightComputer computer ) : bool

Load the saved CancelCommand and find the element to cancel, based on the saved queue position

Pop ( FlightComputer computer ) : bool
ResetActive ( ) : CancelCommand
Save ( ConfigNode n, FlightComputer computer ) : void

Saves the queue index for this command to the persist

WithCommand ( ICommand cmd ) : CancelCommand

비공개 메소드들

메소드 설명
cancelActiveCommand ( System.Guid cmdGuid, FlightComputer computer ) : bool

Cancels the current active command.

cancelQueuedCommand ( System.Guid cmdGuid, FlightComputer computer ) : bool

Cancels a queued command by it's guid

메소드 상세

Load() 공개 메소드

Load the saved CancelCommand and find the element to cancel, based on the saved queue position
public Load ( ConfigNode n, FlightComputer computer ) : bool
n System.ConfigNode
computer FlightComputer
리턴 bool

Pop() 공개 메소드

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

ResetActive() 공개 정적인 메소드

public static ResetActive ( ) : CancelCommand
리턴 CancelCommand

Save() 공개 메소드

Saves the queue index for this command to the persist
public Save ( ConfigNode n, FlightComputer computer ) : void
n System.ConfigNode
computer FlightComputer
리턴 void

WithCommand() 공개 정적인 메소드

public static WithCommand ( ICommand cmd ) : CancelCommand
cmd ICommand
리턴 CancelCommand