Patch 5.1.0/API changes
Jump to navigation
Jump to search
This article documents API changes made in Patch 5.1.0.
|
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
- UnitIsBattlePet and UnitBattlePetSpeciesID added, and can be used to identify battle pets.
- Additional functions are now available within the RestrictedEnvironment:
- HasVehicleActionBar
- HasOverrideActionBar
- HasTempShapeshiftActionBar
- HasOverrideUI
- GetVehicleBarIndex
- GetOverrideBarIndex
- HasExtraActionBar
- GetTempShapeshiftBarIndex
- CanExitVehicle
- The Cooldown:SetCooldown function now automatically shows/hides the Cooldown widget when the cooldown animation is active and when it completes.
Automated diff
Click on the headers to expand the tables below.
Global API
24 new functions | 3 removed functions |
---|---|
|
|
FrameXML
6 new functions | 1 removed functions |
---|---|
|
|
Events
6 new events | 2 removed events |
---|---|
|
Widget API
7 new methods | 0 removed methods |
---|---|
|
Widget Handlers
0 new handlers | 2 removed handlers |
---|---|
|