C# Класс Eryan.Singleton.BotFetcher

Singleton to keep track of all running bots
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

addBot() публичный статический Метод

Registers a bot with the singleton
public static addBot ( Bot b ) : void
b Bot The reference to the bot to be registered
Результат void

fetch() публичный статический Метод

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
Результат Bot

getBots() публичный статический Метод

Return a reference to the bot list- Not thread safe
public static getBots ( ) : List
Результат List