Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/s3si/src/RankTracker.ts>RankTracker

Export your battles from SplatNet to https://stat.ink
Latest
class RankTracker
import { RankTracker } from "https://deno.land/x/s3si@gui-v0.4.20/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)