## Contents - [Contents](#contents) - [Notable Changes](#notable-changes) - [API Changes by Category](#api-changes-by-category) - [Enum Changes](#enum-changes) - [Event Changes](#event-changes) - [FrameXML API Changes](#framexml-api-changes) - [Widget API Changes](#widget-api-changes) - [Resources](#resources) ## Notable Changes - The interface version is **90200**. [Deprecations for this patch can be found here][Deprecated_9_2_0.lua]. - APIs and events have been added to make the client UI "Notch Aware" for MacBook Pro systems. ## API Changes by Category ### C_ClickBindings - Added: [C_ClickBindings.CanSpellBeClickBound] - Added: [C_ClickBindings.ExecuteBinding] - Added: [C_ClickBindings.GetBindingType] - Added: [C_ClickBindings.GetEffectiveInteractionButton] - Added: [C_ClickBindings.GetProfileInfo] - Added: [C_ClickBindings.GetStringFromModifiers] - Added: [C_ClickBindings.GetTutorialShown] - Added: [C_ClickBindings.MakeModifiers] - Added: [C_ClickBindings.ResetCurrentProfile] - Added: [C_ClickBindings.SetProfileByInfo] - Added: [C_ClickBindings.SetTutorialShown] ### C_GamePad - Added: [C_GamePad.ClearLedColor] - Added: [C_GamePad.GetLedColor] - Added: [C_GamePad.SetLedColor] ### C_Garrison - Added: [C_Garrison.GetCurrentCypherEquipmentLevel] - Added: [C_Garrison.GetCyphersToNextEquipmentLevel] - Added: [C_Garrison.GetMaxCypherEquipmentLevel] ### C_PlayerChoice - Added: [C_PlayerChoice.GetRemainingTime] ### C_PvP - Added: [C_PvP.CanDisplayDamage] - Added: [C_PvP.CanDisplayHealing] - Added: [C_PvP.CanDisplayKillingBlows] - Added: [C_PvP.GetCustomVictoryStatID] - Added: [C_PvP.GetSpecialEventBrawlInfo] - Removed: [C_PvP.GetSpecialEventDetails] - Removed: [C_PvP.GetSpecialEventInfo] ### C_TTSSettings - Added: [C_TTSSettings.ShouldOverrideMessage] ### C_Transmog - Added: [C_Transmog.ExtractTransmogIDList] - Added in hotfix build 9.1.5.41031. ### C_UI - Added: [C_UI.DoesAnyDisplayHaveNotch] - Returns true if any connected display has a notch. - Added: [C_UI.GetTopLeftNotchSafeRegion] - Returns a rectangle representing the screen region left of the notch. - Added: [C_UI.GetTopRightNotchSafeRegion] - Returns a rectangle representing the screen region right of the notch. - Added: [C_UI.ShouldUIParentAvoidNotch] - Returns true if UIParent should duck to avoid a notch. ### C_UIWidgetManager - Added: [C_UIWidgetManager.GetUnitPowerBarWidgetVisualizationInfo] ## Enum Changes - Added: [Enum.AuctionHouseError] - Added: [Enum.AuctionHouseNotification] - Added: [Enum.ClickBindingInteraction] - Added: [Enum.ClickBindingType] - Added: [Enum.LanguageFlag] - Added: [Enum.PetbattleState] - Added: [Enum.UnitSex] - This has additionally had a new "Both" value added. - Deprecated: [Enum.PetBattleState] - Replaced by [Enum.PetbattleState]. - Deprecated: Enum.Unitsex - Replaced by [Enum.UnitSex]. ## Event Changes - Added: [AUCTION_HOUSE_SHOW_COMMODITY_WON_NOTIFICATION] - Added: [AUCTION_HOUSE_SHOW_ERROR] - Added: [AUCTION_HOUSE_SHOW_FORMATTED_NOTIFICATION] - Added: [AUCTION_HOUSE_SHOW_NOTIFICATION] - Added: [CLICKBINDINGS_SET_HIGHLIGHTS_SHOWN] - Added: [GAME_PAD_ACTIVE_CHANGED] - Added in hotfix build 9.1.5.41288. - Added: [NOTCHED_DISPLAY_MODE_CHANGED] - Added: [NOTIFY_CHAT_SUPPRESSED] ## FrameXML API Changes Note that each build generally has a significant number of FrameXML utility changes, of which only significant ones of interest will be listed here. - Added: [AnchorUtil.DebugAnchorGraph] - Added: [AnchorUtil.PrintAnchorGraph] - Added: [FitToParent] - Added: [InClickBindingMode] - Added: [SetUIPanelShown] ## Widget API Changes ### FontString - Added: [FontString:GetTextScale] - Added: [FontString:SetTextScale] ### GameTooltip - Added: [GameTooltip:SetSpecialPvpBrawl] ## Resources - [FrameXML Diff](https://github.com/Gethe/wow-ui-source/compare/2f254e3a2caec49ee678d37f2175b33ed84f94f7..ptr) - [FrameXML Export](https://github.com/Gethe/wow-ui-source/commit/ptr) [Deprecated_9_2_0.lua]: https://github.com/Gethe/wow-ui-source/blob/ptr/Interface/AddOns/Blizzard_Deprecated/Deprecated_9_2_0.lua [C_ClickBindings.CanSpellBeClickBound]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/ClickBindingsDocumentation.lua#L10 [C_ClickBindings.ExecuteBinding]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/ClickBindingsDocumentation.lua#L24 [C_ClickBindings.GetBindingType]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/ClickBindingsDocumentation.lua#L35 [C_ClickBindings.GetEffectiveInteractionButton]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/ClickBindingsDocumentation.lua#L50 [C_ClickBindings.GetProfileInfo]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/ClickBindingsDocumentation.lua#L65 [C_ClickBindings.GetStringFromModifiers]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/ClickBindingsDocumentation.lua#L74 [C_ClickBindings.GetTutorialShown]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/ClickBindingsDocumentation.lua#L88 [C_ClickBindings.MakeModifiers]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/ClickBindingsDocumentation.lua#L97 [C_ClickBindings.ResetCurrentProfile]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/ClickBindingsDocumentation.lua#L106 [C_ClickBindings.SetProfileByInfo]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/ClickBindingsDocumentation.lua#L110 [C_ClickBindings.SetTutorialShown]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/ClickBindingsDocumentation.lua#L119 [C_GamePad.ClearLedColor]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/GamePadDocumentation.lua#L70 [C_GamePad.GetLedColor]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/GamePadDocumentation.lua#L161 [C_GamePad.SetLedColor]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/GamePadDocumentation.lua#L188 [C_Garrison.GetCurrentCypherEquipmentLevel]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/GarrisonInfoDocumentation.lua#L123 [C_Garrison.GetCyphersToNextEquipmentLevel]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/GarrisonInfoDocumentation.lua#L150 [C_Garrison.GetMaxCypherEquipmentLevel]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/GarrisonInfoDocumentation.lua#L245 [C_PlayerChoice.GetRemainingTime]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/PlayerChoiceDocumentation.lua#L28 [C_PvP.CanDisplayDamage]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/PvpInfoDocumentation.lua#L10 [C_PvP.CanDisplayHealing]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/PvpInfoDocumentation.lua#L28 [C_PvP.CanDisplayKillingBlows]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/PvpInfoDocumentation.lua#L46 [C_PvP.GetCustomVictoryStatID]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/PvpInfoDocumentation.lua#L244 [C_PvP.GetSpecialEventBrawlInfo]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/PvpInfoDocumentation.lua#L523 [C_TTSSettings.ShouldOverrideMessage]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/TTSSettingsDocumentation.lua#L193 [C_UI.DoesAnyDisplayHaveNotch]: https://www.townlong-yak.com/framexml/ptr/Blizzard_APIDocumentation#C_UI.DoesAnyDisplayHaveNotch [C_UI.GetTopLeftNotchSafeRegion]: https://www.townlong-yak.com/framexml/ptr/Blizzard_APIDocumentation#C_UI.GetTopLeftNotchSafeRegion [C_UI.GetTopRightNotchSafeRegion]: https://www.townlong-yak.com/framexml/ptr/Blizzard_APIDocumentation#C_UI.GetTopRightNotchSafeRegion [C_UI.ShouldUIParentAvoidNotch]: https://www.townlong-yak.com/framexml/ptr/Blizzard_APIDocumentation#C_UI.ShouldUIParentAvoidNotch [C_UIWidgetManager.GetUnitPowerBarWidgetVisualizationInfo]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/UIWidgetManagerDocumentation.lua#L368 [C_PvP.GetSpecialEventDetails]: https://www.townlong-yak.com/framexml/9.1.5/Blizzard_APIDocumentation#C_PvP.GetSpecialEventDetails [C_PvP.GetSpecialEventInfo]: https://www.townlong-yak.com/framexml/9.1.5/Blizzard_APIDocumentation#C_PvP.GetSpecialEventInfo [C_Transmog.ExtractTransmogIDList]: https://www.townlong-yak.com/framexml/9.1.5/Blizzard_APIDocumentation#C_Transmog.ExtractTransmogIDList [AnchorUtil.DebugAnchorGraph]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/SharedXML/AnchorUtil.lua#L293 [AnchorUtil.PrintAnchorGraph]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/SharedXML/AnchorUtil.lua#L324 [FitToParent]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/SharedXML/FrameUtil.lua#L81 [InClickBindingMode]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/FrameXML/UIParent.lua#L893 [SetUIPanelShown]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/FrameXML/UIParent.lua#L3567 [AUCTION_HOUSE_SHOW_COMMODITY_WON_NOTIFICATION]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/AuctionHouseDocumentation.lua#L1019 [AUCTION_HOUSE_SHOW_ERROR]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/AuctionHouseDocumentation.lua#L1029 [AUCTION_HOUSE_SHOW_FORMATTED_NOTIFICATION]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/AuctionHouseDocumentation.lua#L1038 [AUCTION_HOUSE_SHOW_NOTIFICATION]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/AuctionHouseDocumentation.lua#L1048 [CLICKBINDINGS_SET_HIGHLIGHTS_SHOWN]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/ClickBindingsDocumentation.lua#L129 [GAME_PAD_ACTIVE_CHANGED]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/GamePadDocumentation.lua#L231 [NOTIFY_CHAT_SUPPRESSED]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/ChatInfoDocumentation.lua#L2132 [NOTCHED_DISPLAY_MODE_CHANGED]: https://www.townlong-yak.com/framexml/ptr/Blizzard_APIDocumentation#NOTCHED_DISPLAY_MODE_CHANGED [Enum.AuctionHouseError]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/AuctionHouseEnumsDocumentation.lua#L18 [Enum.AuctionHouseNotification]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/AuctionHouseEnumsDocumentation.lua#L85 [Enum.ClickBindingInteraction]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/ClickBindingsConstantsDocumentation.lua#L6 [Enum.ClickBindingType]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/ClickBindingsConstantsDocumentation.lua#L18 [Enum.LanguageFlag]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/ChatConstantsDocumentation.lua#L40 [Enum.PetbattleState]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/PetBattleConstantsDocumentation.lua#L270 [Enum.PetBattleState]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_Deprecated/Deprecated_9_2_0.lua#L11 [Enum.UnitSex]: https://github.com/Gethe/wow-ui-source/blob/7b405cd80f56bfa7d637b07a576f9139ba7e4cae/Interface/AddOns/Blizzard_APIDocumentation/UnitSexConstantsDocumentation.lua#L6 [FontString:GetTextScale]: https://wow.fandom.com/wiki/API_FontString_GetTextScale [FontString:SetTextScale]: https://wow.fandom.com/wiki/API_FontString_SetTextScale [GameTooltip:SetSpecialPvpBrawl]: https://wow.fandom.com/wiki/API_GameTooltip_SetSpecialPvpBrawl