C# Class Eryan.Wrappers.Station

ファイルを表示 Open project: emist/Eryan Class Usage Examples

Public Methods

Method Description
Station ( Mouse m, PreciseMouse pm, Eryan.InputHandler.MenuHandler mh, Communicator com ) : System

Builds station handler with current mouse, pmouse, menu handler and communicator

Station ( WindowHandler wh ) : System
depositAll ( ) : System.Boolean

Deposits all items in your cargo to the station hangar

interactAgent ( string name ) : bool

Interact with the given agent

isDocked ( ) : System.Boolean

Find out if we're docked

isHangarOpen ( ) : bool

Check if the hangar is open

isItemInHangar ( string name ) : bool

Check if the given item is in the Station hangar

openHangar ( ) : bool

Open the address book

selectAgentTab ( ) : bool

Select the "Agent Tab" at the station

selectAllCargo ( ) : bool

Select all the cargo

stackHangarItems ( ) : bool

Stack All the items in the station hangar

undock ( ) : System.Boolean

Undock from station

withdrawItem ( string name ) : bool

Withdraw the given item stack from the station hangar by name

Method Details

Station() public method

Builds station handler with current mouse, pmouse, menu handler and communicator
public Station ( Mouse m, PreciseMouse pm, Eryan.InputHandler.MenuHandler mh, Communicator com ) : System
m Eryan.Input.Mouse Bot's mouse
pm Eryan.Input.PreciseMouse Bot's precise mouse
mh Eryan.InputHandler.MenuHandler Bot's menu handler
com Eryan.IPC.Communicator Bot's communicator
return System

Station() public method

public Station ( WindowHandler wh ) : System
wh Eryan.UI.WindowHandler
return System

depositAll() public method

Deposits all items in your cargo to the station hangar
public depositAll ( ) : System.Boolean
return System.Boolean

interactAgent() public method

Interact with the given agent
public interactAgent ( string name ) : bool
name string
return bool

isDocked() public method

Find out if we're docked
public isDocked ( ) : System.Boolean
return System.Boolean

isHangarOpen() public method

Check if the hangar is open
public isHangarOpen ( ) : bool
return bool

isItemInHangar() public method

Check if the given item is in the Station hangar
public isItemInHangar ( string name ) : bool
name string The name of the item we are looking for
return bool

openHangar() public method

Open the address book
public openHangar ( ) : bool
return bool

selectAgentTab() public method

Select the "Agent Tab" at the station
public selectAgentTab ( ) : bool
return bool

selectAllCargo() public method

Select all the cargo
public selectAllCargo ( ) : bool
return bool

stackHangarItems() public method

Stack All the items in the station hangar
public stackHangarItems ( ) : bool
return bool

undock() public method

Undock from station
public undock ( ) : System.Boolean
return System.Boolean

withdrawItem() public method

Withdraw the given item stack from the station hangar by name
public withdrawItem ( string name ) : bool
name string Item name to withdraw
return bool