C# Class kOS.Safe.Encapsulation.TerminalInput

Inheritance: Structure
Afficher le fichier Open project: KSP-KOS/KOS Class Usage Examples

Méthodes publiques

Méthode Description
Clear ( ) : void
GetChar ( ) : kOS.Safe.Encapsulation.StringValue

Get the next char in the keyboard input queue. This is a blocking I/O if called from a kerboscript opcode. It will pause the program until such a time as input exists.

HasChar ( ) : BooleanValue
TerminalInput ( SafeSharedObjects shared ) : kOS.Safe.Encapsulation.Suffixes

Private Methods

Méthode Description
InitializeSuffixes ( ) : void

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

GetChar() public méthode

Get the next char in the keyboard input queue. This is a blocking I/O if called from a kerboscript opcode. It will pause the program until such a time as input exists.
public GetChar ( ) : kOS.Safe.Encapsulation.StringValue
Résultat kOS.Safe.Encapsulation.StringValue

HasChar() public méthode

public HasChar ( ) : BooleanValue
Résultat BooleanValue

TerminalInput() public méthode

public TerminalInput ( SafeSharedObjects shared ) : kOS.Safe.Encapsulation.Suffixes
shared SafeSharedObjects
Résultat kOS.Safe.Encapsulation.Suffixes