C_PlayerChoice. GetCurrentPlayerChoiceInfo
functionrecordedavailable in: camelot
Returns the choice currently offered to the player, or nil when none is open. · description by wowlua
function C_PlayerChoice.GetCurrentPlayerChoiceInfo(): PlayerChoiceInfo?Returns
choiceInfo · PlayerChoiceInfo?
| field | type |
|---|---|
objectGUID | string |
choiceID | number |
questionText | string |
pendingChoiceText | string |
uiTextureKit | string |
hideWarboardHeader | boolean |
keepOpenAfterChoice | boolean |
requiresSelection | boolean |
hideAnswerArt | boolean |
playerChoiceLayout | PlayerChoiceLayout |
options | PlayerChoiceOptionInfo[] |
soundKitID | number? |
closeUISoundKitID | number? |
Blizzard's documentation says it may return nothing.
In wowlua's emulated client
recordedThe answer was recorded from the real client and is played back for the same call. what the statuses mean
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (PlayerChoice system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.