Fandom

WoWWiki

Sea.wow.tooltip.compareTooltipScan

104,631pages on
this wiki
Add New Page
Talk2 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

This article is a part of the documentation of the Sea (AddOn) function library

Note:

if a parameter is a string instead of a table, then the string will be used as the basis for a tooltip scan.

-- 
-- compareTooltipScan(scanTable left, scanTable right)
--
-- 	compares the results of two tooltip scans
--
-- Args:
-- 	left - the result of a scan or string (implies tooltip base to scan)
-- 	right - the result of a scan or string (implies tooltip base to scan)
-- 	      or nil (implies gametooltip)
--
-- Returns:
-- 	(boolean, number)
-- 	boolean, - true if equal
-- 	0 if equals, -1 if left is less, 1 if right is less
--

Also on Fandom

Random Wiki