Advertisement
Guest User

Untitled

a guest
May 22nd, 2014
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.15 KB | None | 0 0
  1. New API version 100004
  2.  
  3. - Several new game features have been added. See patch notes for specific discussions about these features. This is the AddOn API documentation about them.
  4.  
  5. - Death Recap API:
  6. There are now specific logs about what caused your character's untimely demise. Additionally, the system exposes hints about how to improve your character's chances of survival.
  7.  
  8. - Added global variables DeathRecapHintImportance
  9. * DEATH_RECAP_HINT_IMPORTANCE_ALWAYS_INCLUDE
  10. * DEATH_RECAP_HINT_IMPORTANCE_EXCLUSIVE
  11. * DEATH_RECAP_HINT_IMPORTANCE_NORMAL
  12.  
  13. - Added ActionResult:
  14. * ACTION_RESULT_KILLED_BY_SUBZONE (indicates that a player died due to environmental damage)
  15.  
  16. - Added DeathRecap API:
  17. * GetNumKillingAttacks
  18. * GetKillingAttackInfo
  19. * DoesKillingAttackHaveAttacker
  20. * GetKillingAttackerInfo
  21. * GetNumDeathRecapHints
  22. * GetDeathRecapHintInfo
  23.  
  24. - Changed GetDeathInfo return values
  25.  
  26. - Raid/Trials API:
  27. This includes a new game type with leaderboards and LFG tools.
  28.  
  29. Changed some LFG and LFM functionality along with this new feature:
  30. - Changed GetLFGOption
  31. - Added GetLFGActivityMaxValue
  32. - Added EVENT_INSTANCE_KICK_TIME_UPDATE to inform the player that there's a pending instance kick that's about to happen.
  33. - Added new LFGActivity global: LFG_ACTIVITY_TRIAL
  34.  
  35. - Added new LFGGroupType global:
  36. * LFG_GROUP_TYPE_LARGE
  37. * LFG_GROUP_TYPE_MEDIUM
  38. * LFG_GROUP_TYPE_REGULAR
  39.  
  40. - Added new NotificationType: NOTIFICATION_TYPE_LEADERBOARD
  41.  
  42. - Added new RaidLifeVisibilityChoice global (to choose which method used to visualize your remaining raid lives, changed by setting UISetting UI_SETTING_SHOW_RAID_LIVES):
  43. * RAID_LIFE_VISIBILITY_CHOICE_AUTOMATIC
  44. * RAID_LIFE_VISIBILITY_CHOICE_OFF
  45. * RAID_LIFE_VISIBILITY_CHOICE_ON
  46.  
  47. - Changed some tutorial trigger globals for raid leaderboard functionality:
  48. - Changed TUTORIAL_TRIGGER_CAMPAIGN_LEADERBOARDS_OPENED to TUTORIAL_TRIGGER_LEADERBOARDS_OPENED (as a more generic tutorial type for leaderboards)
  49. - Added
  50. * TUTORIAL_TRIGGER_RAID_TRIAL_COMPLETED
  51. * TUTORIAL_TRIGGER_RAID_TRIAL_FAILED
  52. * TUTORIAL_TRIGGER_RAID_TRIAL_STARTED
  53.  
  54. - Added global RAID_GROUP_SIZE_THRESHOLD.
  55.  
  56. - Added new ResurrectFailureReason:
  57. * RESURRECT_FAILURE_REASON_NO_INSTANCE_REVIVE_COUNTERS to indicate that the raid has no more revive counters remaining and this attempt is on its last legs.
  58.  
  59. - Added new TimeFormatPrecisionCode globals to help display those raid times with better precision:
  60. * TIME_FORMAT_PRECISION_MILLISECONDS
  61. * TIME_FORMAT_PRECISION_MILLISECONDS_NO_HOURS_OR_DAYS
  62.  
  63. - Changed GetSoulGemInfo to return the ItemQuality of the queried gem in favor of having a separate API for GetReviveSoulGemInfo. That function was removed.
  64.  
  65. - Added IsUnitResurrectableByPlayer to query if the given unit is resurrectable by the local player
  66. - Added IsUnitBeingResurrected to query if somebody is currently attempting to resurrect the given unit
  67. - Added DoesUnitHaveResurrectPending to query if somebody has already resurrected the given unit and they're just taking their sweet time to get up.
  68.  
  69. - API function listing for this system:
  70. * GetInstanceKickTime
  71. * GetRaidReviveCounterInfo
  72. * GetCurrentRaidTime
  73. * GetCurrentRaidDeaths
  74. * IsRaidInProgress
  75. * HasRaidEnded
  76. * WasRaidSuccessful
  77. * IsPlayerInRaid
  78. * IsPlayerInReviveCounterRaid
  79. * IsPlayerInRaidStagingArea
  80. * GetRaidName
  81. * GetCurrentParticipatingRaidId
  82. * QueryRaidLeaderboardData
  83. * GetNumRaidLeaderboards
  84. * GetRaidLeaderboardInfo
  85. * GetRaidLeaderboardLocalPlayerInfo
  86. * GetNumRaidLeaderboardEntries
  87. * GetRaidLeaderboardEntryInfo
  88. * GetRaidOfTheWeekTimes
  89. * GetPlayerRaidParticipationInfo
  90. * GetPlayerRaidProgressInfo
  91. * GetNumRaidScoreNotifications
  92. * GetRaidScoreNotificationId
  93. * GetRaidScoreNotificationInfo
  94. * GetNumRaidScoreNotificationMembers
  95. * GetRaidScoreNotificationMemberInfo
  96. * RemoveRaidScoreNotification
  97.  
  98. - New events:
  99. * EVENT_RAID_LEADERBOARD_DATA_CHANGED
  100. * EVENT_RAID_LEADERBOARD_PLAYER_DATA_CHANGED
  101. * EVENT_RAID_PARTICIPATION_UPDATE
  102. * EVENT_RAID_REVIVE_COUNTER_UPDATE
  103. * EVENT_RAID_SCORE_NOTIFICATION_ADDED
  104. * EVENT_RAID_SCORE_NOTIFICATION_REMOVED
  105. * EVENT_RAID_TIMER_STATE_UPDATE
  106. * EVENT_RAID_TRIAL_COMPLETE
  107. * EVENT_RAID_TRIAL_FAILED
  108. * EVENT_RAID_TRIAL_NEW_BEST_TIME
  109. * EVENT_RAID_TRIAL_STARTED
  110.  
  111. - Changes to /stuck API:
  112. To prevent abuse /stuck now charges the cost of fast-travel, has a cooldown, and takes a random amount of time to teleport.
  113.  
  114. - Added CURRENCY_CHANGE_REASON_STUCK to indicate that money was deducted from your character due to using /stuck
  115.  
  116. - Added API:
  117. * IsStuckFixPending
  118. * CanUseStuck
  119. * GetTimeUntilStuckAvailable
  120. * GetStuckCooldown
  121.  
  122. - Added events:
  123. * EVENT_STUCK_BEGIN
  124. * EVENT_STUCK_CANCELED
  125. * EVENT_STUCK_COMPLETE
  126. * EVENT_STUCK_ERROR_ALREADY_IN_PROGRESS
  127. * EVENT_STUCK_ERROR_INVALID_LOCATION
  128. * EVENT_STUCK_ERROR_IN_COMBAT
  129. * EVENT_STUCK_ERROR_ON_COOLDOWN
  130.  
  131. - New Campaign and Alliance War functionality:
  132. - Added function IsUnderpopBonusEnabled to see if the given campaign and alliance is currently receiving bonuses for not having as many players as the other sides.
  133. - Added EVENT_CAMPAIGN_UNDERPOP_BONUS_CHANGE_NOTIFICATION to show which campaign is being given the under pop bonus
  134. - Added CombatSetting COMBAT_SETTING_USE_BATTLE_LEVEL:
  135. - Allows the user to choose whether or not they would like to be battle-levelled in certain areas. Some areas force the user to be battle-levelled.
  136. - Added function CanChangeBattleLevelPreference to query if the user is in an area that allows this setting to be changed.
  137.  
  138. - Updated resolution modes:
  139. Changed FullscreenMode to support:
  140. * FULLSCREEN_MODE_FULLSCREEN_EXCLUSIVE - actual exclusive mode support
  141. * FULLSCREEN_MODE_FULLSCREEN_WINDOWED - what was previously known as "maximized", this is a borderless, non-exclusive fullscreen mode.
  142. * FULLSCREEN_MODE_WINDOWED - a window frame with a border
  143.  
  144. - Changes to the mount/stable sytems:
  145. - Added new ItemType: ITEMTYPE_MOUNT
  146. - Added events EVENT_MOUNT_ADDED_TO_STABLE and EVENT_STABLE_FULL
  147.  
  148. - Changes to quest sharing system (there were some back-end changes):
  149. - Removed QuestShareResult.
  150. - Removed EVENT_QUEST_SHARE_UPDATE
  151.  
  152. - Removed MapDisplayPinType MAP_PIN_TYPE_PIN_GLOW, it was no longer used.
  153.  
  154. - Removed deprecated functions:
  155. * TargetUnit
  156. * TargetUnitByName
  157. * ClearTarget
  158. * TargetNearestEnemy
  159.  
  160. - ToggleChatLog now returns whether or not logging is enabled so that addons that switched this wouldn't need to guess what the current mode was.
  161.  
  162. - Removed deprecated chat channel functions:
  163. * AcceptChatInvite
  164. * IsInCustomChatChannel
  165. * IsCustomChatChannel
  166. * JoinChatChannel
  167. * LeaveChatChannel
  168.  
  169. - Changes to the force-respec system:
  170. * GetLatestAbilityRespecNote
  171. * GetLatestAttributeRespecNote
  172. - The events EVENT_SKILL_FORCE_RESPEC, and EVENT_ATTRIBUTE_FORCE_RESPEC now include notes about why the respec is being forced
  173.  
  174. - Mundus stone interactions now send an event that the user can choose how to respond to to confirm or decline whether or not to accept the buff the stone applies:
  175. - Added EVENT_CONFIRM_MUNDUS_STONE_INTERACT to inform the user when they need to confirm the application of a mundus stone buff
  176. - Use SetPendingInteractionConfirmed(accept) to confirm whether or not to accept this buff
  177.  
  178. - Added a new center-screen announcement event type EVENT_DISPLAY_ANNOUNCEMENT which contains a potential title and description to display.
  179.  
  180. UI Object API Changes:
  181. - Removed TooltipControl deprecated API AppendYourCorpse
  182.  
  183. Miscellaneous Changes:
  184. Added Globals:
  185. - MIN_REQUIRED_LEVEL_TO_CREATE_GUILD - your character must be this level before being allowed to make a guild.
  186. - MAP_PIN_TYPE_GROUP_LEADER
  187.  
  188. Added functions:
  189. FormatIntegerWithDigitGrouping(number, delimiterString)
  190. To better support digit grouping with multibyte delimiter strings. For example in French, delimiterString is usually a non-breaking space sequence.
  191.  
  192. weaponType GetItemWeaponType(itemLink)
  193. armorType GetItemArmorType(itemLink)
  194. To help those inventory filter addons out a little so that they don't rely on texture paths or locale-specific data.
  195.  
  196. Added Events:
  197. EVENT_CAMPAIGN_ASSIGNMENT_RESULT (integer result) - where result is actually one of the globals from CAMPAIGN_REASSIGN_ERROR_*
  198. EVENT_RETICLE_TARGET_PLAYER_CHANGED - Updated to better inform users about when the reticle target changes to another player (instead of just any other unit)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement