WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   MoP Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=162)
-   -   [5.0.4.15929-15952] API changes (https://www.wowinterface.com/forums/showthread.php?t=43866)

Ketho 08-09-12 03:23 PM

[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
Quote:

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
Quote:

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
Quote:

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


Ketho 08-09-12 03:24 PM

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


Talyrius 08-09-12 08:39 PM

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.

AcidWeb 08-10-12 12:38 AM

Quote:

Originally Posted by Talyrius (Post 259434)
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.

Ennie 08-10-12 12:48 AM

Quote:

Originally Posted by Talyrius (Post 259434)
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.


All times are GMT -6. The time now is 04:28 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI