Patch 5.1.0/API changes

From Wowpedia
Jump to: navigation, search

New features

Loss of control UI 
Notifies the player when their character is affected by crowd control, interrupt, and spell lockout effects.
Instance-based chat channels 
Separate chat channels for battleground/instance groups.
Pet Journal API updates 
Pets are now identified using GUIDs (several functions renamed to this effect); added functions to translate a pet name to a pet GUID, and functions and slash commands to summon a random pet: /randompet and /randomfavoritepet.

Miscellaneous

Automated diff

Click on the headers to expand the tables below.


Global API

Global API (5.0.4.16016 → 5.1.0.16309)
24 new functions 3 removed functions
C_PetJournal.GetSummonedPetID
C_PetJournal.SummonPetByID
GetFriendshipReputationByID

FrameXML

FrameXML (5.0.4.16016 → 5.1.0.16309)
6 new functions 1 removed functions
CheckForMapInBlacklist

Events

Events (5.0.4.16016 → 5.1.0.16309)
6 new events 2 removed events
CHAT_MSG_BATTLEGROUND
CHAT_MSG_BATTLEGROUND_LEADER

Widget API

Widget API (5.0.4.16016 → 5.1.0.16309)
7 new methods 0 removed methods

Widget Handlers

Widget Handlers (5.0.4.16016 → 5.1.0.16309)
0 new handlers 2 removed handlers
Animation OnEvent
AnimationGroup OnEvent