C# Class Eryan.Singleton.BotFetcher

Singleton to keep track of all running bots
Afficher le fichier Open project: emist/Eryan

Méthodes publiques

Méthode Description
addBot ( Bot b ) : void

Registers a bot with the singleton

fetch ( uint pid ) : Bot

Fetches a bot based on PID

getBots ( ) : List

Return a reference to the bot list- Not thread safe

Method Details

addBot() public static méthode

Registers a bot with the singleton
public static addBot ( Bot b ) : void
b Bot The reference to the bot to be registered
Résultat void

fetch() public static méthode

Fetches a bot based on PID
public static fetch ( uint pid ) : Bot
pid uint The PID of the EVE process the bot is attached to
Résultat Bot

getBots() public static méthode

Return a reference to the bot list- Not thread safe
public static getBots ( ) : List
Résultat List