WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   MoP Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=162)
-   -   Beta API discussion (https://www.wowinterface.com/forums/showthread.php?t=43091)

Haleth 03-24-12 05:49 PM

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

Nibelheim 03-24-12 06:03 PM

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

Cairenn 03-24-12 07:33 PM

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 ...

p3lim 03-24-12 08:17 PM

https://github.com/p3lim/wow-ui-sour...c01ae4d0b86e25

I'll try and keep it updated

p3lim 03-24-12 09:51 PM

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

Nibelheim 03-24-12 10:04 PM

Quote:

Originally Posted by p3lim (Post 254382)
- Paladins get a total of 5 holy power?

Boundless Conviction (a Prot ability). Allows them to gain 2 additional Holy Power.

Dridzt 03-24-12 10:09 PM

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

p3lim 03-24-12 10:16 PM

Quote:

Originally Posted by Dridzt (Post 254384)
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

Gello 03-27-12 09:13 AM

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.

zork 03-28-12 03:56 AM

Macro interfaces :)

berrybear 03-29-12 09:09 AM

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.

p3lim 03-29-12 09:42 AM

Updated the list to the new build:
https://github.com/p3lim/wow-ui-sour...31eb00d8ca1778

Ketho 03-29-12 03:57 PM

33 Attachment(s)
Here is my github fork. You can extract it yourself with ExportInterfaceFiles
Attached diffs (up until build 16048) by kd3:

Gello 03-30-12 06:24 AM

Quote:

Originally Posted by berrybear (Post 254596)
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.

TSquared 03-30-12 10:51 AM

Quote:

Originally Posted by Gello (Post 254634)
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.

CobraA1 04-02-12 03:00 PM

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/

p3lim 04-02-12 04:33 PM

Quote:

Originally Posted by CobraA1 (Post 254885)
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 :)

Aftermathhqt 04-03-12 07:41 AM

Any date, confirmed that they will enable AddOns on Beta?

p3lim 04-03-12 09:51 AM

Quote:

Originally Posted by Game92 (Post 254915)
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.

Ketho 06-14-12 01:27 PM

UPDATE_EXPANSION_LEVEL this must be the least firing event, ever


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

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