---@diagnostic disable: missing-return, lowercase-global
---@meta

---@param unit string 
---@param resistanceIndex 5 
---@param 1  
---@param 2  
---@param 3  
---@param 4  
---@param 5  
---@return number base 
---@return number resistance 
---@return number positive 
---@return number negative 
---Returns information about the player's or pet's magic resistance
function UnitResistance(unit, resistanceIndex, 1, 2, 3, 4, 5) end