WoW:API GetRewardSpell: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (stub/api)
Line 1: Line 1:
{{stub/API}}
Returns the '''texture''' and the '''name''' of a spell if rewarded.
Returns the '''texture''' and the '''name''' of a spell if rewarded.
'''There could be more return values, i didnt used more.'''
'''There could be more return values.'''


'''Example:'''
'''Example:'''


''local sTexture, sName = GetRewardSpell();''
''local sTexture, sName = GetRewardSpell();''
----
{{WoW API}}

Revision as of 01:57, 24 June 2006

Returns the texture and the name of a spell if rewarded. There could be more return values.

Example:

local sTexture, sName = GetRewardSpell();