Patch 5.4.0/API changes

From Wowpedia
Jump to: navigation, search

Breaking changes

  • Two new returns (bidderFullName at #13 and ownerFullName at #15) have been added to GetAuctionItemInfo. Owner, previously #13, has been pushed to #14. Returns previously after owner (saleStatus, itemId, hasAllInfo) have been pushed forward by two places.
    • The full call signature is now name, texture, count, quality, canUse, level, levelColHeader, minBid, minIncrement, buyoutPrice, bidAmount, highBidder, bidderFullName, owner, ownerFullName, saleStatus, itemId, hasAllInfo = GetAuctionItemInfo("list", offset)
  • One new return (bgQueue pushed from #4 to #5) have been added to GetLFGRoleUpdate.
    • The full call signature is now inProgress, slots, members, category, lfgID, bgQueue = GetLFGRoleUpdate()
  • StartWarGame("target"[, area]) "target" unitid was unitName previously

Modified API

Bugs

New features

  • Players from Connected Realms (5.4 feature) can be interacted with in more ways (e.g. trading) than players from Coalesced Realms (old cross-realm zone functionality). UnitRealmRelationship returns information about another player's realm.
  • A new error condition event, SAVED_VARIABLES_TOO_LARGE, was added which indicates that some, or all, of an AddOn's SavedVariables were not loaded due to the player's machine being out-of-memory. [1]

Automated diff

Click on the headers to expand the tables below.

Global API

Global API (5.3.0.17128 → 5.4.0.17359)
34 new functions 31 removed functions
AcceptArenaTeam
ArenaTeamDisband
ArenaTeamInviteByName
ArenaTeamLeave
ArenaTeamRoster
ArenaTeamSetLeaderByName
ArenaTeamUninviteByName
CalendarMassInviteArenaTeam
CloseArenaTeamRoster
DeclineArenaTeam
GetArenaTeam
GetArenaTeamGdfInfo
GetArenaTeamIndexBySize
GetArenaTeamRosterInfo
GetArenaTeamRosterSelection
GetArenaTeamRosterShowOffline
GetInspectArenaTeamData
GetNumArenaTeamMembers
GetPVPRankInfo
GetPVPRankProgress
GetPersonalRatedArenaInfo
GetPersonalRatedBGInfo
GuildUIEnabled
RegisterForSave
RegisterForSavePerCharacter
RequestRatedArenaInfo
RequestRatedBattlegroundInfo
SetArenaTeamRosterSelection
SetArenaTeamRosterShowOffline
SortArenaTeamRoster
UnitPVPRank

FrameXML

FrameXML (5.3.0.17128 → 5.4.0.17359)
6 new functions

Events

Events (5.3.0.17128 → 5.4.0.17359)
18 new events

Widget API

Widget API (5.3.0.17128 → 5.4.0.17359)
8 new methods

Lua Enums

Lua Enums (5.3.0.17128 → 5.4.0.17359)
New
LE_LFG_CATEGORY
_FLEXRAID = 5 (new)
LE_REALM_RELATION (new)
_SAME = 1
_COALESCED = 2
_VIRTUAL = 3
LE_WORLD_ELAPSED_TIMER_TYPE (new)
_NONE = 1
_CHALLENGE_MODE = 2
_PROVING_GROUND = 3

References

  1. ^ http://us.battle.net/wow/en/forum/topic/9362996672

External links