Add completed match detail pages
This commit is contained in:
@@ -15,3 +15,30 @@ export interface ServerMatch {
|
||||
durationMs: number | null;
|
||||
finalRound: number | null;
|
||||
}
|
||||
|
||||
export interface MatchPlayer {
|
||||
guid: string;
|
||||
name: string;
|
||||
hasStats: boolean;
|
||||
presentAtEnd: boolean;
|
||||
canViewProfile: boolean;
|
||||
firstSeenAt: string;
|
||||
lastSeenAt: string;
|
||||
// Combat counters and score are the highest reported values; rounds survived
|
||||
// counts observed progression. These are not a final scoreboard snapshot.
|
||||
// A player seen only at game_start has no observed gameplay stats.
|
||||
highestRound: number | null;
|
||||
roundsSurvived: number | null;
|
||||
kills: number | null;
|
||||
headshots: number | null;
|
||||
downs: number | null;
|
||||
revives: number | null;
|
||||
bestScore: number | null;
|
||||
}
|
||||
|
||||
export interface MatchDetail extends ServerMatch {
|
||||
status: 'completed';
|
||||
game: string;
|
||||
startObserved: boolean;
|
||||
players: MatchPlayer[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user