WoW:Sea.wow.tooltip.RegisterScholar: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (+ cat)
Line 1: Line 1:
<pre>
RegisterScholar( scholarTable )
RegisterScholar( scholarTable )
  scholar - table
  scholar - table
Line 16: Line 17:
  description - description string
  description - description string
  }
  }
</pre>
[[Category:Cosmos]]

Revision as of 19:22, 25 September 2006

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
 	}