C# Class FyreVM.OutputBuffer

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

Public Methods

Method 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

Method Description
GetChannelName ( uint channelNumber ) : string

Method Details

Flush() public method

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

OutputBuffer() public method

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

Write() public method

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

Write() public method

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