C_PlayerChoice.GetPlayerChoiceInfo

From Warcraft Wiki
Jump to navigation Jump to search
GitHub Octocat.png  Townlong-Yak BAD.png  ProfIcons engineering.png  BTNTemp.png C_PlayerChoice.GetCurrentPlayerChoiceInfo TheWarWithin-Icon-Inline.pngDragonflight-Icon-Inline.png + 9.1.0
BTNTemp.png C_PlayerChoice.GetPlayerChoiceInfo + 9.0.1
BTNTemp.png C_PlayerChoice.GetPlayerChoiceOptionInfo + 9.0.1
BTNTemp.png C_PlayerChoice.GetPlayerChoiceRewardInfo + 9.0.1
BTNTemp.png C_QuestChoice.GetQuestChoiceInfo + 8.1.0
BTNTemp.png C_QuestChoice.GetQuestChoiceOptionInfo + 8.1.0
BTNTemp.png GetQuestChoiceInfo + 5.2.0
BTNTemp.png GetQuestChoiceOptionInfo + 5.2.0
BTNTemp.png GetQuestChoiceRewardCurrency + 5.2.0
BTNTemp.png GetQuestChoiceRewardFaction + 5.2.0
BTNTemp.png GetQuestChoiceRewardInfo + 5.2.0
BTNTemp.png GetQuestChoiceRewardItem + 5.2.0

Returns information about a quest choice fork.

choiceInfo = C_PlayerChoice.GetPlayerChoiceInfo()

Returns

choiceInfo
PlayerChoiceInfo
Key Type Description
choiceID number
questionText string
numOptions number
uiTextureKit string
soundKitID number?
hideWarboardHeader boolean
keepOpenAfterChoice boolean

Patch changes

  • Shadowlands Patch 9.0.1 (2020-10-13): Moved to C_PlayerChoice.GetPlayerChoiceInfo()
  • Battle for Azeroth Patch 8.1.0 (2018-12-11): Moved to C_QuestChoice.GetQuestChoiceInfo()
  • Mists of Pandaria Patch 5.2.0 (2013-03-05): Added as GetQuestChoiceInfo()