ShowQuestion and AnswerResultReceived should only be used by developers who are given permission to use the Question Overlay.
| Method | Description |
|---|---|
| LOLSDK.Init | Generates a new LOLSDK Singleton instance. Must be called before any of the following methods. |
| Event (LOLSDK.Instance.__) | Payload Sent to Subscribers (LoLSDK.) | Description | Added |
|---|---|---|---|
| StartGameReceived | String JSON. | Game initialization payload. | v2 |
| LanguageDefsReceived | String JSON. | Receive game text. | v2 |
| AnswerResultReceived | String JSON. | Question overlay complete. | v4 |
| Method | Purpose | Description | Added |
|---|---|---|---|
| GameIsReady | Game Lifecycle | Game indicates it is ready to begin. Fire this after all subscriptions have been registered | v1 |
| Complete | Game Lifecycle | Game indicates it has completed | v1 |
| LoadingProgress | Game Lifecycle | Game submits loading progress | v1 |
| SubmitProgress | Reporting | Game submits at least 8 progress points throughout the game | v1 |
| SpeakText | Speech | Speaks a language string identified by key. Will auto-cancel any currently running text to speech. No need to call CancelSpeakText before this call | V2 |
| CancelSpeakText | Speech | Cancels the current text to speech. Useful when switching scenes or ui panels where the user could have started a long running text to speech but is no longer viewing the text. | v5 |
| ShowQuestion | Questions | Platform displays an overlay with an LoL question. | v4 |
| SaveState | State | Game submits state data to save on the LoL server (or local). | v5 |
| LoadState | State | Game checks for previously saved state data and provides a callback to process the state. | v5 |
<aside> 📜 TABLE OF CONTENTS
API V5
</aside>