C# Class kOS.Safe.Encapsulation.TerminalInput

Inheritance: Structure
Mostrar archivo Open project: KSP-KOS/KOS Class Usage Examples

Public Methods

Method 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

Method Description
InitializeSuffixes ( ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

GetChar() public method

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
return kOS.Safe.Encapsulation.StringValue

HasChar() public method

public HasChar ( ) : BooleanValue
return BooleanValue

TerminalInput() public method

public TerminalInput ( SafeSharedObjects shared ) : kOS.Safe.Encapsulation.Suffixes
shared SafeSharedObjects
return kOS.Safe.Encapsulation.Suffixes