Initial commit
This commit is contained in:
8
api/UnitClassBase.lua
Normal file
8
api/UnitClassBase.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param unit string
|
||||
---@param name string
|
||||
---@return string class
|
||||
---@return string classFileName
|
||||
---Returns a unit's class. The second return (classFileName) can be used for locale-independent verification of a unit's class, or to look up class-related data in various global tables: RAID_CLASS_COLORS provides a standard color for each class (as seen in the default who, guild, calendar, and raid UIs) CLASS_ICON_TCOORDS provides coordinates to locate each class' icon within the "Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes" texture Unlike UnitClass, this function returns the same values for NPCs as for players.
|
||||
function UnitClassBase(unit, name) end
|
Reference in New Issue
Block a user