Question Overlay (V4)
Questions + Answers for API V4
Note: only developers who are instructed by the LoL staff to use this feature are permitted. Otherwise this feature is discouraged from use in all instructional games.
Show a Question
The ShowQuestion method instructs the LOL Platform to display an overlay with a question from the LOL question bank. Game play is cannot continue until the answer result is received and the overlay is dismissed.
Receive the Answer Result
Register an event delegate or listener to handle the AnswerResultReceived event. This event indicates that the question overlay has been dismissed so that game play can continue.
The AnswerResultReceived payload contains a single JSON key value pair indicating whether or not the question was answered correctly, or if the overlay was dismissed without an answer.
Code Examples
Javascript interface
Unity interface
Last updated