WoW:API GetNumTalentTabs: Difference between revisions

Add 2.3 inspect option.
m ({{wowapi}})
(Add 2.3 inspect option.)
Line 2: Line 2:
Returns the total number of tabs of talents one has.
Returns the total number of tabs of talents one has.


  numTabs = GetNumTalentTabs();
  numTabs = GetNumTalentTabs([inspect]);
 
----
;''Arguments''
 
:;inspect : [[Boolean]] - If true returns the information for the inspected unit instead of  the player. New with 2.3.


----
----
Anonymous user