This commit is contained in:
2024-11-07 23:12:37 +01:00
parent a67a1d8f40
commit f7c91862a0
3089 changed files with 18209 additions and 0 deletions

7
Meta/api/CanInspect.lua Normal file
View 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