Eryan.Script.Scriptable.initializeInputs C# (CSharp) Method

initializeInputs() public method

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
return void
        public void initializeInputs(WindowHandler bot)
        {
            this.EMouse = bot.MOUSE;
            this.EPreciseMouse = bot.PMOUSE;
            this.EMenuHandler = bot.MENU;
            this.ECommunicator = bot.COMMUNICATOR;
            this.EOverViewHandler = bot.OVERVIEW;
            this.EStationHandler = bot.STATION;
            this.MyShip = bot.SHIP;
            this.ESession = bot.SESSION;
            this.ECamera = bot.CAMERA;
            this.EKeyboard = bot.KEYBOARD;
            this.ELocalHandler = bot.LOCAL;
            this.EDrawingArea = bot.DrawingArea;
            this.ELogger = bot.LOGGER;
            this.ELogger.ScriptName = name;
            this.EAgentHandler = bot.AGENT;
            ERandom = new Random();
        }