Thread Tools Display Modes
09-06-14, 08:14 AM   #21
Haleth
This Space For Rent
 
Haleth's Avatar
Featured
Join Date: Sep 2008
Posts: 1,173
Originally Posted by icyblade View Post
In 18816:
It seems that GetItemQualityColor(itemId) will return 1,1,1,ffffffff for everything
For example:
Code:
print(GetItemQualityColor(56104))
print(GetItemQualityColor(115744))
will return
Code:
1,1,1,ffffffff
1,1,1,ffffffff
So it's a bug or a new feature?
http://wowpedia.org/API_GetItemQualityColor

It doesn't take itemID, it takes quality (0-7).
 
09-08-14, 06:32 AM   #22
icyblade
A Deviate Faerie Dragon
 
icyblade's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 13
Originally Posted by Haleth View Post
http://wowpedia.org/API_GetItemQualityColor

It doesn't take itemID, it takes quality (0-7).
Originally Posted by Lombra View Post
I'm pretty sure that was always meant to be used with a quality index rather than item ID. That's how I've always used it, anyway.
Oh yes, I'm so stupid
Thanks!
__________________
Talk is cheap, show me the shell
 
09-10-14, 10:00 AM   #23
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Changes in 18837:

Code:
SetFollowerInactive(followerID, true/false)
SpellIsAlwaysShown(spellID)

UseRecallPortal(garrMissionID)
 
09-11-14, 12:33 PM   #24
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Changes from 18837 to 18850:

Code:
<widget>:SetQuestBlobOutsideSelectedTexture("file")
GetAddOnEnableState("character", index or "name")
GetAddOnDependencies(index)
 
09-15-14, 12:03 PM   #25
WarlockD
A Kobold Labourer
Join Date: Sep 2014
Posts: 1
Side note, strcmputf8i is restricted.

Wanted to try it out because it sounded so stupid since you have a string library.
 
09-18-14, 12:32 AM   #26
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Changes from build 18850 to 18888:

Code:
GetFollowerClassSpecByID(garrFollowerID)
GetFollowerPortraitIconIDByID(garrFollowerID)
IsBreadcrumbQuest(questID)

C_TaskQuest.GetQuestDataByQuestID(id)
 
09-18-14, 09:53 PM   #27
Nimhfree
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 267
UnitGUID() now returns dashes as the separator character instead of colons.
 
09-18-14, 11:03 PM   #28
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Originally Posted by Nimhfree View Post
UnitGUID() now returns dashes as the separator character instead of colons.
Already mentioned in the data changes thread, and this thread is specifically for new API, not changes to existing ones.
 
09-19-14, 12:53 AM   #29
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Changes from 18888 to 18898:

Code:
C_TaskQuest.GetQuestDataByQuestID(id)
GetWorldLocFromMapPos(x, y)

GetFollowerClassSpecName(garrSpecID garrFollowerID)
 
09-19-14, 05:36 AM   #30
TOM_RUS
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 95
Originally Posted by p3lim View Post
Changes from 18888 to 18898:

Code:

GetWorldLocFromMapPos(x, y)
Doesn't work in Dalaran. Returns 571, 0, 0.
 
09-19-14, 06:43 AM   #31
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Originally Posted by TOM_RUS View Post
Doesn't work in Dalaran. Returns 571, 0, 0.
It might use continent coordinates, try that.
 
09-19-14, 08:46 AM   #32
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
GetWorldLocFromMapPos is not a new function, it took the output from GetPlayerMapPosition and converted it to instance coordinates (and wasn't reliable enough to use).
 
09-19-14, 10:02 AM   #33
TOM_RUS
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 95
Originally Posted by semlar View Post
GetWorldLocFromMapPos is not a new function, it took the output from GetPlayerMapPosition and converted it to instance coordinates (and wasn't reliable enough to use).
Is IS new function, but it doesn't work properly.
 
09-19-14, 10:10 AM   #34
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
No, it's not a new function. It's been in the game since at least the time they added the timeless isles.

Go try it on live.
 
09-19-14, 10:18 AM   #35
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
This topic doesn't document new APIs, but rather the official documentation of APIs (the ones you would get in an error when using the API incorrectly).

For new APIs see this topic: http://www.wowinterface.com/forums/s...ad.php?t=49499
 
09-21-14, 10:48 AM   #36
Tercioo
An Aku'mai Servant
 
Tercioo's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 38
Doesn't want to create a topic for this, so just asking here:
Console command "ExportInterfaceFiles art" is dumping all files in the same directory instead of separate among more than 90 folders like on MoP, any one knows what's going on?
 
09-21-14, 10:54 AM   #37
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Originally Posted by Tercioo View Post
Doesn't want to create a topic for this, so just asking here:
Console command "ExportInterfaceFiles art" is dumping all files in the same directory instead of separate among more than 90 folders like on MoP, any one knows what's going on?
See this thread for a discussion and a solution on this topic.
 
09-21-14, 11:07 AM   #38
sylvanaar
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 92
Originally Posted by p3lim View Post
Changes from 18837 to 18850:

Code:
<widget>:SetQuestBlobOutsideSelectedTexture("file")
GetAddOnEnableState("character", index or "name")
GetAddOnDependencies(index)
GetAddonEnableState(character|nil, index|name), returns 0 = disabled, 1 = enabled for some, 2= enabled for all
 
09-28-14, 12:04 PM   #39
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Changes in 18935:
Code:
FlipCameraYaw(degrees)
<widget>:SetMinimumWidth(width [,force])
GetEventTime(eventID)
GetGuildRosterLastOnline(index)
 
09-28-14, 01:13 PM   #40
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by p3lim View Post
Changes in 18935:
Code:
FlipCameraYaw(degrees)
<widget>:SetMinimumWidth(width [,force])
GetEventTime(eventID)
GetGuildRosterLastOnline(index)
FlipCameraYaw(degrees), hmmm intresting.
 
 

WoWInterface » Site Forums » Archived Beta Forums » WoD Beta archived threads » New API Usage

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