Thread Tools Display Modes
08-09-12, 03:23 PM   #1
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
[5.0.4.15929-15952] API changes

some late dump of the _G changes
* Blizzard cleaned up a lot of leaking globals (e.g. frame), Meorawr mentioned this as well
* Changes to the Ranged slot
Lua Code:
  1. GetBuildInfo() => "5.0.4", "15952", "Aug  5 2012", 50001

Global API functions
New
  1. wowpedia, wowprog, framexml, IsBarberShopStyleValid() -- 2 hits in 1 file
  2. wowpedia, wowprog, framexml, IsRangedWeapon() -- 3 hits in 1 file
  3. wowpedia, wowprog, framexml, SetPendingReportPetTarget() -- 1 hit
  4. wowpedia, wowprog, framexml, UnitIsOtherPlayersBattlePet() -- 1 hit

FrameXML functions
New
  1. go-hero, MountListItem_OnClick() -- loadondemand
  2. go-hero, PetBattleUnitFrameDropDown_ReportUnit()
  3. go-hero, RaidFrameAllAssistCheckButton_UpdateAvailable()
  4. go-hero, StanceButton_OnEnter()
  5. go-hero, TotemFrame_AdjustPetFrame()
  6. go-hero, UpdateContainerFrameAnchors()
Removed
  1. go-hero, isRaidFinderDungeonDisplayable() -- local scope
  2. go-hero, updateContainerFrameAnchors() -- renamed case
  3. go-hero, wrapFunc() -- local scope

C_* functions
New
  1. wowpedia, framexml, C_PetBattles.SetPendingReportTargetFromUnit() -- 1 hit
Renamed
  1. wowpedia, framexml, C_PetBattles.AcceptQueuedPVPMatch() -> .AcceptPVPMatch() -- 2 hits in 2 files
  2. wowpedia, framexml, C_PetBattles.DeclineQueuedPVPMatch() -> .DeclinePVPMatch() -- 2 hits in 2 files
  3. wowpedia, framexml, C_PetBattles.SetPendingReportTargetFromBattlePetOwner() -> .SetPendingReportBattlePetTarget() -- 1 hit

Last edited by Ketho : 08-10-12 at 07:55 AM.
 
08-09-12, 03:24 PM   #2
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
String Variables
  • New
    Lua Code:
    1. DUNGEON_FLOOR_VALEOFETERNALBLOSSOMS1 = "Hall of the Crescent Moon"
    2. DUNGEON_FLOOR_VALEOFETERNALBLOSSOMS2 = "The Imperial Mercantile"
    3. DUNGEON_FLOOR_VALEOFETERNALBLOSSOMS3 = "The Emperor's Step"
    4. DUNGEON_FLOOR_VALEOFETERNALBLOSSOMS4 = "The Imperial Exhcange"
    5. ITEM_UPGRADE_STAT_AVERAGE_ITEM_LEVEL = "Item Level"
    6. REPORT_PET_NAME_CONFIRMATION = "Are you sure you want to report %s for inappropriate pet name?"
    7. TRANSFER_ABORT_XREALM_ZONE_DOWN = "Transfer Aborted: cross-realm zone is down"
  • Removed
    Lua Code:
    1. DUNGEON_FLOOR_SHRINEOFSEVENSTARS3 = "The Emperor's Step"
    2. DUNGEON_FLOOR_SHRINEOFSEVENSTARS4 = "The Imperial Exhcange"
    3. DUNGEON_FLOOR_SHRINEOFTWOMOONS1 = "Hall of the Crescent Moon"
    4. DUNGEON_FLOOR_SHRINEOFTWOMOONS2 = "The Imperial Mercantile"
    5. texName = "Interface\\WorldMap\\Elwynn\\Elwynn12" -- local scope

Number Variables
  • New
    Lua Code:
    1. ADDFRIENDFRAME_BNETHEIGHT = 296
    2. ADDFRIENDFRAME_WOWHEIGHT = 218
  • Removed
    Lua Code:
    1. MONKHARMONYBAR_SHOW_LEVEL = 0
    2. _framesSinceLast = 10 -- local scope
    3. _timeSinceLast = 1.3500000871718 -- local scope
    4. currentRank = 0 -- local scope
    5. indentLevel = 0 -- local scope
    6. mask = 256 -- local scope
    7. numPopUps = 0 -- local scope
    8. startingRank = 0 -- local scope

Tables
  • New
    Code:
    RUNE_MAPPING
    SLOT_ANIMATIONS
    UVARINFO
  • Removed
    Code:
    InspectRangedSlot
    InspectRangedSlotCount
    InspectRangedSlotFrame
    InspectRangedSlotIconTexture
    InspectRangedSlotSearchOverlay
    InspectRangedSlotStock
    TransmogrifyFrameRangedSlot
    TransmogrifyFrameRangedSlotAlterationTexture
    TransmogrifyFrameRangedSlotBorder
    TransmogrifyFrameRangedSlotGrabber
    TransmogrifyFrameRangedSlotIconTexture
    TransmogrifyFrameRangedSlotNoItem
    TransmogrifyFrameRangedSlotUndoIcon
    achievementFunctions -- local scope
    frame -- local scope
    runeMapping -- renamed
    shineGet -- local scope
    skillButtonNumSkillUpsText
    skillButtonSubSkillRankBar
    slotAnimations -- renamed
    uvarInfo -- renamed
 
08-09-12, 08:39 PM   #3
Talyrius
An Onyxian Warder
 
Talyrius's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 363
Does anyone know what "WMO" corresponds to in NEW_WMO_CHUNK? It's a new event that can be seen being used alongside ZONE_CHANGED and ZONE_CHANGED_NEW_AREA in the newest build.

Blizzard_BattlefieldMinimap.lua, line 91:
Lua Code:
  1. elseif ( event == "PLAYER_ENTERING_WORLD" or event == "ZONE_CHANGED" or event == "ZONE_CHANGED_NEW_AREA" or event == "NEW_WMO_CHUNK" ) then
WatchFrame.lua, line 331.

Last edited by Talyrius : 08-09-12 at 08:43 PM.
 
08-10-12, 12:38 AM   #4
AcidWeb
A Theradrim Guardian
 
AcidWeb's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 68
Originally Posted by Talyrius View Post
Does anyone know what "WMO" corresponds to in NEW_WMO_CHUNK? It's a new event that can be seen being used alongside ZONE_CHANGED and ZONE_CHANGED_NEW_AREA in the newest build.

Blizzard_BattlefieldMinimap.lua, line 91:
Lua Code:
  1. elseif ( event == "PLAYER_ENTERING_WORLD" or event == "ZONE_CHANGED" or event == "ZONE_CHANGED_NEW_AREA" or event == "NEW_WMO_CHUNK" ) then
WatchFrame.lua, line 331.
But only in watch frame and battleground map.

Only reference i could find is wmoLodDist variable inside GraphicsQualityLevels.lua.
 
08-10-12, 12:48 AM   #5
Ennie
A Murloc Raider
 
Ennie's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2010
Posts: 7
Originally Posted by Talyrius View Post
Does anyone know what "WMO" corresponds to in NEW_WMO_CHUNK? It's a new event that can be seen being used alongside ZONE_CHANGED and ZONE_CHANGED_NEW_AREA in the newest build.

Blizzard_BattlefieldMinimap.lua, line 91:
Lua Code:
  1. elseif ( event == "PLAYER_ENTERING_WORLD" or event == "ZONE_CHANGED" or event == "ZONE_CHANGED_NEW_AREA" or event == "NEW_WMO_CHUNK" ) then
WatchFrame.lua, line 331.
I think it's related to background downloading system. It may be terrain phase system. You can test it in the worgen starting area.
__________________
 
 

WoWInterface » Site Forums » Archived Beta Forums » MoP Beta archived threads » [5.0.4.15929-15952] API changes

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off