UNPKG

@peacockproject/core

Version:

Type definitions for Peacock's core.

21 lines (20 loc) 677 B
import { GameVersion, JwtData, MissionManifest } from "../types/types"; type ApiLeaderboardEntry = { LeaderboardData: { Player: { displayName: string; }; }; entryId: number; platformId: string; detailedscore: unknown; }; type GameFacingLeaderboardData = { Entries: ApiLeaderboardEntry[]; Contract: MissionManifest; Page: number; HasMore: boolean; LeaderboardType: string; }; export declare function getLeaderboardEntries(contractId: string, platform: JwtData["platform"], gameVersion: GameVersion, difficultyLevel: string | undefined, page: number): Promise<GameFacingLeaderboardData | undefined>; export {};