IQuestsClient

interface IQuestsClient

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun claimUserQuestRewards(userQuestID: String, liveLikeCallback: LiveLikeCallback<UserQuest>)

Claim rewards associated with a specific user quest.

Link copied to clipboard
abstract fun getQuestRewards(questId: String, liveLikePagination: LiveLikePagination, liveLikeCallback: LiveLikeCallback<List<QuestReward>>)

Get the rewards associated with a specific quest.

Link copied to clipboard
abstract fun getQuests(requestOptions: GetQuestsRequestOptions, liveLikePagination: LiveLikePagination, liveLikeCallback: LiveLikeCallback<List<Quest>>)

Get a list of quests based on the provided request options and pagination settings.

Link copied to clipboard
abstract fun getUserQuestRewards(userQuestId: String, rewardStatus: QuestRewardStatus?, liveLikePagination: LiveLikePagination, liveLikeCallback: LiveLikeCallback<List<UserQuestReward>>)

Retrieve rewards associated with a specific user quest.

abstract fun getUserQuestRewards(userQuestIds: List<String>, rewardStatus: QuestRewardStatus?, liveLikePagination: LiveLikePagination, liveLikeCallback: LiveLikeCallback<List<UserQuestReward>>)

Retrieve rewards associated with a list of user quests.

Link copied to clipboard
abstract fun getUserQuests(requestOptions: GetUserQuestsRequestOptions, liveLikePagination: LiveLikePagination, liveLikeCallback: LiveLikeCallback<List<UserQuest>>)

Get a list of quests for a specific user based on the provided request options and pagination settings.

Link copied to clipboard
abstract fun incrementUserQuestTaskProgress(userQuestTaskID: String, customIncrement: Float? = null, liveLikeCallback: LiveLikeCallback<UserQuest>)

Increment the progress of a specific user quest task.

Link copied to clipboard
abstract fun setUserQuestTaskProgress(userQuestTaskID: String, progress: Float, liveLikeCallback: LiveLikeCallback<UserQuest>)

Set the progress of a specific user quest task to a given value.

Link copied to clipboard
abstract fun startUserQuest(questId: String, liveLikeCallback: LiveLikeCallback<UserQuest>)

Start a user quest with the given quest ID.

Link copied to clipboard
abstract fun updateUserQuestTask(userQuestID: String, userQuestTaskIDs: List<String>, status: UserQuestStatus, liveLikeCallback: LiveLikeCallback<UserQuest>)

Update the status of tasks within a user quest.