Thread Tools Display Modes
12-19-05, 02:15 AM   #1
Elkano
A Flamescale Wyrmkin
 
Elkano's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2005
Posts: 131
Question Accessing KC_Item's data from other addons

Is there a clean way to access the data stored within KC_Items from another addon. I'm mainly interested in accessing the price a vendor will pay you for the item by using the items base id.
  Reply With Quote
12-19-05, 08:46 AM   #2
Kaelten
Jack's raging bile duct
 
Kaelten's Avatar
Featured
Join Date: May 2005
Posts: 782
Code:
sell, buy = KC_Items:GetItemPrices(code)
code should be gotten by doing

Code:
local code = KC_Items:GetCode(link)
__________________
WowAce.com & CurseForge.com Adminstrator
Developer of Ace3, OneBag3, and many other addons and libraries
Project lead and Mac developer for the Curse Client

Anyone that needs what they want
And doesn't want what they need
I want nothing to do with
  Reply With Quote
12-19-05, 10:33 AM   #3
Elkano
A Flamescale Wyrmkin
 
Elkano's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2005
Posts: 131
OK, thx for the quick reply
I'll test it that way
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Released AddOns » Accessing KC_Item's data from other addons


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