WoW API: IsAutoLootKeyDown

Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API IsAutoLootKeyDown to API IsAutoLootKeyDown without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < IsAutoLootKeyDown

Checks whether the autoloot key is down.

down = IsAutoLootKeyDown()

ArgumentsEdit

none


ReturnsEdit

down
Boolean - Whether the autoloot key is down

RemovedEdit

This function was removed in 2.2.x. For backward compatibility or you'd rather not track down every single call to this function, just add this somewhere in the Lua file:

if not IsAutoLootKeyDown then
    function IsAutoLootKeyDown()
        return IsModifiedClick("AUTOLOOTTOGGLE")
    end
end