Patch 5.2.0/API changes

From Wowpedia
Jump to: navigation, search

New features

  • Display both text/percent on status bars option
  • Monk [Stagger] bar displays the amount of staggered damage the monk will take in the next 10 seconds.
  • Absorption effects are now displayed over the default UI's health bars; it is possible for addons to retrieve the total amount of absorption stacked on a unit.
  • SecureActionButtonTemplate has a new "togglemenu" action type, which (securely) opens a unit popup menu for the unit specified by the action button.
  • Items in void storage can now be used to transmogrify items in your inventory. (API calls implemented, but no UI added: PrepVoidStorageForTransmogrify() and UseVoidItemForTransmogrify())

Global API changes

FrameXML changes

  • Global MAX_BLACKLIST_BATTLEGROUNDS has moved from FrameXML into the addon Blizzard_PVPUI. Addons relying on MAX_BLACKLIST_BATTLEGROUNDS will have to find a workaround (it's a constant value, 2 right now, so you can use that) or watch "ADDON_LOADED" for the PVPUI.
  • The global values in the form "MAP_BAR_"..tag..stringType..phase are now more easily accessed through MapBarFrame_GetString(stringType, tag, phase).

Automated diff

Click on the headers to expand the tables below.


Global API

Global API (5.1.0.16309 → 5.2.0.16650)
36 new functions 30 removed functions
C_MapBar.BarIsShown
C_MapBar.GetCurrentValue
C_MapBar.GetMaxValue
C_MapBar.GetParticipationPercentage
C_MapBar.GetPhaseIndex
C_MapBar.GetTag
C_PetBattles.GetForfeitPenalty
C_PetJournal.GetPetCooldownByGUID
DeclineChannelInvite
DevTest1
GetArenaTeamIndexBySize
GetBlacklistMapName
GetDifficultyInfo
GetHolidayBGInfo
GetLFGBonusFactionID
GetQuestChoiceInfo
GetQuestChoiceOptionInfo
GetQuestChoiceRewardCurrency
GetQuestChoiceRewardFaction
GetQuestChoiceRewardInfo
GetQuestChoiceRewardItem
GetRaidDifficultyID
GetRandomBGInfo
GetSchoolString
GetSpellLossOfControlCooldown
IsAllowedToUserTeleport
IsTradeSkillReady
PrepVoidStorageForTransmogrify
RequestRandomBattlegroundInstanceInfo
SendQuestChoiceResponse
SetLFGBonusFactionID
SetRaidDifficultyID
UnitGetTotalAbsorbs
UnitStagger
UpdateWorldMapArrow
UseVoidItemForTransmogrify
ClearChannelWatch
CommentatorAddPlayer
CommentatorGetPartyInfo
CommentatorGetSkirmishMode
CommentatorGetSkirmishQueueCount
CommentatorGetSkirmishQueuePlayerInfo
CommentatorRemovePlayer
CommentatorRequestSkirmishMode
CommentatorRequestSkirmishQueueData
CommentatorSetPlayerIndex
CommentatorSetSkirmishMatchmakingMode
CommentatorStartInstance
CommentatorStartSkirmishMatch
CreateMiniWorldMapArrowFrame
CreateWorldMapArrowFrame
DeclineInvite
GetCurrentRaidDifficulty
GetInstanceDifficulty
GetMinigameState
GetMinigameType
GetRaidDifficulty
MakeMinigameMove
PlayDance
PositionMiniWorldMapArrowFrame
PositionWorldMapArrowFrame
SetChannelWatch
SetRaidDifficulty
ShowMiniWorldMapArrowFrame
ShowWorldMapArrowFrame
UpdateWorldMapArrowFrames

FrameXML

FrameXML (5.1.0.16309 → 5.2.0.16650)
3 new functions 5 removed functions
BattlegroundShineFadeIn
BattlegroundShineFadeOut
IsAlreadyInQueue
IsPvPFrameSelected
TogglePVPFrame

Events

Events (5.1.0.16309 → 5.2.0.16650)
7 new events 4 removed events
COMMENTATOR_SKIRMISH_MODE_REQUEST
COMMENTATOR_SKIRMISH_QUEUE_REQUEST
MINIGAME_UPDATE
START_MINIGAME

Widget API

Widget API (5.1.0.16309 → 5.2.0.16650)
37 new methods 37 removed methods
Cooldown:GetCooldownDuration
Cooldown:SetBlingDuration
PlayerModel:AdvanceTime
PlayerModel:ClearFog
PlayerModel:ClearModel
PlayerModel:GetCameraDistance
PlayerModel:GetCameraFacing
PlayerModel:GetCameraPosition
PlayerModel:GetCameraTarget
PlayerModel:GetFacing
PlayerModel:GetFogColor
PlayerModel:GetFogFar
PlayerModel:GetFogNear
PlayerModel:GetLight
PlayerModel:GetModel
PlayerModel:GetModelScale
PlayerModel:GetPosition
PlayerModel:GetWorldScale
PlayerModel:HasCustomCamera
PlayerModel:ReplaceIconTexture
PlayerModel:SetCamera
PlayerModel:SetCameraDistance
PlayerModel:SetCameraFacing
PlayerModel:SetCameraPosition
PlayerModel:SetCameraTarget
PlayerModel:SetCustomCamera
PlayerModel:SetFacing
PlayerModel:SetFogColor
PlayerModel:SetFogFar
PlayerModel:SetFogNear
PlayerModel:SetGlow
PlayerModel:SetLight
PlayerModel:SetModel
PlayerModel:SetModelScale
PlayerModel:SetPosition
PlayerModel:SetSequence
PlayerModel:SetSequenceTime
Minimap:SetPlayerTextureHeight
Minimap:SetPlayerTextureWidth
Model:AdvanceTime
Model:ClearFog
Model:ClearModel
Model:GetCameraDistance
Model:GetCameraFacing
Model:GetCameraPosition
Model:GetCameraTarget
Model:GetFacing
Model:GetFogColor
Model:GetFogFar
Model:GetFogNear
Model:GetLight
Model:GetModel
Model:GetModelScale
Model:GetPosition
Model:GetWorldScale
Model:HasCustomCamera
Model:ReplaceIconTexture
Model:SetCamera
Model:SetCameraDistance
Model:SetCameraFacing
Model:SetCameraPosition
Model:SetCameraTarget
Model:SetCustomCamera
Model:SetFacing
Model:SetFogColor
Model:SetFogFar
Model:SetFogNear
Model:SetGlow
Model:SetLight
Model:SetModel
Model:SetModelScale
Model:SetPosition
Model:SetSequence
Model:SetSequenceTime

Widget Handlers

Widget Handlers (5.1.0.16309 → 5.2.0.16650)
2 new handlers 2 removed handlers
Model OnAnimFinished
Model OnUpdateModel