About: API GetNumTalentTabs   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

Now, for tab,talent in talentpairs() do DEFAULT_CHAT_FRAME:AddMessage(tab..","..talent) end - prints all player's tab-talent pairs from 1,1 through 3,20-something. for tab,talent in talentpairs(false,true) do DEFAULT_CHAT_FRAME:AddMessage(tab..","..talent) end - prints all player's pet's tab-talent pairs; doesn't execute at all if the player has no pet. for tab,talent in talentpairs(true) do DEFAULT_CHAT_FRAME:AddMessage(tab..","..talent) end - prints all inspected player's tab-talent pairs; doesn't execute at all if there is no inspected player. Caveats --- Cataclysm unknown A = 831 PointsSpent = 5

AttributesValues
rdfs:label
  • API GetNumTalentTabs
rdfs:comment
  • Now, for tab,talent in talentpairs() do DEFAULT_CHAT_FRAME:AddMessage(tab..","..talent) end - prints all player's tab-talent pairs from 1,1 through 3,20-something. for tab,talent in talentpairs(false,true) do DEFAULT_CHAT_FRAME:AddMessage(tab..","..talent) end - prints all player's pet's tab-talent pairs; doesn't execute at all if the player has no pet. for tab,talent in talentpairs(true) do DEFAULT_CHAT_FRAME:AddMessage(tab..","..talent) end - prints all inspected player's tab-talent pairs; doesn't execute at all if there is no inspected player. Caveats --- Cataclysm unknown A = 831 PointsSpent = 5
dbkwik:wowwiki/pro...iPageUsesTemplate
abstract
  • Now, for tab,talent in talentpairs() do DEFAULT_CHAT_FRAME:AddMessage(tab..","..talent) end - prints all player's tab-talent pairs from 1,1 through 3,20-something. for tab,talent in talentpairs(false,true) do DEFAULT_CHAT_FRAME:AddMessage(tab..","..talent) end - prints all player's pet's tab-talent pairs; doesn't execute at all if the player has no pet. for tab,talent in talentpairs(true) do DEFAULT_CHAT_FRAME:AddMessage(tab..","..talent) end - prints all inspected player's tab-talent pairs; doesn't execute at all if there is no inspected player. Caveats There is a really annoying bug with this where it will sometimes return that there are 0 tabs. Doing a reload of the User Interface appears to clear it up, but that's of limited utility. Either avoid using this API, or include code to handle the case where it returns 0. This has only happened to me at startup, if talents are checked before PLAYER_ALIVE fires. They may not be available to the API before that event. - Sine Pi (talk) 12:42, 28 July 2009 (UTC) --- Cataclysm This API has been changed for Cataclysm: (unknown), TreeNameLocalized, TreeDescription, TreeIcon, PointsSpent, TreeNameUnlocalized , (unknown), (unknown) = GetTalentTabInfo(i) For instance, as paladin you could get: unknown A = 831 TreeNameLocalized = Holy TreeDescription = Invokes the power of the Light to protect and to heal. TreeIcon = Interface\Icons\Spell_Holy_HolyBolt PointsSpent = 5 TreeNameUnlocalized = PALADINHOLY unknown B = 0 unknown C = true
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software