Wikia

WoWWiki

Patch 4.0.1/API changes

Talk1
101,678pages on
this wiki

< Patch 4.0.1

Revision as of 00:59, October 15, 2010 by Starlightblunder (Talk | contribs)


This article covers the cumulative AddOn UI Customization and Macro API changes for Patch 4.0.1. See API change summaries for a list of API change summaries for all patches.
API change summaries

Breaking changes

  • Global variables this, event, arg1, ..., are no longer available.
  • UNIT_MANA, UNIT_ENERGY, UNIT_RAGE, UNIT_RUNIC_POWER, UNIT_FOCUS and UNIT_HAPPINESS events, as well as their UNIT_MAX* counterparts, no longer fire. UNIT_POWER and UNIT_MAXPOWER may be used instead.
  • GetItemCooldown now only accepts numeric item IDs as its argument.
  • Cancelling player buffs and temporary weapon enchants is now protected.

Global API

REMOVED AbandonQuest
REMOVED AcceptSkillUps
REMOVED AddSkillUp
REMOVED BuyPetition
REMOVED BuySkillTier
REMOVED BuyStableSlot
REMOVED CancelSkillUps
REMOVED ChangePlayerDifficulty
REMOVED ClickPetitionButton
REMOVED ClickStablePet
REMOVED CloseBattlefield
REMOVED ClosePetitionVendor
REMOVED CollapseSkillHeader
REMOVED CollapseTrainerSkillLine
REMOVED ExpandSkillHeader
REMOVED ExpandTrainerSkillLine
REMOVED FindSpellBookSlotByID
REMOVED GetAdjustedSkillPoints
REMOVED GetArenaCurrency
REMOVED GetAvailableRoles
REMOVED GetBaseMip
REMOVED GetBattlefieldInfo
REMOVED GetBattlefieldInstanceInfo
REMOVED GetCVarAbsoluteMax
REMOVED GetCVarAbsoluteMin
REMOVED GetCVarMax
REMOVED GetCVarMin
REMOVED GetDamageBonusStat
REMOVED GetFarclip
REMOVED GetGuildBankWithdrawLimit
REMOVED GetHonorCurrency
REMOVED GetKnownSlotFromHighestRankSlot
REMOVED GetNextStableSlotCost
REMOVED GetNumBattlefields
REMOVED GetNumPetitionItems
REMOVED GetNumSkillLines
REMOVED GetNumStablePets
REMOVED GetNumStableSlots
REMOVED GetPetitionItemInfo
REMOVED GetQuestLogRewardArenaPoints
REMOVED GetQuestLogRewardHonor
REMOVED GetSelectedBattlefield
REMOVED GetSelectedSkill
REMOVED GetSelectedStablePet
REMOVED GetSkillLineInfo
REMOVED GetSpellName
REMOVED GetTerrainMip
REMOVED GetTexLodBias
REMOVED GetTrackingTexture
REMOVED GetTrainerServiceStepIncrease
REMOVED GetTrainerServiceStepReq
REMOVED GetTrainerSkillLineFilter
REMOVED GetTrainerSkillLines
REMOVED GetUnitHealthRegenRateFromSpirit
REMOVED GetWaterDetail
REMOVED HasFilledPetition
REMOVED IsBattlefieldArena
REMOVED IsPlayerResolutionAvailable
REMOVED IsSelectedSpell
REMOVED IsTrainerServiceSkillStep
REMOVED QuestPOIUpdateTexture
REMOVED RemoveSkillUp
REMOVED RestoreVideoEffectsDefaults
REMOVED RestoreVideoResolutionDefaults
REMOVED RestoreVideoStereoDefaults
REMOVED SetBaseMip
REMOVED SetFarclip
REMOVED SetGuildBankTabWithdraw
REMOVED SetGuildBankWithdrawLimit
REMOVED SetSelectedBattlefield
REMOVED SetSelectedSkill
REMOVED SetTerrainMip
REMOVED SetTexLodBias
REMOVED SetTrainerSkillLineFilter
REMOVED SetWaterDetail
REMOVED StablePet
REMOVED TurnInArenaPetition
REMOVED TurnInPetition
REMOVED UnitCharacterPoints
REMOVED UnstablePet
REMOVED UpdateSpells
REMOVED getglobal
REMOVED setglobal
NEW AddAutoQuestPopUp
NEW ArchaeologyGetIconInfo
NEW ArchaeologyMapUpdateAll
NEW ArcheologyGetVisibleBlobID
NEW BNGetMaxNumConversations
NEW BNTokenCombineGivenAndSurname
NEW CalendarGetGuildEventInfo
NEW CalendarGetGuildEventSelectionInfo
NEW CalendarGetNumGuildEvents
NEW CanBeRaidTarget
NEW CanItemBeSocketedToArtifact
NEW CanSolveArtifact
NEW CanTransform
NEW CanViewGuildRecipes
NEW CastGlyph
NEW CastGlyphByID
NEW CastGlyphByName
NEW ClearRaidMarker
NEW CloseReforge
NEW CloseResearch
NEW CollapseGuildTradeSkillHeader
NEW CommentatorStartWargame
NEW ConvertToParty
NEW CreateArenaTeam
NEW ExpandGuildTradeSkillHeader
NEW FindSpellBookSlotBySpellID
NEW GetAchievementGuildRep
NEW GetActiveArtifactByRace
NEW GetArchaeologyInfo
NEW GetArchaeologyRaceInfo
NEW GetArtifactInfoByRace
NEW GetArtifactProgress
NEW GetAutoDeclineGuildInvites
NEW GetAutoQuestPopUp
NEW GetAvailableBandwidth
NEW GetAvailableLocales
NEW GetAverageItemLevel
NEW GetBackgroundLoadingStatus
NEW GetBonusBarOverrideBarType
NEW GetCVarBitfield
NEW GetCallPetSpellInfo
NEW GetCemeteryPreference
NEW GetContainerItemEquipmentSetInfo
NEW GetContainerItemPurchaseCurrency
NEW GetCriteriaSpell
NEW GetCurrencyInfo
NEW GetCurrentLevelFeatures
NEW GetCurrentLevelSpells
NEW GetCurrentRaidDifficulty
NEW GetDebugAnimationStats
NEW GetDefaultRaidDifficulty
NEW GetDefaultVideoOptions
NEW GetDemotionRank
NEW GetDestinationReforgeStats
NEW GetDistanceSqToQuest
NEW GetDownloadedPercentage
NEW GetEclipseDirection
NEW GetFileStreamingStatus
NEW GetFlyoutID
NEW GetFlyoutInfo
NEW GetFlyoutSlotInfo
NEW GetGlyphClearInfo
NEW GetGlyphInfo
NEW GetGuildAchievementMemberInfo
NEW GetGuildAchievementMembers
NEW GetGuildAchievementNumMembers
NEW GetGuildBankWithdrawGoldLimit
NEW GetGuildCategoryList
NEW GetGuildExpirationTime
NEW GetGuildFactionGroup
NEW GetGuildFactionInfo
NEW GetGuildLevel
NEW GetGuildLevelEnabled
NEW GetGuildLogoInfo
NEW GetGuildMemberRecipes
NEW GetGuildNewsFilters
NEW GetGuildNewsInfo
NEW GetGuildNewsMemberName
NEW GetGuildNewsSort
NEW GetGuildPerkInfo
NEW GetGuildRecipeInfoPostQuery
NEW GetGuildRecipeMember
NEW GetGuildRewardInfo
NEW GetGuildRosterContribution
NEW GetGuildRosterLargestAchievementPoints
NEW GetGuildRosterLargestContribution
NEW GetGuildTradeSkillInfo
NEW GetHitModifier
NEW GetInspectGuildInfo
NEW GetMajorTalentTreeBonuses
NEW GetMastery
NEW GetMinorTalentTreeBonuses
NEW GetMonitorAspectRatio
NEW GetMonitorCount
NEW GetMonitorName
NEW GetNextPetTalentLevel
NEW GetNextTalentLevel
NEW GetNumArchaeologyRaces
NEW GetNumArtifactsByRace
NEW GetNumAutoQuestPopUps
NEW GetNumFlyouts
NEW GetNumGlyphs
NEW GetNumGuildNews
NEW GetNumGuildPerks
NEW GetNumGuildRewards
NEW GetNumGuildTradeSkill
NEW GetNumMembersInRank
NEW GetNumQuestCurrencies
NEW GetNumQuestLogRewardCurrencies
NEW GetNumReforgeOptions
NEW GetNumRewardCurrencies
NEW GetNumTalentPoints
NEW GetNumWorldPVPAreas
NEW GetPersonalRatedArenaInfo
NEW GetPersonalRatedBGInfo
NEW GetPlayerTradeCurrency
NEW GetPreviewPrimaryTalentTree
NEW GetPrimaryTalentTree
NEW GetProfessionInfo
NEW GetProfessions
NEW GetPromotionRank
NEW GetQuestCurrencyInfo
NEW GetQuestID
NEW GetQuestLogCriteriaSpell
NEW GetQuestLogIndexByID
NEW GetQuestLogIsAutoComplete
NEW GetQuestLogPortraitGiver
NEW GetQuestLogPortraitTurnIn
NEW GetQuestLogRewardCurrencyInfo
NEW GetQuestLogRewardSkillPoints
NEW GetQuestPortraitGiver
NEW GetQuestPortraitTurnIn
NEW GetRatedBattleGroundInfo
NEW GetReforgeItemInfo
NEW GetReforgeItemStats
NEW GetReforgeOptionInfo
NEW GetRewardNumSkillUps
NEW GetRewardSkillLineID
NEW GetRewardSkillPoints
NEW GetSavedInstanceChatLink
NEW GetSavedInstanceEncounterInfo
NEW GetSelectedArtifactInfo
NEW GetSelectedGlyphSpellIndex
NEW GetShapeshiftFormID
NEW GetSourceReforgeStats
NEW GetSpellAvailableLevel
NEW GetSpellBookItemInfo
NEW GetSpellBookItemName
NEW GetSpellBookItemTexture
NEW GetSpellDescription
NEW GetSpellHitModifier
NEW GetSuperTrackedQuestID
NEW GetTalentTreeEarlySpells
NEW GetTalentTreeMasterySpells
NEW GetTalentTreeRoles
NEW GetTargetTradeCurrency
NEW GetToolTipInfo
NEW GetTradeSkillSubClassFilteredSlots
NEW GetTradeSkillTexture
NEW GetVideoOptions
NEW GetWarGameQueueStatus
NEW GetWorldPVPAreaInfo
NEW GuildControlGetAllowedShifts
NEW GuildControlShiftRankDown
NEW GuildControlShiftRankUp
NEW GuildNewsSetSticky
NEW GuildNewsSort
NEW GuildUIEnabled
NEW InGuildParty
NEW InitiateRolePoll
NEW IsAchievementEligible
NEW IsArtifactCompletionHistoryAvailable
NEW IsCemeterySelectionAvailable
NEW IsDualWielding
NEW IsGMClient
NEW IsGlyphFlagSet
NEW IsInActiveWorldPVP
NEW IsInAuthenticatedRank
NEW IsRatedBattleground
NEW IsSelectedSpellBookItem
NEW IsSpellOverlayed
NEW IsTradeSkillGuild
NEW ItemAddedToArtifact
NEW JoinArena
NEW JoinRatedBattlefield
NEW LootSlotIsCurrency
NEW MouseOverrideCinematicDisable
NEW OldAbandonQuest
NEW PickupCurrency
NEW PickupSpellBookItem
NEW PlaceRaidMarker
NEW PlaySoundKitID
NEW PlayerHasHearthstone
NEW PortGraveyard
NEW QueryGuildMembersForRecipe
NEW QueryGuildNews
NEW QueryGuildRecipes
NEW QueryGuildXP
NEW QuestGetAutoLaunched
NEW QuestIsFromAreaTrigger
NEW QuestLogShouldShowPortrait
NEW ReforgeItem
NEW RefreshWorldMap
NEW RemoveAutoQuestPopUp
NEW RemoveItemFromArtifact
NEW RequestArtifactCompletionHistory
NEW RequestGuildPartyState
NEW RequestGuildRewards
NEW RequestPVPOptionsEnabled
NEW RequestRatedArenaInfo
NEW RequestRatedBattlegroundInfo
NEW ResistancePercent
NEW SearchGuildRecipes
NEW SetAutoDeclineGuildInvites
NEW SetCVarBitfield
NEW SetCemeteryPreference
NEW SetDefaultVideoOptions
NEW SetFocusedAchievement
NEW SetGlyphFilter
NEW SetGlyphNameFilter
NEW SetGuildBankTabItemWithdraw
NEW SetGuildBankWithdrawGoldLimit
NEW SetGuildNewsFilter
NEW SetGuildTradeSkillCategoryFilter
NEW SetGuildTradeSkillItemNameFilter
NEW SetPetSlot
NEW SetPreviewPrimaryTalentTree
NEW SetPrimaryTalentTree
NEW SetRaidTargetProtected
NEW SetReforgeFromCursorItem
NEW SetSelectedArtifact
NEW SetSpellbookPetAction
NEW SetSuperTrackedQuestID
NEW SetTradeCurrency
NEW ShowQuestComplete
NEW ShowQuestOffer
NEW SocketItemToArtifact
NEW SolveArtifact
NEW SortGuildTradeSkill
NEW StartUnratedArena
NEW StartWarGame
NEW ToggleAnimKitDisplay
NEW ToggleGlyphFilter
NEW Transform
NEW UnitAlternatePowerInfo
NEW UnitAlternatePowerTextureInfo
NEW UnitAttackerListCount
NEW UnitAttackerListInfo
NEW UnitGetAvailableRoles
NEW UnitGetGuildLevel
NEW UnitGetGuildXP
NEW UnitGetIncomingHeals
NEW UnitHasVehiclePlayerFrameUI
NEW UnitInPhase
NEW UnitIsQuestBoss
NEW UnitSetRole
NEW ViewGuildRecipes
NEW WarGameRespond


Events

REMOVED END_REFUND
REMOVED HONOR_CURRENCY_UPDATE
REMOVED INSPECT_TALENT_READY
REMOVED KNOWN_CURRENCY_TYPES_UPDATE
REMOVED UNIT_ENERGY
REMOVED UNIT_FOCUS
REMOVED UNIT_HAPPINESS
REMOVED UNIT_MAXENERGY
REMOVED UNIT_MAXFOCUS
REMOVED UNIT_MAXHAPPINESS
REMOVED UNIT_MAXMANA
REMOVED UNIT_MAXRAGE
REMOVED UNIT_MAXRUNIC_POWER
REMOVED UNIT_RAGE
REMOVED UNIT_RUNIC_POWER
NEW ARCHAEOLOGY_CLOSED
NEW ARCHAEOLOGY_TOGGLE
NEW ARTIFACT_COMPLETE
NEW ARTIFACT_DIG_SITE_UPDATED
NEW ARTIFACT_HISTORY_READY
NEW ARTIFACT_UPDATE
NEW BATTLEFIELD_QUEUE_TIMEOUT
NEW CALENDAR_UPDATE_GUILD_EVENTS
NEW CHAT_MSG_COMBAT_GUILD_XP_GAIN
NEW CHAT_SERVER_DISCONNECTED
NEW CHAT_SERVER_RECONNECTED
NEW DISABLE_DECLINE_GUILD_INVITE
NEW ECLIPSE_DIRECTION_CHANGE
NEW ENABLE_DECLINE_GUILD_INVITE
NEW ENTERED_DIFFERENT_INSTANCE_FROM_PARTY
NEW FORGE_MASTER_CLOSED
NEW FORGE_MASTER_ITEM_CHANGED
NEW FORGE_MASTER_OPENED
NEW FORGE_MASTER_SET_ITEM
NEW GUILD_NEWS_UPDATE
NEW GUILD_PARTY_STATE_UPDATED
NEW GUILD_PERK_UPDATE
NEW GUILD_RANKS_UPDATE
NEW GUILD_RECIPE_KNOWN_BY_MEMBERS
NEW GUILD_REWARDS_LIST
NEW GUILD_TRADESKILL_UPDATE
NEW GUILD_XP_UPDATE
NEW INSPECT_READY
NEW INSTANCE_LOCK_WARNING
NEW MASTERY_UPDATE
NEW PLAYER_AVG_ITEM_LEVEL_READY
NEW PLAYER_TRADE_CURRENCY
NEW PREVIEW_TALENT_PRIMARY_TREE_CHANGED
NEW PVP_RATED_STATS_UPDATE
NEW PVP_TYPES_ENABLED
NEW QUEST_AUTOCOMPLETE
NEW RECEIVED_ACHIEVEMENT_MEMBER_LIST
NEW REQUEST_CEMETERY_LIST_RESPONSE
NEW ROLE_CHANGED_INFORM
NEW ROLE_POLL_BEGIN
NEW SPELL_ACTIVATION_OVERLAY_GLOW_HIDE
NEW SPELL_ACTIVATION_OVERLAY_GLOW_SHOW
NEW SPELL_ACTIVATION_OVERLAY_HIDE
NEW SPELL_ACTIVATION_OVERLAY_SHOW
NEW SPELL_FLYOUT_UPDATE
NEW STREAMING_ICON
NEW TRADE_CURRENCY_CHANGED
NEW TRADE_SKILL_NAME_UPDATE
NEW UI_SCALE_CHANGED
NEW UNIT_CONNECTION
NEW UNIT_GUILD_LEVEL
NEW UNIT_HEAL_PREDICTION
NEW UNIT_MAXPOWER
NEW UNIT_PHASE
NEW UNIT_POWER
NEW UNIT_POWER_BAR_HIDE
NEW UNIT_POWER_BAR_SHOW
NEW UNIT_TARGETABLE_CHANGED
NEW WARGAME_REQUESTED
NEW WEIGHTED_SPELL_UPDATED

See also

Around Wikia's network

Random Wiki