Thread Tools Display Modes
Unread 03-24-12, 05:49 PM   #1
Haleth
This Space For Rent
 
Haleth's Avatar
WoWInterface Super Mod
Featured
Join Date: Sep 2008
Posts: 1,168
Beta API discussion

Important API changes:

http://www.wowpedia.org/Patch_5.0.1/API_changes

GitHub fork of Blizzard interface files:

https://github.com/Ketho/wow-ui-source/tree/beta

New macro conditions [petbattle], [possessbar], [overridebar], [extrabar]:

http://us.battle.net/wow/en/forum/topic/6079671818#9

New artwork (lots and lots of images):

http://www.wowinterface.com/forums/s...ad.php?t=43784

Last edited by Haleth : 08-30-12 at 06:10 AM. Reason: Added useful links.
Haleth is offline  
Unread 03-24-12, 06:03 PM   #2
Nibelheim
local roygbi-
 
Nibelheim's Avatar
Featured
Join Date: Jan 2010
Posts: 1,513
Edit: Since the thread got made, time to post some useful info.

Taken from Cairenn's Press Tour thread.

UI Changes
  • Addition of scenarios windows
  • Addition of challenges windows
  • Addition of per-player loot windows
  • Addition of bonus loot roll windows
  • Addition of black market windows
    • Auctions by NPCs of rare items for players to bid on.
  • Addition of pet battles windows
  • Updated talents windows
  • Updated specializations windows
  • Updated class mechanics windows
  • Updated consolidated buffs display
    • The basic display of buffs and debuffs will not change, but the consolidated buffs window is completely different. It will only show in groups (party/raid) and will just show the 8 group buff types you should have
  • Updated loot roll box
  • Updated character create windows
  • Updated auction house windows
__________________

Last edited by Nibelheim : 03-24-12 at 07:13 PM.
Nibelheim is offline  
Unread 03-24-12, 07:33 PM   #3
Cairenn
Credendo Vides
 
Cairenn's Avatar
Premium Member
WoWInterface Admin
Join Date: Mar 2004
Posts: 6,912
You guys have the choice. You can do everything in a single thread, or make multiple threads, however it seems to make the most sense ...
Cairenn is offline  
Unread 03-24-12, 08:17 PM   #4
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,279
https://github.com/p3lim/wow-ui-sour...c01ae4d0b86e25

I'll try and keep it updated
p3lim is offline  
Unread 03-24-12, 09:51 PM   #5
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,279
In addition to OP post, I found this:

New API:
AbbreviateLargeNumbers(num) (defined in Lua, see UIParent.lua)
BreakUpLargeNumbers(num) (defined in Lua, see UIParent.lua)
GetNextGuildPerkIndex()
RemoveTalent(id)
SetSpecialization(id)
GetNumSpecializations()
GetSpecializationInfo(masteryIndex) returns id, name, description, icon, background
GetVoidUnlockCost() (in copper)
HasOverrideActionBar()
GetOverrideBarSkin()
GetOverrideBarIndex()
GetVehicleBarIndex()
HasVehicleActionBar()
HasTempShapeShiftActionBar()
BeginActionBarTransition(frame, ???)
GetMultiCastBarIndex()
GetExtraBarIndex()
GetActionCharges(action) returns charges, maxCharges, chargeStart, chargeDuration
GetRaidBuffTrayAuraInfo(index) returns name, rank, texture, duration, expiration, spellID, slot
NeutralPlayerSelectFaction(id) 1 = Horde, 2 = Alliance
UpdateFrameLock(frame) used for pet battles, locking UI elements
IsInRaid()
IsInGroup() used for party I'd guess
IsBlizzCon() used in beta to disable social functions like friendlist, replacing the previously used CVar with the same name
GetFriendshipReputation() returns id, reputation, maxRep, text, texture
GetLootSlotType(slot) returns id (0 = none, 1 = item, 2 = money, 3 = currency)
ValidateActionBarTransition()
IsEuropeanNumbers()
SetChallengeMode(index)
ResetMerchantFilter()
SetMerchantFilter(index)
GetMerchantFilteR()
GetChallengeMode()
AcceptSpellConfirmationPrompt()
DeclineSpellConfirmationPrompt()
GetWorldElapsedTime(timerID) returns ??, elapsed, isChallengeModeTimer

:RegisterUnitEvent(event, unit1, unit2)


Changed API:
GetActiveTalentGroup() > GetActiveSpecGroup()
GetNumPartyMembers() > GetNumSubgroupMembers()
UnitIsPartyLeader() > UnitIsGroupLeader()
GetTalentTabInfo() > GetSpecializationInfo() (some returns removed)
GetNumTalentGroups() > GetNumSpecGroups()
UnitIsRaidOfficer() > UnitIsGroupAssistant()
GetPartyMember() > GetGroupMember()
GetNumUnspentTalentPoints() > GetNumUnspentTalents()
GetExpertisePercent() > GetExpertise()

GetGuildFactionInfo() changed (no longer returns experience caps as they are removed, last two returns).
GameTooltip:SetTalent() changed arguments.
LootSlotHasItem() changed (works for currencies and money aswell)

PetMoveTo(target) new argument.
GetDefaultLanguage() new return: languageID
GetGuildRosterInfo() new return: reputationStanding
GetMapInfo() new returns: isMicroDungeon, microDungeonMapName
GetNumDungeonMapLevels() new return: isFirstFloor


New events:
UPDATE_VEHICLE_ACTIONBAR
UPDATE_OVERRIDE_ACTIONBAR
SPELL_UPDATE_CHARGES
NEUTRAL_FACTION_SELECT_RESULT
SHOW_FACTION_SELECT_UI
QUICK_TICKET_SYSTEM_STATUS
QUICK_TICKET_THROTTLE_CHANGED
ITEM_RESTORATION_BUTTON_STATUS
SPELL_CONFIRMATION_PROMPT
SPELL_CONFIRMATION_TIMEOUT
WORLD_STATE_TIMER_START arg1 = timerID
WORLD_STATE_TIMER_STOP arg1 = timerID


Misc stuff:
- Pets seem to have lost their talents, unsure.
- Lots of new events and functions for the pet battle window, not going to list them (functions are unfinished, using temporary names)
- A pet journal has been added, not going to list them (unfinished aswell)
- BonusActionBar file has been split up into multiple files.
- BonusActionBar itself has been replaced with OverrideActionBar
- Monk class color: 0/255/150
- Death Knight talent levels: 56, 57, 58, 60, 75, 90
- Total glyph slots: 6 (3 major, 3 minor)
- New frame: DestinyFrame (used for Pandaren faction selection)
- New graphics setting: SSAO (no idea what it is)
- New frame: PVEFrame (shows LFG, LFR and Challenges)
- Paladins get a total of 5 holy power?
- Default unitframes gets smooth transition on statusbars

Last edited by p3lim : 03-29-12 at 09:40 AM. Reason: Build 15508
p3lim is offline  
Unread 03-24-12, 10:04 PM   #6
Nibelheim
local roygbi-
 
Nibelheim's Avatar
Featured
Join Date: Jan 2010
Posts: 1,513
Originally Posted by p3lim View Post
- Paladins get a total of 5 holy power?
Boundless Conviction (a Prot ability). Allows them to gain 2 additional Holy Power.
__________________
Nibelheim is offline  
Unread 03-24-12, 10:09 PM   #7
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,191
It means Screen Space Ambient Occlusion (SSAO).
It has to do with lighting and is probably another way to kill our framerate for marginal visual benefit :P

Last edited by Dridzt : 03-24-12 at 10:11 PM.
Dridzt is offline  
Unread 03-24-12, 10:16 PM   #8
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,279
Originally Posted by Dridzt View Post
It means Screen Space Ambient Occlusion (SSAO).
It has to do with lighting and is probably another way to kill our framerate for marginal visual benefit :P
According to the code, it seems to be set to a lower value the higher your settings are (low = 2, high = 1).
https://github.com/p3lim/wow-ui-sour...s.lua#L703-730
p3lim is offline  
Unread 03-27-12, 09:13 AM   #9
Gello
A Scalebane Royal Guard
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 442
Have the secure templates/handlers changed at all in 5.0? I keep expecting snippets nerfed due to their ability to easily /castrandom. But at the same time it seems absolutely important (more important!) for a snippet to choose a spell based on the last one loaded or on a variable, so we can do toggle abilities and stuff.

Curious if item:id format has changed also? It's changed every expansion so far (gems in BC, level in WotLK, reforge in cata). Did they put tinker into the item id in MoP?

Also I gave a guildmate a macro to test COMBAT_LOG_EVENT_UNFILTERED results and it appears they've changed. Anyone played with them at all?

You don't need addons enabled to test any of this, and only so much can be gleaned from looking at the extracted UI.
Gello is offline  
Unread 03-28-12, 03:56 AM   #10
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,354
Macro interfaces
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline  
Unread 03-29-12, 09:09 AM   #11
berrybear
A Kobold Labourer
Join Date: Sep 2008
Posts: 1
Curious, anyone with beta access able to test this new binding?

<ModifiedClick action="CASTAOEONTARGET" default="CTRL"/>

Wonder if this skips the targeting reticule step for AoE spells if you have something targeted.
berrybear is offline  
Unread 03-29-12, 09:42 AM   #12
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,279
Updated the list to the new build:
https://github.com/p3lim/wow-ui-sour...31eb00d8ca1778
p3lim is offline  
Unread 03-29-12, 03:57 PM   #13
Ketho
A Molten Giant
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 565
Here is my github fork. You can extract it yourself with ExportInterfaceFiles
Attached diffs (up until build 16048) by kd3:
Attached Files
File Type: zip 4.3.3.15354-5.0.1.15464.zip (406.2 KB, 437 views)
File Type: zip 5.0.1.15464-5.0.1.15508.zip (193.6 KB, 438 views)
File Type: zip 5.0.1.15508-5.0.1.15544.zip (35.4 KB, 445 views)
File Type: zip 5.0.1.15544-5.0.1.15589.zip (27.3 KB, 442 views)
File Type: zip 5.0.1.15589-5.0.1.15640.zip (106.2 KB, 429 views)
File Type: zip 5.0.1.15640-5.0.1.15650.zip (8.4 KB, 430 views)
File Type: zip 5.0.1.15650-5.0.1.15657.zip (25.7 KB, 419 views)
File Type: zip 5.0.1.15657-5.0.1.15662.zip (29.5 KB, 437 views)
File Type: zip 5.0.1.15662-5.0.1.15668.zip (23.2 KB, 420 views)
File Type: zip 5.0.1.15668-5.0.1.15677.zip (23.1 KB, 462 views)
File Type: zip 5.0.1.15677-5.0.1.15689.zip (26.2 KB, 466 views)
File Type: zip 5.0.1.15689-5.0.1.15699.zip (41.0 KB, 500 views)
File Type: zip 5.0.1.15699-5.0.1.15726.zip (31.8 KB, 424 views)
File Type: zip 5.0.1.15726-5.0.1.15739.zip (31.9 KB, 402 views)
File Type: zip 5.0.1.15739-5.0.1.15752.zip (20.3 KB, 414 views)
File Type: zip 5.0.1.15752-5.0.1.15762.zip (22.9 KB, 401 views)
File Type: zip 5.0.1.15762-5.0.1.15781.zip (49.3 KB, 403 views)
File Type: zip 5.0.1.15781-5.0.1.15799.zip (35.9 KB, 403 views)
File Type: zip 5.0.1.15799-5.0.3.15851.zip (55.3 KB, 425 views)
File Type: zip 5.0.3.15851-5.0.3.15882.zip (27.9 KB, 428 views)
File Type: zip 5.0.3.15882-5.0.4.15913.zip (49.4 KB, 417 views)
File Type: zip 5.0.4.15913-5.0.4.15929.zip (14.8 KB, 391 views)
File Type: zip 5.0.4.15929-5.0.4.15952.zip (27.0 KB, 410 views)
File Type: zip 5.0.4.15952-5.0.4.15961.zip (6.5 KB, 398 views)
File Type: zip 5.0.4.15961-5.0.4.15972.zip (8.4 KB, 409 views)
File Type: zip 5.0.4.15972-5.0.4.15983.zip (3.6 KB, 398 views)
File Type: zip 5.0.4.16004-5.0.4.16010.zip (856 Bytes, 359 views)
File Type: zip 5.0.4.16010-5.0.4.16016.zip (536 Bytes, 366 views)
File Type: zip 4.3.4.15595-5.0.4.16016.zip (602.0 KB, 420 views)
File Type: zip 5.0.4.16016-5.0.5.16030.zip (1.5 KB, 371 views)
File Type: zip 5.0.5.16030-5.0.5.16048.zip (700 Bytes, 367 views)
File Type: zip 5.0.4.16016-5.0.5.16048.zip (1.9 KB, 367 views)

Last edited by Ketho : 09-15-12 at 08:38 AM.
Ketho is offline  
Unread 03-30-12, 06:24 AM   #14
Gello
A Scalebane Royal Guard
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 442
Originally Posted by berrybear View Post
Curious, anyone with beta access able to test this new binding?

<ModifiedClick action="CASTAOEONTARGET" default="CTRL"/>

Wonder if this skips the targeting reticule step for AoE spells if you have something targeted.
I tried a few ways to use it with hurricane on my copied druid and it had no effect. Did a /dump IsModifiedClick("CASTAOEONTARGET") in the cast and it was 1. Maybe NYI? It'd be a very handy feature.

To my previous questions, if anyone else curious, I was able to create a secure button that toggled its spell successfully so no apparent nerf there. No change to item:id's. And no readily apparent change to COMBAT_LOG_EVENT_UNFILTERED.
Gello is offline  
Unread 03-30-12, 10:51 AM   #15
TSquared
Big Daddy!
Join Date: May 2008
Posts: 506
Originally Posted by Gello View Post
I tried a few ways to use it with hurricane on my copied druid and it had no effect. Did a /dump IsModifiedClick("CASTAOEONTARGET") in the cast and it was 1. Maybe NYI? It'd be a very handy feature.
Whoops, that's part of a dev-only system. It will be removed to avoid confusion.
TSquared is offline  
Unread 04-02-12, 03:00 PM   #16
CobraA1
A Cliff Giant
 
CobraA1's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 73
Humm, it appears they may be adding vendor filters to mists. Anybody know where I can find that code? It may potentially affect my addon.

(link below because adding the link via the UI seems broken?)
http://wow.joystiq.com/2012/03/29/mi...-items-easier/
CobraA1 is offline  
Unread 04-02-12, 04:33 PM   #17
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,279
Originally Posted by CobraA1 View Post
Humm, it appears they may be adding vendor filters to mists. Anybody know where I can find that code? It may potentially affect my addon.

(link below because adding the link via the UI seems broken?)
http://wow.joystiq.com/2012/03/29/mi...-items-easier/
Lua:
https://github.com/p3lim/wow-ui-sour...ca1778#diff-20

Xml:
https://github.com/p3lim/wow-ui-sour...ca1778#diff-21

Do mind they take a little time to load, huge diff
p3lim is offline  
Unread 04-03-12, 07:41 AM   #18
Game92
A Molten Giant
 
Game92's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 616
Any date, confirmed that they will enable AddOns on Beta?
__________________
Game92 is offline  
Unread 04-03-12, 09:51 AM   #19
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,279
Originally Posted by Game92 View Post
Any date, confirmed that they will enable AddOns on Beta?
I doubth we will see it before all the zones are open, at the very least.
p3lim is offline  
Unread 06-14-12, 01:27 PM   #20
Ketho
A Molten Giant
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 565
UPDATE_EXPANSION_LEVEL this must be the least firing event, ever
__________________
Ketho is offline  
 

Go BackWoWInterface » WoD Beta » MoP archived threads » Beta API discussion

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