Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: semlar
Forum: Legion Beta archived threads 07-22-16, 06:03 PM
Replies: 16
Views: 10,430
Posted By semlar
It takes an item ID as an argument, but it...

It takes an item ID as an argument, but it appears to work fine on live.

eg. C_Transmog.GetItemInfo(2912) returns true, nil, true

If the item isn't cached you may need to call it a second time.
Forum: Legion Beta archived threads 07-01-16, 11:03 PM
Replies: 16
Views: 10,430
Posted By semlar
This doesn't appear to work on any item I've...

This doesn't appear to work on any item I've tried it with; all non-transmogrifiable items I checked still return the category that they would fall into based on their weapon type.

Localization...
Forum: Legion Beta archived threads 06-29-16, 10:28 PM
Replies: 16
Views: 10,430
Posted By semlar
I added a PlayerCanCollectAppearance function...

I added a PlayerCanCollectAppearance function which should theoretically only return information if it's possible to acquire the appearance, let me know if it doesn't work though.
Forum: Legion Beta archived threads 06-29-16, 03:59 AM
Replies: 16
Views: 10,430
Posted By semlar
I see, I guess that makes sense. Sounds like...

I see, I guess that makes sense.

Sounds like we'll still have to iterate over all of the sources for an appearance if we want to check whether we've collected it.
Forum: Legion Beta archived threads 06-29-16, 12:32 AM
Replies: 16
Views: 10,430
Posted By semlar
Ah you came up with the same solution I did, but...

Ah you came up with the same solution I did, but C_TransmogCollection.GetAppearanceSourceInfo actually does return information for items you can't equip on the current character whereas...
Forum: Legion Beta archived threads 06-28-16, 10:42 PM
Replies: 16
Views: 10,430
Posted By semlar
I went ahead and edited my original post with an...

I went ahead and edited my original post with an updated version that should correctly support items which have the same item ID but different appearances as long as you supply it with the full item...
Forum: Legion Beta archived threads 06-28-16, 01:14 AM
Replies: 16
Views: 10,430
Posted By semlar
This is probably more complicated than it needs...

This is probably more complicated than it needs to be.
local InventorySlots = {
['INVTYPE_HEAD'] = 1,
['INVTYPE_NECK'] = 2,
['INVTYPE_SHOULDER'] = 3,
['INVTYPE_BODY'] = 4,
['INVTYPE_CHEST'] =...
Showing results 1 to 7 of 7