m
Move page script moved page API IsAutoLootKeyDown to WoW:API IsAutoLootKeyDown without leaving a redirect
(Updated to match the current API boilerplate.) |
m (Move page script moved page API IsAutoLootKeyDown to WoW:API IsAutoLootKeyDown without leaving a redirect) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}} | {{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 11: | Line 10: | ||
=== Returns === | === Returns === | ||
:; down : [[Boolean]] - Whether the autoloot key is down | :; 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: | |||
<pre>if not IsAutoLootKeyDown then | |||
function IsAutoLootKeyDown() | |||
return IsModifiedClick("AUTOLOOTTOGGLE") | |||
end | |||
end</pre> | |||