View Single Post
08/11/17, 06:37 PM   #1
tomtomhotep
 
tomtomhotep's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2015
Posts: 21
Question Generating an Item Link

Hello.

Are there any API functions or any way to generate an itemLink for an equipment item if you have the following:
  • Required Level
  • Required CP (or 0)
  • ARMORTYPE_xxx constant (or nil for weapons/shield)
  • EQUIP_TYPE_xxx constant (or nil for weapons/shield)
  • WEAPONTYPE_xxx constant (or nil for armor)
  • ITEM_TRAIT_TYPE_xxx constant
  • ITEMSTYLE_xxx constant
  • (string:nilable) setName (as would be returned by GetItemLinkSetInfo())

(but the item does not exist in any of player's bags, and player is not at a crafting station)


The addon I am making allows player to create a list of items to be crafted for another person, and I would like it to be able to mail the list of item links of the requested items before the addon user crafts them (like a confirmation).
  Reply With Quote