Quantcast API change summaries/Dev - WoWWiki - Your guide to the World of Warcraft
Recent changes Random page
GAMING
Gaming
 
StarCraft Wiki
Super Smash Wiki
Halopedia
Diablo Wiki
FFXIclopedia
Grand Theft Wiki
See more...

API change summaries/Dev

From WoWWiki

Jump to: navigation, search
Main Menu


This page lists archived summaries of changes to the WoW API (including the Widget API and Lua functions) as seen on forums and other places.

For changes to FrameXML, see http://wdn.wowinterface.com, it has a full repository of all FrameXML versions, including on-line diff engines and the works.

Version 2.3 (20300)

APIChange Description
Macro Commands
New/petautocasttoggle <slot or name>Changes autocast status of a pet ability .
New/targetlastenemyTargets last enemy
New/targetlastefriendTargets last enemy
Updated/cancelformRecognized instantly
Updatedconditional abbreviations modifier -> mod, button-> btn, actionbar -> bar, equipped -> worn, stance -> form.
Frame methods
ChangedUpdateScrollChildRectAutomatically called when a child frame, texture or fontstring changes.
NewFrame:IsEventRegisteredDetermines if a frame is registered for a specific event.
NewFontString:SetFormattedTextReduces garbage generated by format calls.
NewButton:SetFormattedTextReduces garbage generated by format calls.
NewFontString:GetHeightReturns a font string's height.
UpdatedFontString:GetWidthNow takes an optional argument explicit, which, if provided and true, returns 0 if the width has not been explicitly set rather than returning the effective width. Defaults to false.
UpdatedFontString:GetWidthNow takes an optional argument explicit, which, if provided and true, returns 0 if the width has not been explicitly set rather than returning the effective height. Defaults to false.
NewEditBox:SetCursorPosition(position)Allows setting cursor position.
NewEditBox:GetCursorPosition()Returns cursor position.
RenamedGameTooltip:SetTrackingSpell()GameTooltip:SetTracking()
Frame Support
NewGetFramesRegisteredForEventReturns a list of frames registered for a specific event.
API
New PickupItemPicks up a specific item (by id or item string) from anywhere in your bags.
UpdatedGetItemCountNew includeUses flag that returns the same value that GetActionCount() would for that item
NewGetSpellCountGiven a spell ID/name, returns the same value that GetActionCount() would return for that spell
Rate this article:
Share this article: