WoW:API GetRaidRosterInfo: Difference between revisions

m
game doesn't crash if index is out of bounds
No edit summary
m (game doesn't crash if index is out of bounds)
Line 9: Line 9:
:(Integer [[API TYPE RaidIndex|RaidIndex]])
:(Integer [[API TYPE RaidIndex|RaidIndex]])


:;RaidIndex : Index of raid member between 1 and 40. (Game seems to crash if you use an index larger than the amount of players in the raid. Use GetNumRaidMembers to make sure you don't run out of bounds.)
:;RaidIndex : Index of raid member between 1 and 40. If you specify an index that is out of bounds, that is zero, a negative number, or an integer greater than the number of players, the function returns [[nil]].


----
----
Anonymous user