Patch 3.4.0/API changes

From Warcraft Wiki
Jump to navigation Jump to search

Summary

  • The client has pulled in a subset of API changes from Patch 9.2.5. This includes various breaking changes around the UnitPopup menu system.
  • The client now supports a new _Wrath suffix for loading client-specific TOC files. An alternative suffix of -WOTLKC is also supported for consistency with other legacy TOC suffixes.
  • UnitAura has gained an additional return value (shouldConsolidate) immediately before the variable returns.
  • The CURSOR_UPDATE event has been replaced by CURSOR_CHANGED.

Resources

Global API

2.5.4 (44400) → 3.4.0 (45435) Sep 1 2022
Added (228) Removed (27)
AddPreviewTalentPoints
AddTrackedAchievement
C_ActionBar.ShouldOverrideBarShowHealthBar
C_ActionBar.ShouldOverrideBarShowManaBar
C_BarberShop.ApplyCustomizationChoices
C_BarberShop.Cancel
C_BarberShop.ClearPreviewChoices
C_BarberShop.CycleCharCustomization
C_BarberShop.GetAvailableCustomizations
C_BarberShop.GetBarbersChoiceCost
C_BarberShop.GetCurrentCameraZoom
C_BarberShop.GetCurrentCharacterData
C_BarberShop.GetCurrentCost
C_BarberShop.GetCustomizationTypeInfo
C_BarberShop.HasAnyChanges
C_BarberShop.IsValidCustomizationType
C_BarberShop.IsViewingAlteredForm
C_BarberShop.IsViewingNativeSex
C_BarberShop.IsViewingVisibleSex
C_BarberShop.PreviewCustomizationChoice
C_BarberShop.RandomizeCustomizationChoices
C_BarberShop.ResetCameraRotation
C_BarberShop.ResetCustomizationChoices
C_BarberShop.RotateCamera
C_BarberShop.SetCameraDistanceOffset
C_BarberShop.SetCameraZoomLevel
C_BarberShop.SetCustomizationChoice
C_BarberShop.SetModelDressState
C_BarberShop.SetSelectedSex
C_BarberShop.SetViewingAlteredForm
C_BarberShop.SetViewingShapeshiftForm
C_BarberShop.ZoomCamera
C_BattleNet.GetAccountInfoByGUID
C_BattleNet.GetAccountInfoByID
C_BattleNet.GetFriendAccountInfo
C_BattleNet.GetFriendGameAccountInfo
C_BattleNet.GetFriendNumGameAccounts
C_BattleNet.GetGameAccountInfoByGUID
C_BattleNet.GetGameAccountInfoByID
C_CurrencyInfo.GetBasicCurrencyInfo
C_CurrencyInfo.GetCurrencyContainerInfo
C_FriendList.IsOnIgnoredList
C_GamePad.GetPowerLevel
C_LFGList.GetActivityInfoTable
C_LFGList.GetRoles
C_LFGList.IsPlayerAuthenticatedForLFG
C_LFGList.RequestInvite
C_LFGList.SetRoles
C_Macro.GetNumIcons
C_PartyInfo.IsPartyFull
C_PlayerInfo.GetAlternateFormInfo
C_PlayerInfo.IsXPUserDisabled
C_PvP.GetRandomBGLossRewards
C_PvP.GetRandomBGRewards
C_ReportSystem.GetMajorCategoriesForReportType
C_ReportSystem.GetMajorCategoryString
C_ReportSystem.GetMinorCategoriesForReportTypeAndMajorCategory
C_ReportSystem.GetMinorCategoryString
C_ReportSystem.SendReport
CallCompanion
CanChangePlayerDifficulty
CanEditGuildEvent
CanExitVehicle
CanShowAchievementUI
CanSwitchVehicleSeats
ClearAchievementComparisonUnit
CompleteLFGReadyCheck
ConfirmBarbersChoice
DismissCompanion
ExpandCurrencyList
GetAchievementCategory
GetAchievementComparisonInfo
GetAchievementCriteriaInfoByID
GetAchievementCriteriaInfo
GetAchievementInfo
GetAchievementLink
GetAchievementNumCriteria
GetAchievementNumRewards
GetAchievementReward
GetActiveTalentGroup
GetBackpackCurrencyInfo
GetCategoryAchievementPoints
GetCategoryInfo
GetCategoryList
GetCategoryNumAchievements
GetCompanionCooldown
GetCompanionInfo
GetComparisonAchievementPoints
GetComparisonCategoryNumAchievements
GetComparisonStatistic
GetContainerItemGems
GetContainerItemQuestInfo
GetCurrencyInfo
GetCurrencyLink
GetCurrencyListInfo
GetCurrencyListLink
GetCurrencyListSize
GetCurrentArenaSeasonUsesTeams
GetGlyphLink
GetGlyphSocketInfo
GetGroupPreviewTalentPointsSpent
GetGuildEventInfo
GetInspectArenaData
GetInventoryItemGems
GetLatestCompletedAchievements
GetLatestCompletedComparisonAchievements
GetLatestUpdatedComparisonStats
GetLatestUpdatedStats
GetMaxCombatRatingBonus
GetMaxRewardCurrencies
GetMultiCastTotemSpells
GetNextAchievement
GetNumBattlegroundTypes
GetNumCompanions
GetNumComparisonCompletedAchievements
GetNumCompletedAchievements
GetNumGlyphSockets
GetNumGuildEvents
GetNumQuestCurrencies
GetNumQuestLogRewardCurrencies
GetNumRewardCurrencies
GetNumTalentGroups
GetNumTrackedAchievements
GetOverrideBarIndex
GetOverrideBarSkin
GetPendingGlyphInfo
GetPersonalRatedInfo
GetPetTalentTree
GetPreviewTalentPointsSpent
GetPreviousAchievement
GetPreviousArenaSeasonUsesTeams
GetQuestCurrencyID
GetQuestCurrencyInfo
GetQuestLink
GetQuestLogCompletionText
GetQuestLogRewardArenaPoints
GetQuestLogRewardCurrencyInfo
GetQuestLogRewardTalents
GetQuestLogRewardXP
GetQuestLogSpecialItemCooldown
GetQuestLogSpecialItemInfo
GetQuestSortIndex
GetQuestUiMapID
GetRewardArenaPoints
GetRewardTalentPoints
GetRuneCooldown
GetRuneType
GetStatisticsCategoryList
GetStatistic
GetTalentGroupRole
GetThreatStatusColor
GetTotalAchievementPoints
GetTrackedAchievements
GetTradeSkillDescription
GetTradeSkillListLink
GetUnspentTalentPoints
GetVehicleBarIndex
GetWorldPVPQueueMapName
GetWorldPVPQueueStatus
GlyphMatchesSocket
HasCompletedAnyAchievement
HasOverrideActionBar
HasVehicleActionBar
InitiateRolePoll
IsAchievementEligible
IsAtStableMaster
IsInActiveWorldPVP
IsPlayerInGuildFromGUID
IsPossessBarVisible
IsQuestLogSpecialItemInRange
IsThreatWarningEnabled
IsTrackedAchievement
IsTradeSkillLinked
IsUsingVehicleControls
IsVehicleAimAngleAdjustable
IsVehicleAimPowerAdjustable
IsXPUserDisabled
JoinWorldPVPQueue
LearnPreviewTalents
PickupCompanion
PickupCurrency
PlaceGlyphInSocket
QueryGuildEventLog
RemoveGlyphFromSocket
RemoveTrackedAchievement
RequestInviteFromUnit
RequestPVPRewards
RequestRatedInfo
ResetGroupPreviewTalentPoints
ResetPreviewTalentPoints
SetAchievementComparisonUnit
SetActiveTalentGroup
SetCurrencyBackpack
SetCurrencyUnused
SetMultiCastSpell
SetTalentGroupRole
ShiftQuestWatches
SortBGList
StopTradeSkillRepeat
UnitControllingVehicle
UnitGetAvailableRoles
UnitHasVehiclePlayerFrameUI
UnitHasVehicleUI
UnitInVehicleControlSeat
UnitInVehicleHidesPetFrame
UnitInVehicle
UnitTargetsVehicleInRaidUI
UnitUsingVehicle
UnitVehicleSkinType
UnitVehicleSkin
UseQuestLogSpecialItem
VehicleAimDecrement
VehicleAimDownStart
VehicleAimDownStop
VehicleAimGetAngle
VehicleAimGetNormAngle
VehicleAimGetNormPower
VehicleAimIncrement
VehicleAimRequestAngle
VehicleAimRequestNormAngle
VehicleAimSetNormPower
VehicleAimUpStart
VehicleAimUpStop
VehicleCameraZoomIn
VehicleCameraZoomOut
VehicleExit
VehicleNextSeat
VehiclePrevSeat
BattlefieldSetPendingReportTarget
C_Calendar.ContextMenuEventComplain
C_ChatInfo.ReportPlayer
C_Cursor.DropCursorCommunitiesStream
C_Cursor.GetCursorCommunitiesStream
C_Cursor.SetCursorCommunitiesStream
C_LFGInfo.CanPlayerUseGroupFinder
C_LFGInfo.CanPlayerUseLFD
C_LFGInfo.CanPlayerUseLFR
C_LFGInfo.CanPlayerUsePremadeGroup
C_LFGInfo.CanPlayerUsePVP
C_LFGInfo.ConfirmLfgExpandSearch
C_LFGInfo.GetAllEntriesForCategory
C_LFGInfo.GetLFDLockStates
C_LFGInfo.GetRoleCheckDifficultyDetails
C_LFGInfo.HideNameFromUI
C_LFGList.GetActivityInfo
C_LFGList.ReportSearchResult
C_ReportSystem.InitiateReportPlayer
C_ReportSystem.OpenReportPlayerDialog
C_ReportSystem.SendReportPlayer
C_ReportSystem.SetPendingReportPetTarget
C_ReportSystem.SetPendingReportTargetByGuid
C_ReportSystem.SetPendingReportTarget
ComplainInboxItem
SetPendingReportPetTarget
SetPendingReportTarget

Widgets

Added (10) Removed (0)
Region:GetSourceLocation
GameTooltip:SetBackpackToken
GameTooltip:SetCurrencyToken
GameTooltip:SetCurrencyTokenByID
GameTooltip:SetEquipmentSet
GameTooltip:SetGlyph
GameTooltip:SetLootCurrency
GameTooltip:SetQuestCurrency
GameTooltip:SetQuestLogCurrency
GameTooltip:SetQuestLogSpecialItem

Events

Added (43) Removed (3)
ACTIVE_TALENT_GROUP_CHANGED
AUCTION_HOUSE_POST_ERROR
AUCTION_HOUSE_POST_WARNING
BARBER_SHOP_APPEARANCE_APPLIED
BARBER_SHOP_CAMERA_VALUES_UPDATED
BARBER_SHOP_CLOSE
BARBER_SHOP_COST_UPDATE
BARBER_SHOP_FORCE_CUSTOMIZATIONS_UPDATE
BARBER_SHOP_OPEN
BARBER_SHOP_RESULT
BATTLEFIELD_AUTO_QUEUE_EJECT
BATTLEFIELD_AUTO_QUEUE
CLIENT_SCENE_CLOSED
CLIENT_SCENE_OPENED
COMPANION_LEARNED
COMPANION_UNLEARNED
COMPANION_UPDATE
CONFIRM_BARBERS_CHOICE
CURSOR_CHANGED
GAME_PAD_POWER_CHANGED
GLYPH_ADDED
GLYPH_REMOVED
GLYPH_UPDATED
GUILD_EVENT_LOG_UPDATE
LFG_LIST_ROLE_UPDATE
PET_TALENT_UPDATE
PLAYER_DIFFICULTY_CHANGED
PLAYER_TALENT_UPDATE
PREVIEW_PET_TALENT_POINTS_CHANGED
PREVIEW_TALENT_POINTS_CHANGED
PVP_RATED_STATS_UPDATE
RAISED_AS_GHOUL
ROLE_POLL_BEGIN
RUNE_POWER_UPDATE
RUNE_TYPE_UPDATE
TALENT_GROUP_ROLE_CHANGED
TRADE_SKILL_FILTER_UPDATE
UPDATE_MULTI_CAST_ACTIONBAR
UPDATE_OVERRIDE_ACTIONBAR
UPDATE_POSSESS_BAR
UPDATE_VEHICLE_ACTIONBAR
VEHICLE_ANGLE_UPDATE
WORLD_PVP_QUEUE

CVars

Added (19) Removed (1)
calendarShowResetscalendarShowResets (Game)
Default: 0, Scope: Character
Whether raid resets should appear in the calendar
cameraFovcameraFov (Graphics)
Default: 90, Scope: Account
Default camera field of view
consolidateBuffsconsolidateBuffs (Game)
Default: 0, Scope: Character
Consolidates buffs displayed for the player.
enableSourceLocationLookupenableSourceLocationLookup (Debug)
Default: 0
Allows addon file name lookup for debugging help
equipmentManagerequipmentManager (Game)
Default: 0, Scope: Character
Enables the equipment management UI
fstack_showhighlightfstack_showhighlight (Debug)
Default: 1
0: Hide Highlight, 1: Show Highlight (Default).
lfgNewPlayerFriendlylfgNewPlayerFriendly (Game)
Default: 0, Scope: Character
Stores whether this character wants their group finder listings to be flagged as New Player Friendly.
previewTalentspreviewTalents (Game)
Default: 0, Scope: Character
Toggles the ability to preview talents before spending talent points.
ShowAllSpellRanksShowAllSpellRanks (Game)
Default: 1, Scope: Account
show either all spell ranks, or only the highest rank
Sound_EnableDSPEffectsSound_EnableDSPEffects (Sound)
Default: 1
textureErrorColorstextureErrorColors (Graphics)
Default: 1
If enabled, replaceable textures that aren't specified will be purple
threatPlaySoundsthreatPlaySounds (Game)
Default: 1, Scope: Account
Whether or not to sounds when certain threat transitions occur
threatShowNumericthreatShowNumeric (Game)
Default: 0, Scope: Account
Whether or not to show numeric threat on the target and focus frames
threatWarningthreatWarning (Game)
Default: 3, Scope: Character
Whether or not to show threat warning UI (0 = off, 1 = in dungeons, 2 = in party/raid, 3 = always)
threatWorldTextthreatWorldText (Game)
Default: 1, Scope: Account
Whether or not to show threat floaters in combat
trackerFiltertrackerFilter (Game)
Default: 7, Scope: Character
filter option for the objectives tracker
trackerSortingtrackerSorting (Game)
Default: 0, Scope: Character
sorting option for the objectives tracker
watchFrameWidthwatchFrameWidth (Game)
Default: 0
Controls objectives frame width
Commands
SetRaidDifficultySetRaidDifficulty (Debug)
Sets the difficulty of the raid. Must be outside of instance to use. (Similar to setting through character portrait UI)
TTSUseCharacterSettings