forked from Haleth/Aurora
-
Notifications
You must be signed in to change notification settings - Fork 3
CUSTOM_CLASS_COLORS
CI edited this page Jul 14, 2021
·
1 revision
This is a community developed standard, and is intended to be a drop-in replacement for Blizzard's RAID_CLASS_COLORS. It's purpose is to allow the user to change the in-game class colors without tainting the default UI. ClassColors, created by Phanx, was the original implementation of this idea.
Registers a function to be called when values in CUSTOM_CLASS_COLORS
are changed.
Args:
-
handler
- the function to be called (function)
or
Args:
-
method
- the name of a method (string) -
handler
- the method handler (table or Frame)
Removes a function from the callback registry, so it will no longer be called when class colors are changed.
Args:
-
handler
- a function previously registered (function)
or
Args:
-
method
- the name of a registered method (string) -
handler
- the method handler (table or Frame)
Notifies other addons that class colors have changed.
Returns the locale-independent token (eg. "WARLOCK") for the specified localized class name (eg. "Warlock" or "Hexenmeister").