This package provides abstraction classes that assist in automating the game interface.

Usage example:

// grab UniCore
const { UniCore } = require("UniCore");
// first you need to grab your desired window abstraction class
const { InventoryWindow } = require("UniInterfaceAbstractions");

// lets setup a simple tickhandler that ensures inventory is closed
UniCore.On("tick", () => {
// check if the inventory is open
if (InventoryWindow.IsOpen()) {
// it is open, lets close it
InventoryWindow.CloseWindow();

// End tick handling as we have already done our desired action
return;
}
});

Index

Classes

Generated using TypeDoc