API:UnitBuffInfo

__NOTOC__
UnitBuff
UnitBuffInfo(UnitId, pos)
Appears to give the same results and take the same arguments as UnitBuff.
== Parameters ==
=== Arguments ===
:;UnitId
::string - The unit id string: "player", "target", "party1", "pet", "targettarget", "mouseover"...
:;pos
::number - The position of the buff action on buff bar, starting from RIGHT to left.
=== Returns ===
:;name
::string - Name given to the buff.
:;icon
::string - Path and name used for the icon representation. 
:;count
::number - Stack count of buff, Nature power, or any stack counted buff.
:;ID
::number - Numeric identifier of buff, normaly a 6 digit number.
== Example ==
--Qaz1qaz1qa 07:13, 6 March 2010 (UTC)
name, icon, count, ID = UnitBuff("player" , i )
for i=1,100,1 do
 local name, icon, count, ID = UnitBuff( "player", i );
 DEFAULT_CHAT_FRAME:AddMessage(i.." "..name.." "..icon.." "..count.." "..ID);
end
== Notes ==
== Related Functions ==
* UnitDebuff
* UnitBuff