Fandom

WoWWiki

Sea.wow.questLog.getPlayerQuestData

104,642pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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)
--				}
--		}
--

Also on Fandom

Random Wiki