Wikia

WoWWiki

Sea.wow.tooltip.compareTooltipScan

Talk2
101,502pages on
this wiki
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
--

Around Wikia's network

Random Wiki