C# Class FyreVM.OutputBuffer

Collects output from the game file, on various output channels, to be delivered all at once.
Afficher le fichier Open project: ChicagoDave/Zifmia Class Usage Examples

Méthodes publiques

Méthode Description
Flush ( ) : string>.IDictionary

Packages all the output that has been stored so far, returns it, and empties the buffer.

OutputBuffer ( ) : System

Initializes a new output buffer and adds the main channel.

Write ( char c ) : void

Writes a single character to the buffer for the currently selected output channel.

Write ( string s ) : void

Writes a string to the buffer for the currently selected output channel.

Private Methods

Méthode Description
GetChannelName ( uint channelNumber ) : string

Method Details

Flush() public méthode

Packages all the output that has been stored so far, returns it, and empties the buffer.
public Flush ( ) : string>.IDictionary
Résultat string>.IDictionary

OutputBuffer() public méthode

Initializes a new output buffer and adds the main channel.
public OutputBuffer ( ) : System
Résultat System

Write() public méthode

Writes a single character to the buffer for the currently selected output channel.
public Write ( char c ) : void
c char The character to write.
Résultat void

Write() public méthode

Writes a string to the buffer for the currently selected output channel.
public Write ( string s ) : void
s string The string to write.
Résultat void