WoWInterface

WoWInterface (http://www.wowinterface.com/forums/index.php)
-   MoP archived threads (http://www.wowinterface.com/forums/forumdisplay.php?f=162)
-   -   [5.0.3.15882-5.0.4.15913] API changes (http://www.wowinterface.com/forums/showthread.php?t=43806)

Ketho 07-29-12 07:57 PM

[5.0.3.15882-5.0.4.15913] API changes
 
and yet another ugly dump of the _G changes
Lua Code:
  1. GetBuildInfo() => "5.0.4", "15913", "Jul 26 2012", 50001

Global API functions
Quote:

New
  1. wowpedia, wowprog, framexml, AcknowledgeAutoAcceptQuest() -- 1 hit
  2. wowpedia, wowprog, framexml, BNCheckBattleTagInviteToGuildMember() -- 1 hit
  3. wowpedia, wowprog, framexml, BNCheckBattleTagInviteToUnit() -- 1 hit
  4. wowpedia, wowprog, framexml, BNSendVerifiedBattleTagInvite() -- 1 hit
  5. wowpedia, wowprog, framexml, BNTokenFindName() -- 1 hit
  6. wowpedia, wowprog, GetAreaMapInfo() -- unused
  7. wowpedia, wowprog, GetAreaMaps() -- unused
  8. wowpedia, wowprog, GetContinentMapInfo() -- unused
  9. wowpedia, wowprog, GetContinentMaps() -- unused
  10. wowpedia, wowprog, GetDungeonMapInfo() -- unused
  11. wowpedia, wowprog, GetDungeonMaps() -- unused
  12. wowpedia, wowprog, framexml, GetGlyphLinkByID() -- 1 hit
  13. wowpedia, wowprog, GetWorldLocFromMapPos() -- unused
  14. wowpedia, wowprog, GetWorldMapTransformInfo() -- unused
  15. wowpedia, wowprog, GetWorldMapTransforms() -- unused
Removed
  1. wowpedia, wowprog, framexml, BNTokenCombineGivenAndSurname() -- 1 hit, renamed to BNTokenFindName()


FrameXML functions
Quote:

New
  1. go-hero, AddFriendFrame_IsValidBattlenetName()
  2. go-hero, BattlePetToolTip_Show()
  3. go-hero, BattleTagInviteFrame_Show()
  4. go-hero, FriendsFrameBattlenetFrame_HideBroadcastFrame()
  5. go-hero, FriendsFrameBattlenetFrame_HideSubFrames()
  6. go-hero, FriendsFrameBattlenetFrame_SetBroadcast()
  7. go-hero, FriendsFrameBattlenetFrame_ShowBroadcastFrame()
  8. go-hero, FriendsFrameBattlenetFrame_UpdateBroadcast()
  9. go-hero, FriendsTabHeader_ClickTab()
  10. go-hero, FriendsTabHeader_ResizeTabs()
  11. go-hero, GuildMemberDropDown_Initialize() -- loadondemand
  12. go-hero, GuildMemberOfflineDropDown_Initialize() -- loadondemand
  13. go-hero, GuildRoster_ShowMemberDropDown() -- loadondemand
  14. go-hero, InputScrollFrame_OnLoad()
  15. go-hero, InspectTalentFrameTalent_OnClick() -- loadondemand
  16. go-hero, PetJournal_HidePetDropdown() -- loadondemand
  17. go-hero, ReputationWatchBar_UpdateMaxLevel()
  18. go-hero, StanceBar_OnEvent()
  19. go-hero, StanceBar_OnLoad()
Removed
  1. go-hero, CoreAbility_OnEnter() -- previously deprecated
  2. go-hero, InspectGlyphFrameHeader_OnClick()
  3. go-hero, InspectGlyphFrameSpell_OnClick()


C_* functions
Quote:

New
  1. wowpedia, framexml, C_PetBattles.GetAbilityStateModification() -- 1 hit
  2. wowpedia, framexml, C_PetBattles.GetAllStates() -- 1 hit


Ketho 07-29-12 07:57 PM

String Variables
  • New
    Lua Code:
    1. BATTLENET_FONT_COLOR_CODE = "|cff82c5ff"
    2. BATTLE_PET_COMBAT_LOG_CAPTURED_REDUCED = "You have captured %s %s!  (Weakened by capture to level %d)"
    3. BATTLE_PET_NEW_PET = "%s has been added to your pet journal!"
    4. BATTLE_PET_OBJECT_MINE = "Mine"
    5. BATTLE_PET_TOOLTIP_SUMMON = "Click to summon or dismiss your %s."
    6. DUNGEON_FLOOR_ELWYNN9 = "Jasperlode Mine"
    7. DUNGEON_FLOOR_OONAKAGU16 = "Oona Kagu"
    8. ENGRAVE = "Engrave"
    9. ERR_PETBATTLE_GAME_ROUNDS_LIMIT_WARNING = "Pet Battle Round Limit Reached - Will End in %d Rounds"
    10. ERR_PETBATTLE_GAME_TIME_LIMIT_WARNING = "Pet Battle Time Limit Reached - Will End in %d Minutes"
    11. ERR_PET_TOO_HIGH_LEVEL_TO_UNCAGE = "*TEMP* This pet is too high level for you"
    12. LOOKING_FOR_DUNGEON_PVEFRAME = "Dungeon Finder"
    13. NPC_NAMES_DROPDOWN_HOSTILE = "Hostile and Quest NPCs"
    14. NPC_NAMES_DROPDOWN_HOSTILE_TOOLTIP = "Display names for hostile NPC's and those NPCs involved with quests or being tracked."
    15. PET_JOURNAL_HEAL_SPELL_IN_BATTLE = "This spell is locked because you are in a battle."
    16. RAID_FINDER_PVEFRAME = "Raid Finder"
    17. SCENARIOS_PVEFRAME = "Scenarios"
    18. SPELL_FAILED_APPRENTICE_RIDING_REQUIREMENT = "Requires apprentice riding skill"
    19. SPELL_FAILED_COLD_RIDING_REQUIREMENT = "Requires cold weather flying skill"
    20. SPELL_FAILED_CUSTOM_ERROR_169 = "You are not the correct class for that mount."
    21. SPELL_FAILED_CUSTOM_ERROR_170 = "Nothing left to discover."
    22. SPELL_FAILED_FLIGHT_MASTER_RIDING_REQUIREMENT = "Requires flight master's license skill"
    23. SPELL_FAILED_JOURNEYMAN_RIDING_REQUIREMENT = "Requires journeyman riding skill"
    24. SPELL_FAILED_MASTER_RIDING_REQUIREMENT = "Requires master riding skill"
    25. UNITNAME_SUMMON_TITLE19 = "%s's Heartwarmer"

Number Variables
  • New
    Lua Code:
    1. FRIEND_TABS_MAX_WIDTH = 0
  • Removed
    Lua Code:
    1. LE_PET_BATTLE_STATE_WAITING_FOR_ROUND_PLAYBACK = 4

Tables
  • New
    Code:

    BATTLENET_FONT_COLOR
    BattlePetTooltip
    BattleTagInviteFrame
    BattleTagInviteFrameScrollFrame
    BattleTagInviteFrameScrollFrameScrollBar
    BattleTagInviteFrameScrollFrameScrollBarScrollDownButton
    BattleTagInviteFrameScrollFrameScrollBarScrollUpButton
    BattleTagInviteFrameScrollFrameScrollBarThumbTexture
    BattleTagInviteFrameText
    Boss5TargetFrame
    Boss5TargetFrameBackground
    Boss5TargetFrameBuffs
    Boss5TargetFrameDebuffs
    Boss5TargetFrameDropDown
    Boss5TargetFrameDropDownButton
    Boss5TargetFrameDropDownButtonDisabledTexture
    Boss5TargetFrameDropDownButtonHighlightTexture
    Boss5TargetFrameDropDownButtonNormalTexture
    Boss5TargetFrameDropDownButtonPushedTexture
    Boss5TargetFrameDropDownIcon
    Boss5TargetFrameDropDownLeft
    Boss5TargetFrameDropDownMiddle
    Boss5TargetFrameDropDownRight
    Boss5TargetFrameDropDownText
    Boss5TargetFrameFlash
    Boss5TargetFrameHealthBar
    Boss5TargetFrameManaBar
    Boss5TargetFrameMyHealPredictionBar
    Boss5TargetFrameNameBackground
    Boss5TargetFrameNumericalThreat
    Boss5TargetFrameNumericalThreatBG
    Boss5TargetFrameNumericalThreatValue
    Boss5TargetFrameOtherHealPredictionBar
    Boss5TargetFramePortrait
    Boss5TargetFramePowerBarAlt
    Boss5TargetFramePowerBarAltCounterBar
    Boss5TargetFramePowerBarAltCounterBarDigit1
    Boss5TargetFramePowerBarAltCounterBarDigit2
    Boss5TargetFramePowerBarAltCounterBarDigit3
    Boss5TargetFramePowerBarAltCounterBarDigit4
    Boss5TargetFramePowerBarAltCounterBarDigit5
    Boss5TargetFramePowerBarAltCounterBarDigit6
    Boss5TargetFramePowerBarAltCounterBarDigit7
    Boss5TargetFramePowerBarAltFill
    Boss5TargetFramePowerBarAltFlash
    Boss5TargetFramePowerBarAltStatusFrame
    Boss5TargetFramePowerBarAltStatusFrameText
    Boss5TargetFrameSpellBar
    Boss5TargetFrameSpellBarBorder
    Boss5TargetFrameSpellBarBorderShield
    Boss5TargetFrameSpellBarFlash
    Boss5TargetFrameSpellBarIcon
    Boss5TargetFrameSpellBarSpark
    Boss5TargetFrameSpellBarText
    Boss5TargetFrameTextureFrame
    Boss5TargetFrameTextureFrameDeadText
    Boss5TargetFrameTextureFrameHealthBarText
    Boss5TargetFrameTextureFrameHighLevelTexture
    Boss5TargetFrameTextureFrameLeaderIcon
    Boss5TargetFrameTextureFrameLevelText
    Boss5TargetFrameTextureFrameManaBarText
    Boss5TargetFrameTextureFrameName
    Boss5TargetFrameTextureFramePVPIcon
    Boss5TargetFrameTextureFramePetBattleIcon
    Boss5TargetFrameTextureFrameQuestIcon
    Boss5TargetFrameTextureFrameRaidTargetIcon
    Boss5TargetFrameTextureFrameTexture
    ExtraActionButton1NormalTexture
    FriendsFrameBattlenetFrame
    FriendsFrameBattlenetFrameScrollBar
    FriendsFrameBattlenetFrameScrollBarScrollDownButton
    FriendsFrameBattlenetFrameScrollBarScrollUpButton
    FriendsFrameBattlenetFrameScrollBarThumbTexture
    FriendsFrameBattlenetFrameText
    FriendsFrameBattlenetFrameTexture
    GuildMemberDropDown
    GuildMemberDropDownButton
    GuildMemberDropDownButtonDisabledTexture
    GuildMemberDropDownButtonHighlightTexture
    GuildMemberDropDownButtonNormalTexture
    GuildMemberDropDownButtonPushedTexture
    GuildMemberDropDownIcon
    GuildMemberDropDownLeft
    GuildMemberDropDownMiddle
    GuildMemberDropDownRight
    GuildMemberDropDownText
    OverrideActionBarBorder
    PetJournalHealPetButtonLockIcon
    PlayerFrameAlternateManaBarLeftBorder
    PlayerFrameAlternateManaBarRightBorder

  • Removed
    Code:

    FriendsFrameBattlenetStatus
    FriendsFrameBattlenetStatusInfoButton
    FriendsFrameBattlenetStatusInfoButtonTexture
    FriendsFrameBattlenetStatusText
    OverrideActionBarBoarder


p3lim 07-29-12 08:27 PM

If any of you encounter a quest that will trigger AcknowledgeAutoAcceptQuest(), or you think it does, please let me know (PM or reply here) what exact quest that was (id or name).

Ennie 07-29-12 11:43 PM

Quote:

Originally Posted by p3lim (Post 258991)
If any of you encounter a quest that will trigger AcknowledgeAutoAcceptQuest(), or you think it does, please let me know (PM or reply here) what exact quest that was (id or name).

Hi, p3lim!
If you examine QuestFrame.lua code, you'll see, if QuestFrame.autoQuest == true, then when you click 'accept' button, AcknowledgeAutoAcceptQuest will run.
Example is ID 29547 - The King's Command. That's the autoquest you get when zoned in Stormwind with lvl85 character.
WoWDB link: http://www.wowdb.com/quests/29547-the-kings-command

i hope that was the info you looking for.

p3lim 07-30-12 06:52 AM

Thanks Ennie, was exactly what I was looking for.

Nimhfree 07-30-12 12:05 PM

Do you need a master list of quests that are auto-accept or auto-turnin?

p3lim 07-30-12 12:35 PM

Nah, just an example so I can use it for testing.

p3lim 07-30-12 05:18 PM

If anyone was interrested, it does the same as AcceptQuest()


All times are GMT -6. The time now is 02:10 PM.

vBulletin © 2014, Jelsoft Enterprises Ltd
©2012 ZAM Network LLC