Beta API discussion
Important API changes:
GitHub fork of Blizzard interface files:
New macro conditions [petbattle], [possessbar], [overridebar], [extrabar]:
New artwork (lots and lots of images):
Edit: Since the thread got made, time to post some useful info.
Taken from Cairenn's Press Tour thread.
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 ...
I'll try and keep it updated
In addition to OP post, I found this:
AbbreviateLargeNumbers(num) (defined in Lua, see UIParent.lua)
BreakUpLargeNumbers(num) (defined in Lua, see UIParent.lua)
GetSpecializationInfo(masteryIndex) returns id, name, description, icon, background
GetVoidUnlockCost() (in copper)
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
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)
GetWorldElapsedTime(timerID) returns ??, elapsed, isChallengeModeTimer
:RegisterUnitEvent(event, unit1, unit2)
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
WORLD_STATE_TIMER_START arg1 = timerID
WORLD_STATE_TIMER_STOP arg1 = timerID
- 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
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
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.
Macro interfaces :)
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.
Updated the list to the new build:
Here is my github fork. You can extract it yourself with ExportInterfaceFiles
Attached diffs (up until build 16048) by kd3:
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.
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?)
Do mind they take a little time to load, huge diff :)
Any date, confirmed that they will enable AddOns on Beta?
UPDATE_EXPANSION_LEVEL this must be the least firing event, ever
|All times are GMT -6. The time now is 12:46 AM.|
vBulletin © 2016, Jelsoft Enterprises Ltd