C# 클래스 Eryan.Singleton.BotFetcher

Singleton to keep track of all running bots
파일 보기 프로젝트 열기: emist/Eryan

공개 메소드들

메소드 설명
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