View Single Post
10-31-13, 12:57 AM   #8
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
In this case, self is a reference to GameTooltip because the function being hooked is a method in a table (GameTooltip.SetUnitAura).

If you were to hook a function directly, "print" for example, self would not be passed as an argument.
  Reply With Quote