v0.13.8

C_PlayerChoice.GetCurrentPlayerChoiceInfo

functionrecordedavailable in: camelot

Returns the choice currently offered to the player, or nil when none is open. · description by wowlua

signaturewowlua
function C_PlayerChoice.GetCurrentPlayerChoiceInfo(): PlayerChoiceInfo?

Returns

choiceInfo · PlayerChoiceInfo?

PlayerChoiceInfo
fieldtype
objectGUIDstring
choiceIDnumber
questionTextstring
pendingChoiceTextstring
uiTextureKitstring
hideWarboardHeaderboolean
keepOpenAfterChoiceboolean
requiresSelectionboolean
hideAnswerArtboolean
playerChoiceLayoutPlayerChoiceLayout
optionsPlayerChoiceOptionInfo[]
soundKitIDnumber?
closeUISoundKitIDnumber?

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.