Skip to main content
Deno 2 is finally here 🎉️
Learn more
class QuestCallbacks
import { QuestCallbacks } from "https://deno.land/x/sptaki@1.2.0/callbacks/QuestCallbacks.d.ts";

Constructors

new
QuestCallbacks(
httpResponse: HttpResponseUtil,
questController: QuestController,
repeatableQuestController: RepeatableQuestController,
)

Properties

protected
httpResponse: HttpResponseUtil
protected
questController: QuestController
protected
repeatableQuestController: RepeatableQuestController

Methods

Handle QuestAccept event

Handle client/repeatalbeQuests/activityPeriods

Handle RepeatableQuestChange event

Handle QuestComplete event

Handle QuestHandover event

listQuests(
url: string,
sessionID: string,
): IGetBodyResponseData<IQuest[]>

Handle client/quest/list