PTR 2.1 UI Lua and XML Changes

by Myrafae | 13/04/2007 14:14:33

Myrafae

While we're thankful for the info drysc, we have all this compiled (plus some things you didn't put down) in our Concise Changes thread by iriel :D
The quality of your attention is a reflection of the intelligence of those around you.
http://ctprofiles.net/7888 -- 70 Mage; http://ctprofiles.net/10941 -- 61 Priest

by Drysc | 13/04/2007 13:58:46

Drysc

  • General API Functions:

    • UPDATED - isSecure, taint = issecurevariable() - Now returns a second value which is the name of the addon that tainted the variable (or the empty string if it was tainted by a macro script), if it is not secure.
    • UPDATED: GetCursorInfo() will now return "merchant", index when the cursor holds a merchant item.
    • NEW - link = GetSendMailItemLink()
    • NEW - loggedIn = IsLoggedIn() - returns false before the PLAYER_LOGIN event, and true during and after the PLAYER_LOGIN event.
    • NEW - isFeigned = UnitIsFeignDeath("unit") - returns true if the unit is the player, or in the player's party/raid and is feigning death.
    • REMOVED - IsFeignDeath() - Replaced by UnitIsFeignDeath
    • UPDATED - SendAddOnMessage("prefix","message"[,"type"][,"target"]) -- now accepts "WHISPER" as the message type

  • Frame API Functions:

    • NEW - Frame:HookScript("name", function) - Exactly equivalent to hooksecurefunc(), but usable with frame script handlers. (Note that like hooksecurefunc(), this is not intended as a general hooking replacement, but to allow hooking of secure frame handlers.)

    GameTooltip API Functions:

    • UPDATED - name, unitid = GameTooltip:GetUnit() - Added second 'unitid' return value
    • NEW - hasComparison = GameTooltip:SetHyperlinkCompareItem(link, index) - Sets a comparison tooltip to show the index'th comparison item to the item specified as link. Will return a true value if there is an index'th comparison item (index is 1 or 2).
  • by Slouken | 16/04/2007 07:11:44

    Slouken

    Unstickied since most of the information is already available in the stickies currently.

    Blizzard Announcement Recent Blizzard Announcements

     



    Loaded in 0.03166 seconds