View Single Post
08/04/14, 07:55 PM   #23
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by circonian View Post
It looks like with the addition of the new ways to get ArmorType & WeaponType from a link:
Lua Code:
  1. local lItemLink = GetItemLink(iBagId, iSlotId)
  2. local ArmorType = GetItemLinkArmorType(lItemLink)
  3. local WeaponType = GetItemLinkWeaponType(lItemLink)

They also changed the way the old functions worked:
Lua Code:
  1. -- These no longer work --
  2. local ArmorType = GetItemArmorType(lItemLink)
  3. local WeaponType = GetItemWeaponType(lItemLink)
They now take a bag & slot ID:
Lua Code:
  1. local ArmorType = GetItemArmorType(iBagId, iSlotId)
  2. local WeaponType = GetItemWeaponType(iBagId, iSlotId)
Yeah, you can find it in the ESOUIDocumentationP3.txt attached file to this topic:
http://forums.elderscrollsonline.com/discussion/119843/
  Reply With Quote