Quantcast
API changes in Legion - Page 2 - WoWInterface
 
Thread Tools Display Modes
02-19-16, 02:42 PM   #21
TOM_RUS
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 95
Globals diff dump build 21063 vs 21108
 
02-22-16, 06:45 AM   #22
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,739
Can someone post a full FrameXML diff compared to https://github.com/tekkub/wow-ui-sou...live/FrameXML?
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
 
02-22-16, 11:58 AM   #23
TOM_RUS
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 95
Originally Posted by zork View Post
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
 
02-22-16, 01:06 PM   #24
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,739
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
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 02-22-16 at 04:25 PM.
 
02-22-16, 04:16 PM   #25
endx7
An Aku'mai Servant
 
endx7's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2005
Posts: 38
Originally Posted by zork View Post
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.)

Last edited by endx7 : 02-22-16 at 04:18 PM.
 
02-22-16, 09:26 PM   #26
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
Originally Posted by endx7 View Post
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!
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
 
04-21-16, 04:05 PM   #28
TOM_RUS
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 95
Addons seems to be enabled as of todays build 21531.

Globals diff dump build 21491 vs 21531

Last edited by TOM_RUS : 04-21-16 at 04:52 PM.
 
05-15-16, 10:32 AM   #29
jaliborc
A Chromatic Dragonspawn
 
jaliborc's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2007
Posts: 196
Originally Posted by Tuller View Post
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.
 
05-16-16, 04:24 AM   #30
Pyrates
A Cliff Giant
 
Pyrates's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 77
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?
__________________
" ... and the Vogon will do things to you that you wish you'd never been born, or, if you're a clearer minded thinker, that the Vogon had never been born."
 
05-16-16, 05:17 AM   #31
ObbleYeah
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 210
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.
 
05-16-16, 07:55 AM   #32
TOM_RUS
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 95
Originally Posted by Pyrates View Post
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.
 
05-16-16, 08:38 AM   #33
Ketho
A Molten Giant
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 932
Yeah, Blizzard_TalentUI is LoadOnDemand
 
05-16-16, 08:42 AM   #34
Pyrates
A Cliff Giant
 
Pyrates's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 77
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.
__________________
" ... and the Vogon will do things to you that you wish you'd never been born, or, if you're a clearer minded thinker, that the Vogon had never been born."
 
05-18-16, 02:17 AM   #35
Simca
An Aku'mai Servant
 
Simca's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2012
Posts: 33
Originally Posted by Pyrates View Post
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.
__________________
Assistant admin for MMO-Champion
WoW database file expert - ask me anything
 
05-19-16, 01:05 PM   #36
Ketho
A Molten Giant
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 932
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
 
 

WoWInterface » Site Forums » Archived Beta Forums » Legion Beta archived threads » API changes in Legion

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