Patch 3.2.0/API changes
Talk0
98,450pages on
this wiki
this wiki
< Patch 3.2.0
This article documents API changes made in Patch 3.2.0.
|
Contents |
Development Tools
Edit
- The default UI now contains versions of some popular (I may be biassed) tools for UI developers - /dump, /eventtrace, /framestack, and /reload [1]
Saved Instances
Edit
- updated GetSavedInstanceInfo(index) -- added two bools to return: instanceIDMostSig, isRaid[1]
- updated GetInstanceLockTimeRemaining() -- Added Bool isPreviousInstance to return (part of the extend instance stuff) [1]
Quest Difficulty
Edit
Functions
Edit
- removed GetDifficutlyColor(level) -- Replaced by GetQuestDifficultyColor(level) [3]
- new GetQuestDifficultyColor(level) -- exact replacement for GetDifficutlyColor(level) [3]
Arrays
Edit
Not sure of where these arrays live (global? FrameUI? QuestUI?), but this very subtle change broke several addons, so it's being included here
- removed "QuestDifficultyColor" array -- Replaced by "QuestDifficultyColors" array
- new "QuestDifficultyColors"array -- exact replacement for "QuestDifficultyColor" array
Unit Functions
Edit
- updated or removed UnitIsPlusMob(unitID) -- (not 100% sure, but believed to have been removed)
Quest Maps
Edit
There's support for points of interest on the map associated with quests, the API functions are:
- new QuestMapUpdateQuest(index) -- Is 'index' the normal quest log index? [1]
- new QuestMapGetQuestName(index) [1]
- new QuestMapGetPOIInfoForQuest(questIndex, poiIndex) [1]
Quest API
Edit
- undocumented GetAbandonedQuestName()
- undocumented GetAbandonQuestItems()
- undocumented GetQuestLogSpellLink()
Spell Casting
Edit
Casting Events
Edit
Spell casting events and queries indicate whether enemy spells/channeling can be interrupted:
- new UNIT_SPELLCAST_INTERRUPTIBLE [1]
- new UNIT_SPELLCAST_NOT_INTERRUPTIBLE [1]
Casting Functions
Edit
- updated UnitCastingInfo(unit) -- added interrupt result [1]
- updated UnitChannelInfo(unit) -- added interrupt result [1]
Calendar Functions
Edit
- updated CalendarGetDayEvent()
- new CalendarGetDayEventSequenceInfo()
Mail functions
Edit
- updated GetInboxNumItems() -- added totalItems
Gamemaster Functions
Edit
- new GMResponseNeedMoreHelp(text)
Loot Trading/Refunding
Edit
- new END_REFUND -- triggered when a returnable item's refund period ends (or maybe would end if action performed?) [1]
- new END_BOUND_TRADEABLE -- Not 100% sure of this is the right event name [1]
- new EndBoundTradeable(someVar) -- inferred from staticPopupDialogs.lua [1]
- new GetSocketItemBoundTradeable() [4]
Other Information
Edit
- new GetPlayerInfoByGUID("guid") - Returns basic information about another player from their GUID [1]
- new FillLocalizedClassList(table, boolean)
- new IsXPUserDisabled()
- new CanQueueForWintergrasp()
- updated IsFlyableArea() -- updated to work properly in dalaran (returning 1 in Karsus landing) [5]
Other Useful Events
Edit
Combatlog Events
Edit
- updated COMBAT_LOG_EVENT
ChatLog Events
Edit
- new UPDATE_CHAT_COLOR_NAME_BY_CLASS [4]
Inventory Events
Edit
- new EQUIPMENT_SWAP_FINISHED [1]
Unit Events
Edit
- new UNIT_DISSIPATES
GameMaster Events
Edit
Battlefield Events
Edit
- new BATTLEFIELD_MGR_QUEUE_REQUEST_RESPONSE
- new BATTLEFIELD_MGR_QUEUE_INVITE
- new BATTLEFIELD_MGR_ENTRY_INVITE
- new BATTLEFIELD_MGR_EJECT_PENDING
- new BATTLEFIELD_MGR_EJECTED
- new NPC_PVPQUEUE_ANYWHERE
Reputation Events
Edit
- new ENABLE_XP_GAIN
- new DISABLE_XP_GAIN