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)

p3lim 11-24-15 03:38 PM

API changes in Legion
 
See this thread for diffs: http://www.wowinterface.com/forums/s...ad.php?t=53455

TOM_RUS 12-06-15 01:14 PM

Current changes Live (20779) vs Beta (20773): http://paste2.org/p02kj199.

p3lim 12-07-15 06:52 AM

Quote:

Originally Posted by TOM_RUS (Post 312188)
Current changes Live (20779) vs Beta (20773): http://paste2.org/p02kj199.

Global dump?

TOM_RUS 12-07-15 11:59 AM

Quote:

Originally Posted by p3lim (Post 312192)
Global dump?

Yes.

10 chars.

Spyro 12-11-15 09:31 AM

They have added events and API for nameplates, am I dreaming?

p3lim 12-11-15 10:40 AM

Quote:

Originally Posted by Spyro (Post 312240)
They have added events and API for nameplates, am I dreaming?

They are units like anything else (nameplate1-30). What we've seen so far is only 30 units though, but the system may be dynamic and create more that we couldn't see from our scraping.

jeruku 12-11-15 02:06 PM

I had read somewhere that they will be moving their nameplate code into their Blizzard_Addon portion of the UI. Along with adding much needed easy access to the frames instead of authors needing to scan for them.

However I am unable to recollect where I had read this so do not take my word for it.

semlar 12-11-15 03:00 PM

Quote:

Originally Posted by jeruku (Post 312244)
I had read somewhere that they will be moving their nameplate code into their Blizzard_Addon portion of the UI. Along with adding much needed easy access to the frames instead of authors needing to scan for them.

However I am unable to recollect where I had read this so do not take my word for it.

Probably right here, although the original post was a reply to someone, it was probably split off for being off-topic.

TOM_RUS 12-15-15 07:32 PM

Current changes Beta (20773) vs Beta (20810) http://paste2.org/8KHsj26B

siweia 01-14-16 02:55 AM

Are we gonna activated any beta accounts through WOWINTERFACE, just as what we did in WoD beta?

TOM_RUS 01-14-16 09:45 AM

Globals diff dump build 20810 vs 20914

Tim 01-14-16 01:24 PM

Quote:

Originally Posted by siweia (Post 312585)
Are we gonna activated any beta accounts through WOWINTERFACE, just as what we did in WoD beta?

This isn't the place to discuss this but, when addons are enabled via Blizzard and not edited clients then sites such as this and others in the ZAM Network as well as Curse will more than likely get them. Do not expect anything for at least another 3 months.

acapela 01-15-16 01:24 AM

Quote:

Originally Posted by Spyro (Post 312240)
They have added events and API for nameplates, am I dreaming?

Looks like a few events (lifecycle-related: create, display size changed, buff/debuff manifest changed, etc), and indeed some sort of API available via the "C_NamePlate" global.

Another poster seems to suggest that the "name plate unit" concept I am seeing in the Blizzard LUA is not an actual unitid, but some sort of simplistic numbering scheme. However, I am seeing this identifier used in conjunction with checks to see if it corresponds to the player or a friendly unit, to fetch the nameplate corresponding to it (via a function member of "C_NamePlate"), and collect buff/debuff information, etc. This suggests this is not some vacuous abstraction, but something that can be used to validate certain information about the unit in question. Maybe an actual unit "GUID"?

Dunno what restrictions on changing look/feel will come along with this. Some of their changes in the past have seemed to be aimed at making it difficult to use nameplates as a targeting aid in PvP.

TOM_RUS 01-27-16 09:44 PM

Globals diff dump build 20914 vs 20979

Tuller 02-05-16 05:04 PM

Quote:

Originally Posted by TOM_RUS (Post 312188)
Current changes Live (20779) vs Beta (20773): http://paste2.org/p02kj199.

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

Resike 02-05-16 05:52 PM

These seems intresting:
  • CreateRectangle
  • DrawLine
  • GetTickTimeMs
  • GetUICameraInfo
  • HasAttachedGlyph
  • Model_ApplyUICamera
  • PercentageBetween
  • Saturate

What the hell are these?
  • Lerp
  • FrameDeltaLerp
  • IsKioskModeEnabled

semlar 02-05-16 05:56 PM

Quote:

Originally Posted by Resike (Post 312900)
What the hell are these?
  • Lerp
  • FrameDeltaLerp
  • IsKioskModeEnabled

Lerp is linear interpolation, kiosk mode is a more restricted environment for when they set up the demo on blizzcon computers and such.

TOM_RUS 02-11-16 12:03 AM

Globals diff dump build 20979 vs 21063

zork 02-14-16 10:45 AM

Man I'm eager to play around with this stuff. :)

All I can read atm is "GetNamePlateForUnit(unit)". I cri evrytim.

pelf 02-14-16 12:39 PM

Quote:

Originally Posted by zork (Post 313028)
Man I'm eager to play around with this stuff. :)

All I can read atm is "GetNamePlateForUnit(unit)". I cri evrytim.

Sometimes, when the conditions are right, deleting swaths of code is actually cathartic.

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 01:21 AM.

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