WoW:API GetPlayerBuffName: Difference between revisions

removedapi
(Initial documentation)
 
(removedapi)
Line 1: Line 1:
{{removedapi|3.0|Use {{api|UnitAura}} (or derived functions) to retrieve information about buffs.}}
{{wowapi}} __NOTOC__
{{wowapi}} __NOTOC__


Line 7: Line 8:


== Arguments ==
== Arguments ==
<!-- List each argument, together with its type -->
;id : Number - index from 1 to 16
:(id) or ("name"[,"rank"])
;name : String - name of the buff to retrieve
 
;rank : String (Optional) - rank of the buff to retrieve (as returned by this function)
:;id : Number - index from 1 to 16
:;name : String - name of the buff to retrieve
:;rank : String (Optional) - rank of the buff to retrieve (as returned by this function)




== Returns ==
== Returns ==
<!-- List each return value, together with its type -->
;name : String - name of buff found
:name, rank  <!-- remove this line if it's just one value -->
;rank : String - rank of buff found
 
:;name : String - name of buff found
:;rank : String - rank of buff found