WoW API: IsAutoLootKeyDown

From AddOn Studio
Revision as of 13:37, 28 May 2009 by WoWWiki>Starlightblunder (removedapi)
Jump to navigation Jump to search

WoW API < IsAutoLootKeyDown

Checks whether the autoloot key is down.

down = IsAutoLootKeyDown()

Arguments

none


Returns

down
Boolean - Whether the autoloot key is down

Removed

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