Update

Update

Update

Update

Update

Update

Update

Update

Update
This commit is contained in:
2025-05-04 20:46:46 +02:00
parent 169a514973
commit 8e28d1a570
38 changed files with 2668 additions and 89 deletions

View File

@@ -1,12 +1,14 @@
---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param unit string
---@param distIndex 4
---@param 1
---@param 2
---@param 3
---@param 4
---@return 1nil canInteract
---@alias distIndex
---| 1
---| 2
---| 3
---| 4
---@param unit string
---@param distIndex distIndex
---@return boolean canInteract
---Returns whether the player is close enough to a unit for certain types of interaction
function CheckInteractDistance(unit, distIndex, 1, 2, 3, 4) end
function CheckInteractDistance(unit, distIndex) end

View File

@@ -1,7 +1,7 @@
---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param unit unitID
---@return 1nil success
---@param unit string
---@return boolean success
---Enables comparing achievements/statistics with another player. After a call to this function, the INSPECTACHIEVEMENTREADY event fires to indicate that achievement/statistic comparison functions will return valid data on the given unit.
function SetAchievementComparisonUnit(unit) end