import { BgsPostMatchStats as IBgsPostMatchStats } from '@firestone-hs/hs-replay-xml-parser/dist/public-api' ; import { Race } from '@firestone-hs/reference-data' ; import { BgsBestStat } from '@firestone-hs/user-bgs-post-match-stats' ; import { BgsPanel } from '../bgs-panel' ; import { BgsPanelId } from '../bgs-panel-id.type' ; import { BgsPlayer } from '../bgs-player' ; import { BgsStats } from '../stats/bgs-stats' ; import { BgsStatsFilterId } from './bgs-stats-filter-id.type' ; export class BgsPostMatchStatsPanel implements BgsPanel { readonly id : BgsPanelId = 'bgs-post-match-stats' ; readonly name : string = 'Live stats' ; readonly icon : string ; readonly stats : IBgsPostMatchStats ; readonly newBestUserStats : readonly BgsBestStat [ ] ; readonly globalStats : BgsStats ; readonly player : BgsPlayer ; readonly tabs : BgsStatsFilterId [ ] ; readonly numberOfDisplayedTabs : number ; readonly selectedStats : readonly BgsStatsFilterId [ ] ; readonly availableTribes : readonly Race [ ] ; readonly forceOpen : boolean ; public static create ( base ) { return Object . assign ( new BgsPostMatchStatsPanel ( ) , base ) ; } public update ( base ) { return Object . assign ( new BgsPostMatchStatsPanel ( ) , this , base ) ; } }