Added some more hooks
Kevin Lyles [09-18-09 - 07:05]
diff --git a/WeightsWatcher.lua b/WeightsWatcher.lua
index 938cd8e..442463c 100644
--- a/WeightsWatcher.lua
+++ b/WeightsWatcher.lua
@@ -32,7 +32,9 @@ function WeightsWatcher:OnEnable()
WeightsWatcher:HookTooltip("GameTooltip", "SetAuctionSellItem")
WeightsWatcher:HookTooltip("GameTooltip", "SetBagItem")
WeightsWatcher:HookTooltip("GameTooltip", "SetBuybackItem")
+ WeightsWatcher:HookTooltip("GameTooltip", "SetExistingSocketGem")
WeightsWatcher:HookTooltip("GameTooltip", "SetGuildBankItem")
+ WeightsWatcher:HookTooltip("GameTooltip", "SetHyperlink")
WeightsWatcher:HookTooltip("GameTooltip", "SetInboxItem")
WeightsWatcher:HookTooltip("GameTooltip", "SetInventoryItem")
WeightsWatcher:HookTooltip("GameTooltip", "SetLootItem")
@@ -41,14 +43,20 @@ function WeightsWatcher:OnEnable()
WeightsWatcher:HookTooltip("GameTooltip", "SetQuestItem")
WeightsWatcher:HookTooltip("GameTooltip", "SetQuestLogItem")
WeightsWatcher:HookTooltip("GameTooltip", "SetSendMailItem")
+ WeightsWatcher:HookTooltip("GameTooltip", "SetSocketGem")
WeightsWatcher:HookTooltip("GameTooltip", "SetTradePlayerItem")
WeightsWatcher:HookTooltip("GameTooltip", "SetTradeSkillItem")
WeightsWatcher:HookTooltip("GameTooltip", "SetTradeTargetItem")
+ WeightsWatcher:HookTooltip("GameTooltip", "SetTrainerService")
-- Item link tooltips
WeightsWatcher:HookTooltip("ItemRefTooltip", "SetHyperlink")
-- Secondary and tertiary comparison tooltips
+ WeightsWatcher:HookTooltip("ShoppingTooltip1", "SetExistingSocketGem")
WeightsWatcher:HookTooltip("ShoppingTooltip1", "SetHyperlinkCompareItem")
+ WeightsWatcher:HookTooltip("ShoppingTooltip1", "SetInventoryItem")
+ WeightsWatcher:HookTooltip("ShoppingTooltip2", "SetExistingSocketGem")
WeightsWatcher:HookTooltip("ShoppingTooltip2", "SetHyperlinkCompareItem")
+ WeightsWatcher:HookTooltip("ShoppingTooltip2", "SetInventoryItem")
end
function WeightsWatcher:OnDisable()