API:SkillPlateUpdate

__NOTOC__
=== Description ===
Get information about the current Item-Set Skill Plate.
SkillPlateUpdate(num)
=== Parameters ===
== Arguments ==
:;num
::Number of the place on the Skill Plate (0 - 4). If you enter -1, you access the whole Plate.
== Returns ==
:;count
::If called with num = -1, this will be the total amount of available spaces in the Plate (used and free). If called with 0 - 4, it will be nil.
:;texture
::If called with num = -1, this will be nil. If called with 0 - 4, it will be the path to the chosen skills dds file (interface\Icons\skill_panel_icons\*.dds).
=== Example ===
for i = 0, SkillPlateUpdate(-1)-1, 1 do
 local _, texture = SkillPlateUpdate(i);
 DEFAULT_CHAT_FRAME:AddMessage(texture);
end
Category:Functions