WoW:Sea.wow.tooltip.RegisterScholar

Revision as of 18:22, 19 July 2006 by WoWWiki>KarlKFI
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

RegisterScholar( scholarTable )

scholar - table
	{
		id		- Unique id for the scholar
		callback	- callback function
			callback( bookType )

				bookType - 1 spellbook, 2 petbook, 3 both

		feedback	- table
			{
				spell = true,	- Set this to get called when the spellbook updates
				pet = true,	- And for petbook updates.
			}

		description	- description string
	}