C# Class Zifmia.FyreVM.Service.EngineWrapper

Show file Open project: ChicagoDave/Zifmia

Private Properties

Property Type Description
HandleOutput void
Run void
vm_KeyWanted void
vm_LineWanted void
vm_LoadRequested void
vm_OutputReady void
vm_SaveRequested void

Public Methods

Method Description
EngineWrapper ( ) : System
EngineWrapper ( byte gameFile ) : System

Load the game and return data.

EngineWrapper ( byte gameFile, byte saveFile, string command ) : System

Assume we're running a command and have save game data.

FromHash ( ) : string>.Dictionary
FromHash ( string channelName ) : string
SendCommand ( string command ) : void

Private Methods

Method Description
HandleOutput ( string>.Dictionary package ) : void

Starting game - retrieves output (startup) - ignore output (save) Entering a command - ignore output (startup and load) - retrieves output (command) - ignore output (save)

Run ( ) : void
vm_KeyWanted ( object sender, KeyWantedEventArgs e ) : void
vm_LineWanted ( object sender, LineWantedEventArgs e ) : void
vm_LoadRequested ( object sender, SaveRestoreEventArgs e ) : void
vm_OutputReady ( object sender, OutputReadyEventArgs e ) : void
vm_SaveRequested ( object sender, SaveRestoreEventArgs e ) : void

Method Details

EngineWrapper() public method

public EngineWrapper ( ) : System
return System

EngineWrapper() public method

Load the game and return data.
public EngineWrapper ( byte gameFile ) : System
gameFile byte
return System

EngineWrapper() public method

Assume we're running a command and have save game data.
public EngineWrapper ( byte gameFile, byte saveFile, string command ) : System
gameFile byte
saveFile byte
command string
return System

FromHash() public method

public FromHash ( ) : string>.Dictionary
return string>.Dictionary

FromHash() public method

public FromHash ( string channelName ) : string
channelName string
return string

SendCommand() public method

public SendCommand ( string command ) : void
command string
return void