C# Class SteamBot.BotManager.RunningBot

Nested class that holds the information about a spawned bot process.
Mostrar archivo Open project: natoshi/steamdogebot

Public Properties

Property Type Description
IsRunning bool

Public Methods

Method Description
RunningBot ( bool useProcesses, int index, Configuration config ) : System

Creates a new instance of RunningBot class.

Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
SpawnBotThread ( Configuration botConfig ) : void
SpawnSteamBotProcess ( int botIndex ) : void

Method Details

RunningBot() public method

Creates a new instance of RunningBot class.
public RunningBot ( bool useProcesses, int index, Configuration config ) : System
useProcesses bool /// true indicates that this bot is ran in a thread; /// false indicates it is ran in a separate process. ///
index int The index of the bot in the configuration.
config Configuration The bots configuration object.
return System

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Property Details

IsRunning public_oe property

public bool IsRunning
return bool