LibRadialMenu – Console Library (1)
This library will allow users to equip various addon functions to a customizable quickslot wheel, greatly simplifying the user experience of interacting with an addon.
Users will be able to choose how many entries they want present on their quickslot wheel and be presented with a list of slottable functions (and their descriptions/icons) in the addon settings menu!
A demo of this library is shown in this video below!
WAQ3VKhTbZc
For Developers:
To add your addon and functions to this library, there are 2 API endpoints.
First, register your addon with
LibRadialMenu:RegisterAddon(addonId, addonName)This is required as a prerequisite to registering any entries.
Next, register your entries with LibRadialMenu:RegisterEntry(addonId, entryName, entryId, entryIcon, entryCallback, entryDescription)
AddonId is a string, which needs to be unique between various addons.
EntryId is also a string, but it only needs to be unique within your specified addonId.
entryName and addonName are the strings presented to the user at the time of selection/assignment.
The entryIcon is a string path to an icon which will be displayed on the quickslot wheel, and entryDescription is a string description of your function which will be displayed to the user.
entryCallback is a function, which will be called when the user selects your entry.

