Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/s3si/src/RankTracker.ts>RankTracker

Export your battles from SplatNet to https://stat.ink
Go to Latest
class RankTracker
import { RankTracker } from "https://deno.land/x/s3si@gui-v0.4.16/src/RankTracker.ts";

if state is empty, it will not track rank.

Constructors

new
RankTracker(state: RankState | undefined)

Properties

protected
deltaMap: Map<string, Delta>
protected
stateMap: Map<string, { before: RankState; after: RankState; }>

Methods

getRankStateById(id: string): Promise<{ before: RankState; after: RankState; } | undefined>
setState(state: RankState | undefined)