View Single Post
05-01-20, 01:50 PM   #3
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
My initial instinct would be to look at GetSpellBookItemInfo().
There are other related functions listed here.

This is all depending on what you actually want to do with the spell buttons. Another suggestion is to look at what Blizzard does with it and how it's set up. SpellBookFrame.xml has the template the buttons are created from and SpellBookFrame.lua contains its underlying code.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 05-01-20 at 02:00 PM.
  Reply With Quote