From 7efc94599257e1c610fdf3ce5c89dacfa92dd6b8 Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Fri, 18 Sep 2009 02:05:05 -0500 Subject: [PATCH] Added some more hooks --- WeightsWatcher.lua | 8 ++++++++ 1 file changed, 8 insertions(+) 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() -- 1.7.9.5