Azeroth Pilot Reloaded

Azeroth Pilot Reloaded

2M Downloads

Add new file in APR-Core for icons

NightofStarrs opened this issue ยท 0 comments

commented

Describe the problem:

When an icon is used in APR it is manually called every time, say for raidIcons for the Skull, or have/show the Quest's Question Mark icon.

Suggestions to fix the problem:

  1. Create a new file in APR such as APR-Core/icons.lua - or similar
  2. (Or, add it to APR-Core/Lib/icons.lua, which is where the ExtraLineText Utils is at)
  3. Set variables/namespaces for each icon used in the addon (that are NOT tied to a quest item/macro)
  4. Call the variable name if/when needed in the code instead of the icon ID

Any additional information?

This may need to wait for the rewrite, but is something that can help us better set up icon calls within the routes, and settings. Also, allowing individuals to assign the over-head icon to an X, Square, etc instead of just the Skull.