WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Legion Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=177)
-   -   API changes in Legion (https://www.wowinterface.com/forums/showthread.php?t=52908)

TOM_RUS 02-19-16 02:42 PM

Globals diff dump build 21063 vs 21108

zork 02-22-16 06:45 AM

Can someone post a full FrameXML diff compared to https://github.com/tekkub/wow-ui-sou...live/FrameXML?

TOM_RUS 02-22-16 11:58 AM

Quote:

Originally Posted by zork (Post 313135)
Can someone post a full FrameXML diff compared to https://github.com/tekkub/wow-ui-sou...live/FrameXML?

That diff will be too big. Also that repo is very outdated.

You can follow changes for individual patches here: https://github.com/tomrus88/Blizzard...commits/master

zork 02-22-16 01:06 PM

Thank you. That is what I needed: https://github.com/tomrus88/Blizzard...9bbe6...master

The dump function and slash command may become handy.

Lua Code:
  1. --7.01
  2. SlashCmdList["DUMP"] = function(msg)
  3.     UIParentLoadAddOn("Blizzard_DebugTools");
  4.     DevTools_DumpCommand(msg);
  5.     if (not IsKioskModeEnabled()) then
  6.         UIParentLoadAddOn("Blizzard_DebugTools");
  7.         DevTools_DumpCommand(msg);
  8.     end
  9. end
  10.  
  11. --7.03
  12. SlashCmdList["DUMP"] = function(msg)
  13.     if (not IsKioskModeEnabled() and not ScriptsDisallowedForBeta()) then
  14.         UIParentLoadAddOn("Blizzard_DebugTools");
  15.         DevTools_DumpCommand(msg);
  16.     end
  17. end

Current slash command list: https://github.com/tomrus88/Blizzard...ngs.lua#L10406

Curious what that KioskMode is. There even is an addon called KioskModeUI.
https://github.com/tomrus88/Blizzard...rd_KioskModeUI
Maybe they used that for conventions when they showed off the DemonHunter and gave people a certain amount of time to play it.

Another interesting binding. PvpUI toggle?

Lua Code:
  1. <Binding name="TOGGLECHARACTER4" category="BINDING_HEADER_INTERFACE">
  2.         if (not ScriptsDisallowedForBeta()) then
  3.             TogglePVPUI();
  4.         end
  5.     </Binding>
  6.  
  7. --or that wargame slash command
  8. SlashCmdList["WARGAME"] = function(msg)
  9.     -- TEMP: Disable the PVP UI for Beta
  10.     if (ScriptsDisallowedForBeta()) then
  11.         return;
  12.     end
  13.     -- Parameters are (playername, area, isTournamentMode). Since the player name can be multiple words,
  14.     -- we pass in theses parameters as a whitespace delimited string and let the C side tokenize it
  15.     StartWarGameByName(msg);
  16. end

Animated statusbar templates? O_O
https://github.com/tomrus88/Blizzard...dStatusBar.lua
https://github.com/tomrus88/Blizzard...dStatusBar.xml

endx7 02-22-16 04:16 PM

Quote:

Originally Posted by zork (Post 313143)
Curious what that KioskMode is.

It looks like kiosk mode replaced blizzcon mode (probably mostly just renamed to be less specific), so probably for demoing.

(Also, the /dump command isn't really new.)

Torhal 02-22-16 09:26 PM

Quote:

Originally Posted by endx7 (Post 313145)
It looks like kiosk mode replaced blizzcon mode (probably mostly just renamed to be less specific), so probably for demoing.

(Also, the /dump command isn't really new.)

If by "isn't really new" you mean "has been in the client since WotLK" then yep!

TOM_RUS 03-03-16 11:45 PM

Globals diff dump build 21108 vs 21134
Globals diff dump build 21134 vs 21232
Globals diff dump build 21232 vs 21249
Globals diff dump build 21249 vs 21287
Globals diff dump build 21287 vs 21384
Globals diff dump build 21384 vs 21414
Globals diff dump build 21414 vs 21491

TOM_RUS 04-21-16 04:05 PM

Addons seems to be enabled as of todays build 21531.

Globals diff dump build 21491 vs 21531

jaliborc 05-15-16 10:32 AM

Quote:

Originally Posted by Tuller (Post 312899)
I feel like I'm going to like these:
  • CreateFramePool
  • CreateFromMixins
  • CreateObjectPool
  • CreateTexturePool
  • FramePool_Hide
  • FramePool_HideAndClearAnchors
  • FramePoolMixin.Acquire
  • FramePoolMixin.EnumeracteActive
  • FramePoolMixin.GetNextActive
  • FramePoolMixin.GetNumActive
  • FramePoolMixin.OnLoad
  • FramePoolMixin.Release
  • FramePoolMixin.ReleaseAll
  • ObjectPoolMixin.Acquire
  • ObjectPoolMixin.EnumeracteActive
  • ObjectPoolMixin.GetNextActive
  • ObjectPoolMixin.GetNumActive
  • ObjectPoolMixin.OnLoad
  • ObjectPoolMixin.Release
  • ObjectPoolMixin.ReleaseAll

Omg, that had been a problem for such a long time.

Pyrates 05-16-16 04:24 AM

SPEC_CORE_ABILITY_TEXT seems missing, it's still included at https://github.com/tomrus88/BlizzardInterfaceCode though... does anyone know a recent source for the Blizzard UI code? Or even better, anyone knows a replacement for SPEC_CORE_ABILITY_TEXT?

ObbleYeah 05-16-16 05:17 AM

I'm probably being an idiot. but say i want to build onto or modify a frame created using blizzards new framepool api — how do i actually reference the individual frames within that?

for examples:
Lua Code:
  1. --
  2.     local reward = function()
  3.         local pool  = QuestInfoFrame.rewardsFrame.followerRewardPool
  4.         local num   = pool:GetNumActive()
  5.         local f     = pool:Acquire()
  6.         for i = 1, num do           -- option 1?
  7.             -- ?
  8.         end
  9.         f.tex = f:CreateTexture()   -- 2?
  10.     end

as far as i understand it blizzard is using #2 in the source but it appears to offer no option for creation, only iterating over existing elements found in the framepool template or mixin.

TOM_RUS 05-16-16 07:55 AM

Quote:

Originally Posted by Pyrates (Post 314855)
SPEC_CORE_ABILITY_TEXT seems missing, it's still included at https://github.com/tomrus88/BlizzardInterfaceCode though... does anyone know a recent source for the Blizzard UI code? Or even better, anyone knows a replacement for SPEC_CORE_ABILITY_TEXT?

Its not missing. Part of Blizzard_TalentUI addon.

Ketho 05-16-16 08:38 AM

Yeah, Blizzard_TalentUI is LoadOnDemand

Pyrates 05-16-16 08:42 AM

Crikes, so it's a global that's only created when an load-on-demand addon is loaded? That's not really helpfull... thanks anyways, I surely will be able to deal with it.

Simca 05-18-16 02:17 AM

Quote:

Originally Posted by Pyrates (Post 314868)
Crikes, so it's a global that's only created when an load-on-demand addon is loaded? That's not really helpfull... thanks anyways, I surely will be able to deal with it.

Lots of things are like that already. Blizzard_Collections is load-on-demand, for example, so you can't do any pet journal stuff until that gets loaded.

Ketho 05-19-16 01:05 PM

I haven't seen the Wowpedia 7.0.3 API changes page being linked yet:
http://wow.gamepedia.com/Patch_7.0.3/API_changes

I have contributed nothing so far ;) but still it would be nice if it was a bit more up to date


All times are GMT -6. The time now is 06:49 AM.

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