WoW:API change summaries/Dev: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Mainly formatting)
 
m (Move page script moved page API change summaries/Dev to API change summaries/Dev without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page lists archived summaries of changes to the [[World of Warcraft API|WoW API]] (including the [[Widget API]] and [[Lua functions]]) as seen on forums and other places.
#REDIRECT [[API change summaries]]
 
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) ==
{| class="darktable"
|-
!!!API!!Change Description
|-
| class="title" colspan="3"|Macro Commands
|-
|[[Image:Icon-cogadd-16x16.png|New]]||/petautocasttoggle <slot or name>||Changes autocast status of a pet ability .
|-
|[[Image:Icon-cogadd-16x16.png|New]]||/targetlastenemy||Targets last enemy
|-
|[[Image:Icon-cogadd-16x16.png|New]]||/targetlastefriend||Targets last enemy
|-
|[[Image:Icon-cogedit-16x16.png|Updated]]||/cancelform||Recognized instantly
|-
|[[Image:Icon-cogedit-16x16.png|Updated]]||conditional abbreviations|| modifier -> mod, button-> btn, actionbar -> bar, equipped -> worn, stance -> form.
|-
| class="title" colspan="3"|Frame methods
|-
|[[Image:Icon-cogedit-16x16.png|Changed]]||[[API_ScrollFrame_UpdateScrollChildRect|UpdateScrollChildRect]]||Automatically called when a child frame, texture or fontstring changes.
|-
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_Frame_IsEventRegistered|Frame:IsEventRegistered]]||Determines if a frame is registered for a specific event.
|-
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_FontString_SetFormattedText|FontString:SetFormattedText]]||Reduces garbage generated by format calls.
|-
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_Button_SetFormattedText|Button:SetFormattedText]]||Reduces garbage generated by format calls.
|-
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_FontString_GetHeight|FontString:GetHeight]]||Returns a font string's height.
|-
|[[Image:Icon-cogedit-16x16.png|Updated]]||[[API_FontString_GetWidth|FontString:GetWidth]]||Now 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.
|-
|[[Image:Icon-cogedit-16x16.png|Updated]]||[[API_FontString_GetHeight|FontString:GetWidth]]||Now 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.
|-
|[[Image:Icon-cogadd-16x16.png|New]]||EditBox:SetCursorPosition(position)||Allows setting cursor position.
|-
|[[Image:Icon-cogadd-16x16.png|New]]||EditBox:GetCursorPosition()||Returns cursor position.
|-
|[[Image:Icon-coggo-16x16.png|Renamed]]||GameTooltip:SetTrackingSpell()||GameTooltip:SetTracking()
|-
| class="title" colspan="3"|Frame Support
|-
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_GetFramesRegisteredForEvent|GetFramesRegisteredForEvent]]||Returns a list of frames registered for a specific event.
|-
| class="title" colspan="3"|API
|-
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_ PickupItem| PickupItem]]||Picks up a specific item (by id or item string) from anywhere in your bags.
|-
|[[Image:Icon-cogedit-16x16.png|Updated]]||[[API_GetItemCount|GetItemCount]]||New includeUses flag that returns the same value that GetActionCount() would for that item
|-
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_GetSpellCount|GetSpellCount]]||Given a spell ID/name, returns the same value that GetActionCount() would return for that spell
|}
 
[[Category:World of Warcraft API]]

Latest revision as of 04:45, 15 August 2023