WoW:Hooking functions: Difference between revisions

m
Robot: Automated text replacement (-[[Image: +[[File:)
(Typo fixing using AWB)
m (Robot: Automated text replacement (-[[Image: +[[File:))
Line 53: Line 53:
  ItemRefTooltip:Show(); ItemRefTooltip:Show();
  ItemRefTooltip:Show(); ItemRefTooltip:Show();
end</nowiki></pre></div>
end</nowiki></pre></div>
[[Image:Hooking functions demo.png|thumb|right|The resulting tooltip.]]
[[File:Hooking functions demo.png|thumb|right|The resulting tooltip.]]
Explained in detail, the preceding code does:
Explained in detail, the preceding code does:
# Stores the old SetItemRef value (original function) into a local variable
# Stores the old SetItemRef value (original function) into a local variable
Anonymous user