WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   WoD Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=151)
-   -   New API Usage (https://www.wowinterface.com/forums/showthread.php?t=49501)

Haleth 09-06-14 08:14 AM

Quote:

Originally Posted by icyblade (Post 296213)
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).

icyblade 09-08-14 06:32 AM

Quote:

Originally Posted by Haleth (Post 296351)
http://wowpedia.org/API_GetItemQualityColor

It doesn't take itemID, it takes quality (0-7).

Quote:

Originally Posted by Lombra (Post 296349)
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!

p3lim 09-10-14 10:00 AM

Changes in 18837:

Code:

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


UseRecallPortal(garrMissionID)


p3lim 09-11-14 12:33 PM

Changes from 18837 to 18850:

Code:

<widget>:SetQuestBlobOutsideSelectedTexture("file")
GetAddOnEnableState("character", index or "name")
GetAddOnDependencies(index)


WarlockD 09-15-14 12:03 PM

Side note, strcmputf8i is restricted.

Wanted to try it out because it sounded so stupid since you have a string library.

p3lim 09-18-14 12:32 AM

Changes from build 18850 to 18888:

Code:

GetFollowerClassSpecByID(garrFollowerID)
GetFollowerPortraitIconIDByID(garrFollowerID)
IsBreadcrumbQuest(questID)


C_TaskQuest.GetQuestDataByQuestID(id)


Nimhfree 09-18-14 09:53 PM

UnitGUID() now returns dashes as the separator character instead of colons.

p3lim 09-18-14 11:03 PM

Quote:

Originally Posted by Nimhfree (Post 296929)
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.

p3lim 09-19-14 12:53 AM

Changes from 18888 to 18898:

Code:

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


GetFollowerClassSpecName(garrSpecID garrFollowerID)


TOM_RUS 09-19-14 05:36 AM

Quote:

Originally Posted by p3lim (Post 296946)
Changes from 18888 to 18898:

Code:


GetWorldLocFromMapPos(x, y)


Doesn't work in Dalaran. Returns 571, 0, 0.

p3lim 09-19-14 06:43 AM

Quote:

Originally Posted by TOM_RUS (Post 296962)
Doesn't work in Dalaran. Returns 571, 0, 0.

It might use continent coordinates, try that.

semlar 09-19-14 08:46 AM

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

TOM_RUS 09-19-14 10:02 AM

Quote:

Originally Posted by semlar (Post 296969)
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.

semlar 09-19-14 10:10 AM

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.

p3lim 09-19-14 10:18 AM

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

Tercioo 09-21-14 10:48 AM

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?

Duugu 09-21-14 10:54 AM

Quote:

Originally Posted by Tercioo (Post 297064)
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.

sylvanaar 09-21-14 11:07 AM

Quote:

Originally Posted by p3lim (Post 296540)
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

p3lim 09-28-14 12:04 PM

Changes in 18935:
Code:

FlipCameraYaw(degrees)
<widget>:SetMinimumWidth(width [,force])
GetEventTime(eventID)
GetGuildRosterLastOnline(index)


Resike 09-28-14 01:13 PM

Quote:

Originally Posted by p3lim (Post 297296)
Changes in 18935:
Code:

FlipCameraYaw(degrees)
<widget>:SetMinimumWidth(width [,force])
GetEventTime(eventID)
GetGuildRosterLastOnline(index)


FlipCameraYaw(degrees), hmmm intresting.


All times are GMT -6. The time now is 11:39 PM.

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