Generates a new LOLSDK Singleton instance. Must be called before any of the following methods.
Payload Sent to Subscribers (LoLSDK.)
Game initialization payload
Receive Game Text
Question overlay complete
Game indicates it is ready to begin. Fire this after all subscriptions have been registered
Game indicates it has completed
Game submits loading progress
Game submits at least 8 progress points throughout the game
Speaks a language string identified by key. Will auto-cancel any currently running text to speech. No need to call CancelSpeakText before this call.
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.
Platform displays an overlay with an LoL question
Game submits state data to save on the LoL server (or local)
Game checks for previously saved state data and provides a callback to process the state