Wikia

WoWWiki

Sea.wow.questLog.getPlayerQuestData

Talk0
101,385pages on
this wiki
This article is a part of the documentation of the Sea (AddOn) function library
--
--	getPlayerQuestData ( number id )
--
--		Returns a formatted table containing the quest's information
--		If you specify its id when the table is flat.
--
--	Args:
--		id - flattened (expanded) id of the quest
--
--	Returns:
--		questData - (table)
--		{
--			id - flattened id (number)
--			title - quest title (string)
--			level - quest level (number)
--			tag - quest tag (string)
--			failed - (boolean) - has quest failed?
--			pushable - (boolean) - is quest shareable?
--			timer - (number)
--			description - full description text (string)
--			objective - objective text (string)
--			requiredMoney - (number) Money required
--			rewardMoney - (number) Money reward
--			objectives - objective status (table)
--				{
--					text - description (string)
--					questType - monster, reputation or item (string)
--					finished - (boolean)
--					info - status information (table)
--					{
--						name - monster/item/faction name
--						done 	- number - number obtained or killed
--							- string - faction achieved
--						total 	- number - amount needed
--							- string - faction required
--					}
--				}
--			choices - choices of items (table)
--				{
--					name - item name
--					texture - item texture
--					numItems - count of items (number)
--					quality - item quality (number)
--					isUsable - (boolean)
--					info - link information (table)
--						{
--							color - color string (string)
--							link - item link (string)
--							linkname - [Item of Power] (string)
--						}
--				}
--			rewards - items always recieved (table)
--				{
--					name - item name
--					texture - item texture
--					numItems - count of items (number)
--					quality - item quality (number)
--					isUsable - (boolean)
--					info - link information (table)
--						{
--							color - color string (string)
--							link - item link (string)
--							linkname - [Item of Power] (string)
--						}
--				}
--			spellReward - the spell given to you after the quest (table)
--				{
--					name - spell name (string)
--					texture - spell texture (string)
--				}
--		}
--

Around Wikia's network

Random Wiki