import { GameFetcher } from "https://deno.land/x/s3si@gui-v0.4.16/src/GameFetcher.ts";
Fetch game and cache it. It also fetches bankara match challenge info. if splatnet is not given, it will use cache only
Properties
private
optional
_splatnet: Splatnet3private
optional
bankaraHistory: HistoryGroupItem<BattleListNode>[]private
bankaraLock: Mutexprivate
cache: Cacheprivate
optional
coopHistory: CoopHistoryGroups["nodes"]private
coopLock: Mutexprivate
lock: Record<string, Mutex | undefined>private
rankTracker: RankTrackerprivate
optional
xMatchHistory: HistoryGroupItem<BattleListNode>[]private
xMatchLock: MutexMethods
private
cacheDetail<T>(id: string, getter: () => Promise<T>): Promise<T>private
fetchBattle(id: string): Promise<VsInfo>getBattleMetaById(id: string, vsMode: VsMode): Promise<Omit<VsInfo, "detail">>
getCoopMetaById(id: string): Promise<Omit<CoopInfo, "detail">>
getRankStateById(id: string)
setRankState(state: RankState | undefined)
updateRank(): Promise<RankState | undefined>