C# Class EasyFarm.Classes.Player

显示文件 Open project: EasyFarm/EasyFarm Class Usage Examples

Public Methods

Method Description
Disengage ( IMemoryAPI fface ) : void

Stop the character from fight the target

Engage ( IMemoryAPI fface ) : void

Switches the player to attack mode on the current unit

Rest ( IMemoryAPI fface ) : void

Makes the character rest

SetTarget ( IMemoryAPI fface, Unit target ) : void
Stand ( IMemoryAPI fface ) : void

Makes the character stop resting

StopRunning ( IMemoryAPI fface ) : void

Private Methods

Method Description
SetTargetByTabbing ( IMemoryAPI fface, Unit target ) : void
SetTargetUsingMemory ( IMemoryAPI fface, Unit target ) : void

Method Details

Disengage() public static method

Stop the character from fight the target
public static Disengage ( IMemoryAPI fface ) : void
fface IMemoryAPI
return void

Engage() public static method

Switches the player to attack mode on the current unit
public static Engage ( IMemoryAPI fface ) : void
fface IMemoryAPI
return void

Rest() public static method

Makes the character rest
public static Rest ( IMemoryAPI fface ) : void
fface IMemoryAPI
return void

SetTarget() public static method

public static SetTarget ( IMemoryAPI fface, Unit target ) : void
fface IMemoryAPI
target Unit
return void

Stand() public static method

Makes the character stop resting
public static Stand ( IMemoryAPI fface ) : void
fface IMemoryAPI
return void

StopRunning() public static method

public static StopRunning ( IMemoryAPI fface ) : void
fface IMemoryAPI
return void