API:GetVocSubInfo

__NOTOC__
GetVocSubInfo
Returns the info of the units sub class
local JobID,JobName = GetVocSubInfo("unit")
'''
== Input ==
'''
 unit: string (player, target, party1, pet, targettarget, mouseover...)
 this appears to not matter as it always returns the players information.
'''
== Return ==
'''
 JobID: number-related to Secondary or support class 1-8 for Players.
 JobName: string-Name related to Secondary or support class 
 
== Example ==
 /script local JobID,JobName = GetVocSubInfo("unit"); DEFAULT_CHAT_FRAME:AddMessage("Job no.:"..JobID.." Job Title:"..JobName)
--Qaz1qaz1qa 07:43, 6 March 2010 (UTC)
API:GetVocInfo