@peacockproject/core
Version:
Type definitions for Peacock's core.
9 lines (8 loc) • 557 B
TypeScript
import type { ContractSession, ProgressionData, UserProfile } from "../types/types";
export declare class ProgressionService {
grantProfileProgression(actionXp: number, masteryXp: number, dropIds: string[], contractSession: ContractSession, userProfile: UserProfile, location: string, subPackage?: string): void;
getMasteryProgressionForLocation(userProfile: UserProfile, location: string, subPkgId?: string): ProgressionData | undefined;
private getLocationMasteryDrops;
private grantLocationMasteryXpAndRewards;
private grantUserXp;
}