IsFishingLoot

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0

This function is only for determining if the loot window is related to fishing.


Returns

isTrue
boolean - is it true

Example

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