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

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).
|