Navigation
Usage Information
Developer Information
Addon and Plugin Documentation
Addons
Plugins
Navigation
Usage Information
Developer Information
Addon and Plugin Documentation
Addons
Plugins
Addons have various global functions and 'namespaces' exposed to them that are built into the Addons plugin. These can be used to interact back with the Addons plugin as well as the Ashita core. Some of these functions are made to allow addons more access to the game client, the system the client is running on, and more.
Below are the various functions and namespaces you can make use of while coding your addon(s).
These are the global namespaces you can use within an addon:
Namespace | Description |
---|---|
bits | Functions to work with bits and bytes. |
file | Functions to work with files and folders. |
gui | Functions to work with the ImGui system. |
memory | Functions to work with the client memory. (Reading and writing.) |
misc | Misc. functions to work with various things. |
regex | Functions related to regular expressions. |
Sends a packet to the client as if the server had sent it.
void AddIncomingPacket(id, packet);
Sends a packet to the server as if the client had sent it.
void AddOutgoingPacket(id, packet);
Parses a string for auto-translate tags and converts them.
string ParseAutoTranslate(msg, useBrackets);
Obtains an entity object from the given index.
object GetEntity(index);
Obtains the player entity object.
object GetPlayerEntity();