Add meta
This commit is contained in:
7
Meta/api/CanInspect.lua
Normal file
7
Meta/api/CanInspect.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param unit string
|
||||
---@param showError boolean
|
||||
---@return 1nil canInspect
|
||||
---Returns whether a unit can be inspected. Returns nil if the unit is out of inspect range, if the unit is an NPC, or if the unit is flagged for PvP combat and hostile to the player.
|
||||
function CanInspect(unit, showError) end
|
||||
Reference in New Issue
Block a user