daochook includes a handful of various helper functions that are exposed to each addons Lua state. These functions are separated into namespaces that make it cleaner and easier to read when being accessed. Below is a table of each of the namespaces that are exposed from daochook.
print
Overridden from the stock Lua print functionality. Instead, calling print will print the given message to the games chat window using the default message mode. (1)
1print(...);
Parameter Name | Type | Description |
---|---|---|
... | string | The message(s) to print. |
Returns |
---|
None. |
dbgprint
Debug print helper. Prints the given message to the system debug stream.
1dbgprint(...);
Parameter Name | Type | Description |
---|---|---|
... | string | The message(s) to print. |
Returns |
---|
None. |
To view these messages, use a tool such as DbgView, DbgView++ or similar.
Click the namespace name to go to that namespaces individual documentation page.
Namespace Name | Description |
---|---|
bits | Contains functions related to bit and byte packing/unpacking. |
events | Contains functions related to daochook events. |
extensions | Contains functions that extend default Lua types. |
fs | Contains functions related to file I/O. |
game | Contains functions related to game client functions and information. |
hook | Contains functions related to daochook functions and information. |
imgui | Contains functions related to ImGui. |
memory | Contains functions related to memory read/write operations. |
misc | Contains miscellaneous functions that don’t fit into another namespace. |
regex | Contains functions related to regular expression operations. |
tasks | Contains functions related to tasks. |
time | Contains functions related to time. |