As most of you has see, the spellbook changed a bit, so here is a way to get informations from it :
Code:
UInt32 nbSpells = MyWoW.Memory.ReadUInt(0x9DDD7C, "Wow.exe");
UInt32 SpellBookInfoPtr = MyWoW.Memory.ReadUInt(0x9DDD80, "Wow.exe");
for (UInt32 i = 0; i < nbSpells; i++)
{
UInt32 Struct = MyWoW.Memory.ReadUInt(SpellBookInfoPtr + i * 4);
Int32 IsKnown = MyWoW.Memory.ReadInt(Struct);
Int32 SpellId = MyWoW.Memory.ReadInt(Struct + 0x4);
Console.WriteLine("Base : 0x" + Struct.ToString("X") + " Id : " + SpellId + " IsKnown : " + IsKnown);
}
IsKnown = 1 when spell is learn, 2 if not learn.
All offset is relative to Wow.exe.