WoW:API GetQuestLogChoiceInfo: Difference between revisions
Jump to navigation
Jump to search
m ({{wowapi}}) |
m (Move page script moved page API GetQuestLogChoiceInfo to API GetQuestLogChoiceInfo without leaving a redirect) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi|toc=0}} | ||
Returns a bunch of data about a quest reward choice from the quest log. | Returns a bunch of data about a quest reward choice from the quest log. | ||
GetQuestLogChoiceInfo(itemNum) | name, texture, numItems, quality, isUsable = | ||
GetQuestLogChoiceInfo(itemNum) | |||
== Parameters == | |||
=== Arguments === | |||
* itemNum (number) - The item number to get info on | |||
=== Returns === | |||
* name (string) - The name of the quest item | |||
* texture (string) - The texture of the quest item | |||
* numItems (number) - How many of the quest item | |||
* quality (number) - Quality of the quest item | |||
* isUsable (Boolean) - If the quest item is usable by the current player | |||
== Description == | |||
Returns a bunch of data about a quest reward choice from the quest log. | |||
== Examples == | |||
local name, texture, numItems, quality, isUsable = | |||
GetQuestLogChoiceInfo(requiredItem.type, i) | |||
Result | |||
local name, texture, numItems, quality, isUsable = GetQuestLogChoiceInfo(requiredItem.type, i) | |||
"Silver Belt", ..., 1, 100, false | "Silver Belt", ..., 1, 100, false | ||
Latest revision as of 04:46, 15 August 2023
← WoW API < GetQuestLogChoiceInfo
Returns a bunch of data about a quest reward choice from the quest log.
name, texture, numItems, quality, isUsable = GetQuestLogChoiceInfo(itemNum)
Parameters[edit]
Arguments[edit]
- itemNum (number) - The item number to get info on
Returns[edit]
- name (string) - The name of the quest item
- texture (string) - The texture of the quest item
- numItems (number) - How many of the quest item
- quality (number) - Quality of the quest item
- isUsable (Boolean) - If the quest item is usable by the current player
Description[edit]
Returns a bunch of data about a quest reward choice from the quest log.
Examples[edit]
local name, texture, numItems, quality, isUsable = GetQuestLogChoiceInfo(requiredItem.type, i)
Result
"Silver Belt", ..., 1, 100, false