feat: enrich internal match game analysis
This commit is contained in:
1 parent
9f698a8fec
commit
aa675199af
22 files changed
+3123
-241
No files matched your search
@@ -940,6 +940,21 @@ export interface MatchStatsSkillBuildEvent {
|
||||
levelUpType?: string;
|
||||
}
|
||||
|
||||
export interface MatchStatsCheckpoint {
|
||||
timestamp: number;
|
||||
gold: number;
|
||||
cs: number;
|
||||
xp: number;
|
||||
kills: number;
|
||||
deaths: number;
|
||||
assists: number;
|
||||
}
|
||||
|
||||
export interface MatchStatsParticipantCheckpoints {
|
||||
at10?: MatchStatsCheckpoint;
|
||||
at15?: MatchStatsCheckpoint;
|
||||
}
|
||||
|
||||
export interface MatchStatsRecord {
|
||||
matchId: string;
|
||||
title: string;
|
||||
@@ -948,6 +963,8 @@ export interface MatchStatsRecord {
|
||||
riotMatchId: string;
|
||||
gameCreation: number;
|
||||
gameDuration: number;
|
||||
participantId?: number;
|
||||
checkpoints?: MatchStatsParticipantCheckpoints;
|
||||
userId: string;
|
||||
summonerName: string;
|
||||
tagLine: string;
|
||||
@@ -994,6 +1011,7 @@ export interface MatchStatsGameDetail {
|
||||
timeline: MatchStatsTimelinePoint[];
|
||||
timelineLoaded?: boolean;
|
||||
objectiveEvents: MatchStatsObjectiveEvent[];
|
||||
timelineEvents?: MatchStatsTimelineEvent[];
|
||||
teams: Array<{
|
||||
teamIndex: number;
|
||||
side: TeamSide;
|
||||
@@ -1021,6 +1039,28 @@ export interface MatchStatsObjectiveEvent {
|
||||
monsterSubType?: string;
|
||||
}
|
||||
|
||||
export interface MatchStatsChampionKillEvent {
|
||||
timestamp: number;
|
||||
side?: TeamSide;
|
||||
type: 'championKill';
|
||||
killerParticipantId?: number;
|
||||
victimParticipantId?: number;
|
||||
assistingParticipantIds?: number[];
|
||||
}
|
||||
|
||||
export interface MatchStatsBuildingEvent {
|
||||
timestamp: number;
|
||||
side: TeamSide;
|
||||
type: 'tower' | 'inhibitor';
|
||||
killerParticipantId?: number;
|
||||
towerType?: string;
|
||||
}
|
||||
|
||||
export type MatchStatsTimelineEvent =
|
||||
| MatchStatsObjectiveEvent
|
||||
| MatchStatsChampionKillEvent
|
||||
| MatchStatsBuildingEvent;
|
||||
|
||||
export interface MatchStatsTimelinePoint {
|
||||
timestamp: number;
|
||||
blue: { gold: number; xp: number };
|
||||
|
||||
Reference in new issue
Block a user