Patch 5.4.2/API changes

From Wowpedia
Jump to: navigation, search

Changes

  • random() and Math.random() now point to securerandom(), which is significantly slower. To explicitly use the pre-5.4.2 random, use fastrandom() instead.
    • Fastrandom is no longer accessible in the secure environment
  • GetGuildRosterInfo()'s first return value now returns player name - realm name instead of just the player name (e.g. "Arthas-Silvermoon")

Automated diff

Global API

Global API (5.4.1.17538 → 5.4.2.17688)
7 new functions 2 removed functions
StartUnratedArena
securerandom

FrameXML

FrameXML (5.4.1.17538 → 5.4.2.17688)
2 new functions

Events

Events (5.4.1.17538 → 5.4.2.17688)
55 new events
ACCOUNT_DATA_INITIALIZED
ACCOUNT_MESSAGES_AVAILABLE
ACCOUNT_MESSAGES_BODY_LOADED
ACCOUNT_MESSAGES_HEADERS_LOADED
ADDON_LIST_UPDATE
AUTH_CHALLENGE_UI_INVALID
CHARACTER_LIST_UPDATE
CLIENT_ACCOUNT_MISMATCH
CLIENT_CONVERTED
CLIENT_TRIAL
CLOSE_STATUS_DIALOG
DISCONNECTED_FROM_SERVER
DISPLAY_PROMOTION
ENCOUNTER_END
ENCOUNTER_START
FORCE_DECLINE_CHARACTER
FORCE_RENAME_CHARACTER
FRAMES_LOADED
GAME_ACCOUNTS_UPDATED
GET_PREFERRED_REALM_INFO
GLUE_SCREENSHOT_FAILED
GLUE_SCREENSHOT_SUCCEEDED
GLUE_UPDATE_EXPANSION_LEVEL
LAUNCHER_LOGIN_STATUS_CHANGED
LOGIN_STARTED
LOGIN_STOPPED
LUA_WARNING
OPEN_REALM_LIST
OPEN_STATUS_DIALOG
PATCH_DOWNLOADED
PATCH_UPDATE_PROGRESS
PET_JOURNAL_PET_RESTORED
PET_JOURNAL_PET_REVOKED
PLAYER_ENTER_MATRIX
PLAYER_ENTER_PIN
PLAYER_ENTER_TOKEN
RANDOM_CHARACTER_NAME_RESULT
SCANDLL_DOWNLOADING
SCANDLL_ERROR
SCANDLL_FINISHED
SCREEN_FIRST_DISPLAYED
SELECT_FIRST_CHARACTER
SELECT_LAST_CHARACTER
SERVER_SPLIT_NOTICE
SET_GLUE_SCREEN
SHOW_SERVER_ALERT
SHOW_SURVEY_NOTIFICATION
START_GLUE_MUSIC
SUGGEST_REALM
SUGGEST_REALM_WRONG_CATEGORY
SUGGEST_REALM_WRONG_PVP
TIMER_ALERT
UPDATE_SELECTED_CHARACTER
UPDATE_SELECTED_RACE
UPDATE_STATUS_DIALOG

Widget API

Widget API (5.4.1.17538 → 5.4.2.17688)
2 new methods

Lua Enums

Lua Enums (5.4.1.17538 → 5.4.2.17688)
New
LE_AUTOCOMPLETE_PRIORITY (new)
_OTHER = 1
_INTERACTED = 2
_IN_GROUP = 3
_GUILD = 4
_FRIEND = 5