Quest (beta)
This subobject enables the Stagecast quests in your Moment
Introduction
...
"plugins": [ ..., "prizes", "quest" ]
...API Docs
setContext(questId:string): Promise<Quest>
setContext(questId:string): Promise<Quest>const { questId } = await SDK.connection.getMomentClass();
SDK.quest.setContext(questId) getQuest(): Promise<Quest>
getQuest(): Promise<Quest>getChallenge(id): Promise<ChallengeItem>
(id): Promise<ChallengeItem>respondToChallenge(questionHash, answer): Promise<AnswerScore>
respondToChallenge(questionHash, answer): Promise<AnswerScore>getTopScores(offset?, limit?): Promise<TopScores>
getTopScores(offset?, limit?): Promise<TopScores>getUserScores(): Promise<LeaderboardEntry>
getUserScores(): Promise<LeaderboardEntry>getUserProfile(): Promise<Profile>
(): Promise<Profile>setUserProfile(profile): Promise<Profile>
(profile): Promise<Profile>playNewRound(): Promise<Profile>
(): Promise<Profile>Last updated