Widget/API/SetUnitBuff

__NOTOC__
Populates the Tooltip's text based on a Unit's Buffs.
GameTooltip:SetUnitBuff("unit",num)
== Parameters ==
=== Arguments ===
:;unit
::String - the UnitID (e.g. "target", "party1", "raid1", etc..) 
:;num
::Integer - the buff ID number. 
=== Returns ===
:;None
== Example ==
GameTooltip:SetUnitBuff("player",1); GameTooltip:Show();
(Has the same effect as rolling your mouse over the first button in your buff bar)
== Widgets With This Method ==
* GameTooltip
Category:Widget/API Category:Widget/Class/GameTooltip