Gaming
 

LibramScholar

From WoWWiki

This article is a part of the documentation of the Libram function library

	--		scholar - table
	--		{
	--			id - unique ID for the scholar
	--			callback - callback function 
	--				callback(action, questInfo, updateInfo)
	--				
	--				action - LibramAction - the action which has happened:
	--					
	--				questInfo - table - LibramRecord (stub)
	--					title - quest title
	--					level - quest level
	--					completed - boolean
	--					id - quest id
	--					
	--				updateInfo - table
	--					text - updated text
	--					done - amount done
	--					total - total needed
	--			description - description string
 	--		}

A Libram Scholar is a type of complex data that will call a function passed into it. A Scholar must have

  • id - string id unique to that scholar
  • callback - function which takes the parameters shown above
  • descriptions - short description of this scholar (for debugging).