Problemy w dodatku Tooltips
Re: Problemy w dodatku Tooltips
Dodatkowa opcja daje większą możliwość konfiguracji.
Bo jakby ktoś nie chciał tlumaczeń stałych także w dodatkowym oknie, to może je sobie także nie włączać.
https://panel.wowpopolsku.pl/files/WoWp ... -10-09.zip
To jak tu już w miarę poprawnie dodatek działa, to będę mógł przenieść te zmiany i ustawienia do wersji 10.0
Bo jakby ktoś nie chciał tlumaczeń stałych także w dodatkowym oknie, to może je sobie także nie włączać.
https://panel.wowpopolsku.pl/files/WoWp ... -10-09.zip
To jak tu już w miarę poprawnie dodatek działa, to będę mógł przenieść te zmiany i ustawienia do wersji 10.0
Re: Problemy w dodatku Tooltips
Z tego co widzę działa jak trzeba
Nie samymi questami worgen żyje, dymki też trzeba tłumaczyć. I Gossipy. No i książki... I Filmy, i Cinematici też...
Re: Problemy w dodatku Tooltips
Jest problem w dodatku w wersji 10.0 przy wyświetlaniu opisu do Buffów.
Silnik Wow'a nie zwraca teraz nazwy przycisku, do którego wyświetlany jest opis.
Nie jeste więc teraz w stanie wykryć wyświetlenia tego opisu. Opis ten nie jest na razie obsługiwany przez dodatek.
EDIT: Chyba rozwiązałem ten problem - użyłem funkcji BuffFrame:IsMouseOver() i wydaje się to rozwiązaniem.
Silnik Wow'a nie zwraca teraz nazwy przycisku, do którego wyświetlany jest opis.
Nie jeste więc teraz w stanie wykryć wyświetlenia tego opisu. Opis ten nie jest na razie obsługiwany przez dodatek.
EDIT: Chyba rozwiązałem ten problem - użyłem funkcji BuffFrame:IsMouseOver() i wydaje się to rozwiązaniem.
- Kalinkus
- Posty: 785
- Frakcja: Przymierze
- Rasa: Człowiek
- Klasa: Paladyn
- BattleTag: Kalinkus#2587
- Kontakt:
Re: Problemy w dodatku Tooltips
10,02
Message: ...AddOns/WoWpoPolsku_Tooltips/WoWpoPolsku_Tooltips.lua:629: GameTooltip doesn't have a "OnTooltipSetItem" script
Time: Wed Nov 16 12:46:28 2022
Count: 1
Stack: ...AddOns/WoWpoPolsku_Tooltips/WoWpoPolsku_Tooltips.lua:629: GameTooltip doesn't have a "OnTooltipSetItem" script
[string "=[C]"]: in function `HookScript'
[string "@Interface/AddOns/WoWpoPolsku_Tooltips/WoWpoPolsku_Tooltips.lua"]:629: in main chunk
Locals: (*temporary) = GameTooltip {
0 = <userdata>
SetQuestLogRewardSpell = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetQuestPartyProgress = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
ProcessLineData = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:303
SetPvpTalent = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetRuneforgeResultItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetHyperlink = <function> defined =[C]:-1
SetUnit = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetAzeriteEssence = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetVoidDepositItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetVoidWithdrawalItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetInfoBackdropStyle = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:338
shoppingTooltips = <table> {
}
SetSocketGem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
updateTooltipTimer = 0.200000
ItemTooltip = Frame {
}
StatusBar = GameTooltipStatusBar {
}
SetLootCurrency = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetSlottedKeystone = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetWorldCursor = <function> defined @Interface/FrameXML/GameTooltip.lua:952
SetLootItem = <function> defined =[C]:-1
SetMerchantCostItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
GetUnit = <function> defined @Interface/FrameXML/GameTooltip.lua:994
SetOwnedItemByID = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetItemInteractionItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetQuestLogSpecialItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
TextRight1 = GameTooltipTextRight1 {
}
SetEnhancedConduit = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetRecipeReagentItem = <function> defined =[C]:-1
SetQuestCurrency = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
supportsDataRefresh = true
SetWeeklyReward = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetMerchantItem = <function> defined =[C]:-1
SetPvpBrawl = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetAchievementByID = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
BottomOverlay = Texture {
}
SetSpellByID = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
supportsItemComparison = true
SetSocketedRelic = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
ProcessInfo = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:236
ProcessLines = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:293
NineSlice = Frame {
}
SetInventoryItem = <function> defined =[C]:-1
RefreshData = <function> defined @Interface/FrameXML/GameTooltip.lua:933
SetTransmogrifyItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetLootRollItem = <function> defined =[C]:-1
OnLoad = <function> defined @Interface/FrameXML/GameTooltip.lua:927
SetQuestLogCurrency = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
Message: ...AddOns/WoWpoPolsku_Tooltips/WoWpoPolsku_Tooltips.lua:629: GameTooltip doesn't have a "OnTooltipSetItem" script
Time: Wed Nov 16 12:46:28 2022
Count: 1
Stack: ...AddOns/WoWpoPolsku_Tooltips/WoWpoPolsku_Tooltips.lua:629: GameTooltip doesn't have a "OnTooltipSetItem" script
[string "=[C]"]: in function `HookScript'
[string "@Interface/AddOns/WoWpoPolsku_Tooltips/WoWpoPolsku_Tooltips.lua"]:629: in main chunk
Locals: (*temporary) = GameTooltip {
0 = <userdata>
SetQuestLogRewardSpell = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetQuestPartyProgress = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
ProcessLineData = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:303
SetPvpTalent = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetRuneforgeResultItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetHyperlink = <function> defined =[C]:-1
SetUnit = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetAzeriteEssence = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetVoidDepositItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetVoidWithdrawalItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetInfoBackdropStyle = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:338
shoppingTooltips = <table> {
}
SetSocketGem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
updateTooltipTimer = 0.200000
ItemTooltip = Frame {
}
StatusBar = GameTooltipStatusBar {
}
SetLootCurrency = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetSlottedKeystone = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetWorldCursor = <function> defined @Interface/FrameXML/GameTooltip.lua:952
SetLootItem = <function> defined =[C]:-1
SetMerchantCostItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
GetUnit = <function> defined @Interface/FrameXML/GameTooltip.lua:994
SetOwnedItemByID = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetItemInteractionItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetQuestLogSpecialItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
TextRight1 = GameTooltipTextRight1 {
}
SetEnhancedConduit = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetRecipeReagentItem = <function> defined =[C]:-1
SetQuestCurrency = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
supportsDataRefresh = true
SetWeeklyReward = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetMerchantItem = <function> defined =[C]:-1
SetPvpBrawl = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetAchievementByID = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
BottomOverlay = Texture {
}
SetSpellByID = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
supportsItemComparison = true
SetSocketedRelic = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
ProcessInfo = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:236
ProcessLines = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:293
NineSlice = Frame {
}
SetInventoryItem = <function> defined =[C]:-1
RefreshData = <function> defined @Interface/FrameXML/GameTooltip.lua:933
SetTransmogrifyItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetLootRollItem = <function> defined =[C]:-1
OnLoad = <function> defined @Interface/FrameXML/GameTooltip.lua:927
SetQuestLogCurrency = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
Gloria Victis
- Kalinkus
- Posty: 785
- Frakcja: Przymierze
- Rasa: Człowiek
- Klasa: Paladyn
- BattleTag: Kalinkus#2587
- Kontakt:
Re: Problemy w dodatku Tooltips
Message: ...AddOns/WoWpoPolsku_Tooltips/WoWpoPolsku_Tooltips.lua:629: GameTooltip doesn't have a "OnTooltipSetItem" script
Time: Wed Nov 16 14:06:46 2022
Count: 1
Stack: ...AddOns/WoWpoPolsku_Tooltips/WoWpoPolsku_Tooltips.lua:629: GameTooltip doesn't have a "OnTooltipSetItem" script
[string "=[C]"]: in function `HookScript'
[string "@Interface/AddOns/WoWpoPolsku_Tooltips/WoWpoPolsku_Tooltips.lua"]:629: in main chunk
Locals: (*temporary) = GameTooltip {
0 = <userdata>
SetQuestLogRewardSpell = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetQuestPartyProgress = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
ProcessLineData = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:303
SetPvpTalent = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetRuneforgeResultItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetHyperlink = <function> defined =[C]:-1
SetUnit = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetAzeriteEssence = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetVoidDepositItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetVoidWithdrawalItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetInfoBackdropStyle = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:338
shoppingTooltips = <table> {
}
SetSocketGem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
updateTooltipTimer = 0.200000
ItemTooltip = Frame {
}
StatusBar = GameTooltipStatusBar {
}
SetLootCurrency = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetSlottedKeystone = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetWorldCursor = <function> defined @Interface/FrameXML/GameTooltip.lua:952
SetLootItem = <function> defined =[C]:-1
SetMerchantCostItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
GetUnit = <function> defined @Interface/FrameXML/GameTooltip.lua:994
SetOwnedItemByID = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetItemInteractionItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetQuestLogSpecialItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
TextRight1 = GameTooltipTextRight1 {
}
SetEnhancedConduit = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetRecipeReagentItem = <function> defined =[C]:-1
SetQuestCurrency = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
supportsDataRefresh = true
SetWeeklyReward = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetMerchantItem = <function> defined =[C]:-1
SetPvpBrawl = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetAchievementByID = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
BottomOverlay = Texture {
}
SetSpellByID = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
supportsItemComparison = true
SetSocketedRelic = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
ProcessInfo = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:236
ProcessLines = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:293
NineSlice = Frame {
}
SetInventoryItem = <function> defined =[C]:-1
RefreshData = <function> defined @Interface/FrameXML/GameTooltip.lua:933
SetTransmogrifyItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetLootRollItem = <function> defined =[C]:-1
OnLoad = <function> defined @Interface/FrameXML/GameTooltip.lua:927
SetQuestLogCurrency = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
Time: Wed Nov 16 14:06:46 2022
Count: 1
Stack: ...AddOns/WoWpoPolsku_Tooltips/WoWpoPolsku_Tooltips.lua:629: GameTooltip doesn't have a "OnTooltipSetItem" script
[string "=[C]"]: in function `HookScript'
[string "@Interface/AddOns/WoWpoPolsku_Tooltips/WoWpoPolsku_Tooltips.lua"]:629: in main chunk
Locals: (*temporary) = GameTooltip {
0 = <userdata>
SetQuestLogRewardSpell = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetQuestPartyProgress = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
ProcessLineData = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:303
SetPvpTalent = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetRuneforgeResultItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetHyperlink = <function> defined =[C]:-1
SetUnit = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetAzeriteEssence = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetVoidDepositItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetVoidWithdrawalItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetInfoBackdropStyle = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:338
shoppingTooltips = <table> {
}
SetSocketGem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
updateTooltipTimer = 0.200000
ItemTooltip = Frame {
}
StatusBar = GameTooltipStatusBar {
}
SetLootCurrency = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetSlottedKeystone = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetWorldCursor = <function> defined @Interface/FrameXML/GameTooltip.lua:952
SetLootItem = <function> defined =[C]:-1
SetMerchantCostItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
GetUnit = <function> defined @Interface/FrameXML/GameTooltip.lua:994
SetOwnedItemByID = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetItemInteractionItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetQuestLogSpecialItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
TextRight1 = GameTooltipTextRight1 {
}
SetEnhancedConduit = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetRecipeReagentItem = <function> defined =[C]:-1
SetQuestCurrency = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
supportsDataRefresh = true
SetWeeklyReward = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetMerchantItem = <function> defined =[C]:-1
SetPvpBrawl = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetAchievementByID = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
BottomOverlay = Texture {
}
SetSpellByID = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
supportsItemComparison = true
SetSocketedRelic = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
ProcessInfo = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:236
ProcessLines = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:293
NineSlice = Frame {
}
SetInventoryItem = <function> defined =[C]:-1
RefreshData = <function> defined @Interface/FrameXML/GameTooltip.lua:933
SetTransmogrifyItem = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetLootRollItem = <function> defined =[C]:-1
OnLoad = <function> defined @Interface/FrameXML/GameTooltip.lua:927
SetQuestLogCurrency = <function> defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
Gloria Victis
Re: Problemy w dodatku Tooltips
No to pojechali z nowym patchem, Pousuwali funkcje.
- Kalinkus
- Posty: 785
- Frakcja: Przymierze
- Rasa: Człowiek
- Klasa: Paladyn
- BattleTag: Kalinkus#2587
- Kontakt:
Re: Problemy w dodatku Tooltips
toplist wogle sie nie wysfietla na stronie addons optins
Gloria Victis
Re: Problemy w dodatku Tooltips
Blizzard zrobił nam w patchu 10.0.2 ogromnego psikusa.
Pousuwał funkcje takie jak:
GameTooltip:HookScript("OnTooltipSetItem")
GameTooltip:HookScript("OnTooltipSetSpell")
czyli straciliśmy na dobre dodatek Tooltips.
Nie mamy już bezpośredniego dostępu do obiektów Gossip.
Jest coraz gorzej. Już mi się nie chce szukać rozwiązań jak to wszystko obejść.
Żeby jeszcze wydawali jakąś dobrą dokumentację do wszystkich zmian...
Ja się poddaję.
Pousuwał funkcje takie jak:
GameTooltip:HookScript("OnTooltipSetItem")
GameTooltip:HookScript("OnTooltipSetSpell")
czyli straciliśmy na dobre dodatek Tooltips.
Nie mamy już bezpośredniego dostępu do obiektów Gossip.
Jest coraz gorzej. Już mi się nie chce szukać rozwiązań jak to wszystko obejść.
Żeby jeszcze wydawali jakąś dobrą dokumentację do wszystkich zmian...
Ja się poddaję.
Re: Problemy w dodatku Tooltips
Tu masz odp: https://wowpedia.fandom.com/wiki/Patch_ ... PI_changesPlatine pisze: ↑16 lis 2022, 16:59 Blizzard zrobił nam w patchu 10.0.2 ogromnego psikusa.
Pousuwał funkcje takie jak:
GameTooltip:HookScript("OnTooltipSetItem")
GameTooltip:HookScript("OnTooltipSetSpell")
czyli straciliśmy na dobre dodatek Tooltips.
Nie mamy już bezpośredniego dostępu do obiektów Gossip.
Jest coraz gorzej. Już mi się nie chce szukać rozwiązań jak to wszystko obejść.
Żeby jeszcze wydawali jakąś dobrą dokumentację do wszystkich zmian...
Ja się poddaję.
Tooltip Script Handlers
The following GameTooltip script handlers have been removed. This change will not be reflected in the UI XML schema definition until a future patch.
OnTooltipAddMoney
OnTooltipSetAchievement
OnTooltipSetEquipmentSet
OnTooltipSetItem
OnTooltipSetQuest
OnTooltipSetSpell
OnTooltipSetUnit
Usages of these script handlers should be replaced by registering callbacks with the new TooltipDataProcessor.AddTooltipPostCall function.
Kod: Zaznacz cały
local function OnTooltipSetItem(tooltip, data)
print("OnTooltipSetItem", tooltip, data)
end
-- Replace 'Enum.TooltipDataType.Item' with an appropriate type for the tooltip
-- data you are wanting to process; eg. use 'Enum.TooltipDataType.Spell' for
-- replacing usage of OnTooltipSetSpell.
--
-- If you wish to respond to all tooltip data updates, you can instead replace
-- the enum with 'TooltipDataProcessor.AllTypes' (or the string "ALL").
TooltipDataProcessor.AddTooltipPostCall(Enum.TooltipDataType.Item, OnTooltipSetItem)