Add C_NamePlate and WeakAuras modules

- Introduced C_NamePlate for nameplate-related functions, including GetNamePlateForUnit and GetNamePlates.
- Added WeakAuras module with various utility functions and methods for managing aura conditions and tooltips.
This commit is contained in:
2025-05-17 17:11:53 +02:00
parent 0954354d7a
commit 72956add4a
2 changed files with 80 additions and 0 deletions

15
C_NamePlate.lua Normal file
View File

@@ -0,0 +1,15 @@
---@meta
---
--- C_NamePlate is a namespace for functions related to nameplates.
---
--- @class C_NamePlate
C_NamePlate = {
--- @param unit string
--- @return Frame|nil
--- Returns the nameplate frame for a given unit.
GetNamePlateForUnit = function(unit) end,
--- @return table
--- Returns a table of all nameplates currently shown.
GetNamePlates = function() end,
}