C# Class BotFarm.BotGame

Inheritance: Client.AutomatedGame
Mostrar archivo Open project: jackpoz/BotFarm Class Usage Examples

Public Methods

Method Description
BotGame ( string hostname, int port, string username, string password, int realmId, int character, BotFarm.BotBehaviorSettings behavior ) : System
FindClosestNonBotPlayer ( bool>.Func additionalCheck = null ) : Client.World.Entities.WorldObject
InvalidCredentials ( ) : void
Log ( string message, LogLevel level = LogLevel.Info ) : void
LogException ( Exception ex ) : void
LogException ( string message ) : void
LogLine ( string message, LogLevel level = LogLevel.Info ) : void
MoveTo ( Client.World.Entities.Position destination ) : void
NoCharactersFound ( ) : void
Resurrect ( ) : void
Start ( ) : void

Private Methods

Method Description
HandleCorpseReclaimDelay ( Client.World.Network.InPacket packet ) : void
HandlePartyInvite ( Client.World.Network.InPacket packet ) : void
HandleResurrectRequest ( Client.World.Network.InPacket packet ) : void
HandleTradeStatus ( Client.World.Network.InPacket packet ) : void

Method Details

BotGame() public method

public BotGame ( string hostname, int port, string username, string password, int realmId, int character, BotFarm.BotBehaviorSettings behavior ) : System
hostname string
port int
username string
password string
realmId int
character int
behavior BotFarm.BotBehaviorSettings
return System

FindClosestNonBotPlayer() public method

public FindClosestNonBotPlayer ( bool>.Func additionalCheck = null ) : Client.World.Entities.WorldObject
additionalCheck bool>.Func
return Client.World.Entities.WorldObject

InvalidCredentials() public method

public InvalidCredentials ( ) : void
return void

Log() public method

public Log ( string message, LogLevel level = LogLevel.Info ) : void
message string
level LogLevel
return void

LogException() public method

public LogException ( Exception ex ) : void
ex System.Exception
return void

LogException() public method

public LogException ( string message ) : void
message string
return void

LogLine() public method

public LogLine ( string message, LogLevel level = LogLevel.Info ) : void
message string
level LogLevel
return void

MoveTo() public method

public MoveTo ( Client.World.Entities.Position destination ) : void
destination Client.World.Entities.Position
return void

NoCharactersFound() public method

public NoCharactersFound ( ) : void
return void

Resurrect() public method

public Resurrect ( ) : void
return void

Start() public method

public Start ( ) : void
return void