m
Move page script moved page API IsFishingLoot to WoW:API IsFishingLoot without leaving a redirect
mNo edit summary |
m (Move page script moved page API IsFishingLoot to WoW:API IsFishingLoot without leaving a redirect) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | |||
This function is only for determining if the loot window is related to fishing. | |||
=== Returns === | |||
<!-- List each return value, together with its type --> | |||
:;isTrue : Boolean - is it true | |||
== Example == | |||
<!-- If it helps, include an example here, though it's not required if the usage is self-explanatory --> | |||
This will identify that the loot window should display the fish graphic, then play the sound and update the image. | |||
if( IsFishingLoot() ) then | |||
PlaySound("FISHING REEL IN"); | |||
LootFramePortraitOverlay:SetTexture("Interface\\LootFrame\\FishingLoot-Icon"); | |||
end | |||