C# Class BotFarm.BotFactory

Inheritance: IDisposable
Afficher le fichier Open project: jackpoz/BotFarm Class Usage Examples

Méthodes publiques

Méthode Description
BotFactory ( ) : System
CreateBot ( ) : BotGame
Dispose ( ) : void
IsBot ( Client.World.Entities.WorldObject obj ) : bool
LoadBot ( BotFarm.BotInfo info ) : BotGame
Log ( string message, LogLevel level = LogLevel.Info ) : void
RemoveBot ( BotGame bot ) : void
SetupFactory ( int botCount ) : void

Private Methods

Méthode Description
DisplayStatistics ( BotGame bot ) : void
DisplayStatistics ( string botname ) : void
LogDebug ( string message ) : void
SaveBotInfos ( ) : void

Method Details

BotFactory() public méthode

public BotFactory ( ) : System
Résultat System

CreateBot() public méthode

public CreateBot ( ) : BotGame
Résultat BotGame

Dispose() public méthode

public Dispose ( ) : void
Résultat void

IsBot() public méthode

public IsBot ( Client.World.Entities.WorldObject obj ) : bool
obj Client.World.Entities.WorldObject
Résultat bool

LoadBot() public méthode

public LoadBot ( BotFarm.BotInfo info ) : BotGame
info BotFarm.BotInfo
Résultat BotGame

Log() public méthode

public Log ( string message, LogLevel level = LogLevel.Info ) : void
message string
level LogLevel
Résultat void

RemoveBot() public méthode

public RemoveBot ( BotGame bot ) : void
bot BotGame
Résultat void

SetupFactory() public méthode

public SetupFactory ( int botCount ) : void
botCount int
Résultat void