WoWInterface - View Single Post - How to get SpellID from SpellButton1..12? (Classic)
View Single Post
05-01-20, 01:50 PM   #3
A Pyroguard Emberseer
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,025
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.
ESOUI AddOns | 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