C# Class Eryan.Script.Scriptable

Scriptable interface must be implemented by all Eryan scripts
Afficher le fichier Open project: emist/Eryan Class Usage Examples

Méthodes publiques

Свойство Type Description
EAgentHandler Eryan.InputHandler.AgentHandler
ECamera Eryan.InputHandler.Camera
ECommunicator Eryan.IPC.Communicator
EDrawingArea Eryan.Util.DrawableScreen
EKeyboard Eryan.Input.KeyBoard
ELocalHandler Eryan.InputHandler.LocalHandler
ELogger Util.Logger
EMenuHandler Eryan.InputHandler.MenuHandler
EMouse Eryan.Input.Mouse
EOverViewHandler OverviewHandler
EPreciseMouse Eryan.Input.PreciseMouse
ERandom System.Random
ESession Eryan.Wrappers.Session
EStationHandler Eryan.Wrappers.Station
MyShip Eryan.Wrappers.Ship
enabled bool

Protected Properties

Свойство Type Description
name string

Méthodes publiques

Méthode Description
initializeInputs ( WindowHandler bot ) : void

Internal use, the Bot will initialize the script with its input handlers once its loaded into memory

onFinish ( ) : System.Boolean

Script's cleanup code

onStart ( ) : System.Boolean

To be used by the script to initialize its state variables

run ( ) : int

The main loop for scripts

Method Details

initializeInputs() public méthode

Internal use, the Bot will initialize the script with its input handlers once its loaded into memory
public initializeInputs ( WindowHandler bot ) : void
bot Eryan.UI.WindowHandler The reference to the bot's windowhandler
Résultat void

onFinish() public abstract méthode

Script's cleanup code
public abstract onFinish ( ) : System.Boolean
Résultat System.Boolean

onStart() public abstract méthode

To be used by the script to initialize its state variables
public abstract onStart ( ) : System.Boolean
Résultat System.Boolean

run() public abstract méthode

The main loop for scripts
public abstract run ( ) : int
Résultat int

Property Details

EAgentHandler public_oe property

The script's agent handler
public AgentHandler,Eryan.InputHandler EAgentHandler
Résultat Eryan.InputHandler.AgentHandler

ECamera public_oe property

Reference to this bot's camera handler
public Camera,Eryan.InputHandler ECamera
Résultat Eryan.InputHandler.Camera

ECommunicator public_oe property

Bot's communicator reference
public Communicator,Eryan.IPC ECommunicator
Résultat Eryan.IPC.Communicator

EDrawingArea public_oe property

The bot's drawing area
public DrawableScreen,Eryan.Util EDrawingArea
Résultat Eryan.Util.DrawableScreen

EKeyboard public_oe property

Reference to this bot's keyboard
public KeyBoard,Eryan.Input EKeyboard
Résultat Eryan.Input.KeyBoard

ELocalHandler public_oe property

This bot's local chat handler
public LocalHandler,Eryan.InputHandler ELocalHandler
Résultat Eryan.InputHandler.LocalHandler

ELogger public_oe property

The scripts Logging engine
public Util.Logger ELogger
Résultat Util.Logger

EMenuHandler public_oe property

Bot's MenuHandler reference
public MenuHandler,Eryan.InputHandler EMenuHandler
Résultat Eryan.InputHandler.MenuHandler

EMouse public_oe property

Bot's Mouse handler
public Mouse,Eryan.Input EMouse
Résultat Eryan.Input.Mouse

EOverViewHandler public_oe property

Bot's OverViewHandler reference
public OverviewHandler EOverViewHandler
Résultat OverviewHandler

EPreciseMouse public_oe property

Bot's PreciseMouse reference
public PreciseMouse,Eryan.Input EPreciseMouse
Résultat Eryan.Input.PreciseMouse

ERandom public_oe property

Random generator for script use
public Random,System ERandom
Résultat System.Random

ESession public_oe property

Reference to our current eve session
public Session,Eryan.Wrappers ESession
Résultat Eryan.Wrappers.Session

EStationHandler public_oe property

Reference to the bot's station handler
public Station,Eryan.Wrappers EStationHandler
Résultat Eryan.Wrappers.Station

MyShip public_oe property

Reference to our player's ship
public Ship,Eryan.Wrappers MyShip
Résultat Eryan.Wrappers.Ship

enabled public_oe property

Is the script enabled
public bool enabled
Résultat bool

name protected_oe property

The script name
protected string name
Résultat string