Patch 3.2.0/API changes

From Warcraft Wiki
Jump to navigation Jump to search

Development Tools

  • 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

Quest Difficulty

Functions

  • removed GetDifficutlyColor(level) -- Replaced by GetQuestDifficultyColor(level)[2]
  • new GetQuestDifficultyColor(level) -- exact replacement for GetDifficutlyColor(level)[2]

Arrays

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

  • updated or removed UnitIsPlusMob(unitID) -- (not 100% sure, but believed to have been removed)

Quest Maps

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

  • undocumented GetAbandonedQuestName()
  • undocumented GetAbandonQuestItems()
  • undocumented GetQuestLogSpellLink()

Spell Casting

Casting Events

Spell casting events and queries indicate whether enemy spells/channeling can be interrupted:

Casting Functions

Calendar Functions

Mail functions

Gamemaster Functions

  • new GMResponseNeedMoreHelp(text)

Loot Trading/Refunding

Other Information

Other Useful Events

Combatlog Events

ChatLog Events

Inventory Events

Unit Events

  • new UNIT_DISSIPATES

GameMaster Events

  • new GMRESPONSE_RECEIVED

Battlefield Events

  • 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

References