WoW:API IsAutoLootKeyDown: Difference between revisions

removedapi
mNo edit summary
(removedapi)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{removedapi|2.2|Replaced by {{api|IsModifiedClick}}("AUTOLOOTTOGGLE")}}
 
{{wowapi}}  
 
Checks whether the autoloot key is down.
Checks whether the autoloot key is down.
  down = IsAutoLootKeyDown()
  down = IsAutoLootKeyDown()
Line 13: Line 12:


== Removed ==
== Removed ==
This function was removed in 2.2.x. For backward compatibility (maybe you have a private server?) or you'd rather not track down every single call to this function, just add this somewhere in the Lua file:
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:
<pre>if not IsAutoLootKeyDown then
<pre>if not IsAutoLootKeyDown then
     function IsAutoLootKeyDown()
     function IsAutoLootKeyDown()