Skip to main content
The Deno 2 Release Candidate is here
Learn more
method QuestController.prototype.updateProfileTaskConditionCounterValue
import { QuestController } from "https://deno.land/x/sptaki@1.2.0/controllers/QuestController.d.ts";

Increment a backend counter stored value by an amount, Create counter if it does not exist

Parameters

pmcData: IPmcData

Profile to find backend counter in

conditionId: string

backend counter id to update

questId: string

quest id counter is associated with

counterValue: number

value to increment the backend counter with