mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 04:47:27 +00:00
fix: riot game name in match v5 + quickplay
This commit is contained in:
parent
8795182d9e
commit
b8bac1f952
3 changed files with 9 additions and 5 deletions
|
|
@ -15,7 +15,7 @@ export const gameModes = {
|
|||
},
|
||||
400: {
|
||||
type: 'Normal',
|
||||
name: 'DRAFT 5vs5',
|
||||
name: 'DRAFT',
|
||||
},
|
||||
420: {
|
||||
type: 'Ranked',
|
||||
|
|
@ -23,11 +23,11 @@ export const gameModes = {
|
|||
},
|
||||
430: {
|
||||
type: 'Normal',
|
||||
name: 'BLIND 5vs5',
|
||||
name: 'BLIND',
|
||||
},
|
||||
440: {
|
||||
type: 'Ranked',
|
||||
name: 'FLEX 5vs5',
|
||||
name: 'FLEX',
|
||||
},
|
||||
460: {
|
||||
type: 'Normal',
|
||||
|
|
@ -37,6 +37,10 @@ export const gameModes = {
|
|||
type: 'Ranked',
|
||||
name: 'FLEX 3vs3',
|
||||
},
|
||||
490: {
|
||||
type: 'Normal',
|
||||
name: 'QUICKPLAY',
|
||||
},
|
||||
700: {
|
||||
type: 'Ranked',
|
||||
name: 'CLASH',
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ class MatchParser {
|
|||
participant_id: player.participantId,
|
||||
summoner_id: player.summonerId,
|
||||
summoner_puuid: player.puuid,
|
||||
summoner_name: player.summonerName,
|
||||
summoner_name: player.summonerName || player.riotIdGameName,
|
||||
win: team.win ? 1 : 0,
|
||||
loss: team.win ? 0 : 1,
|
||||
remake: isRemake ? 1 : 0,
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ export interface ParticipantDto {
|
|||
profileIcon: number
|
||||
puuid: string
|
||||
quadraKills: number
|
||||
riotIdName: string
|
||||
riotIdGameName: string
|
||||
riotIdTagline: string
|
||||
role: RoleDto // TODO
|
||||
sightWardsBoughtInGame: number
|
||||
|
|
|
|||
Loading…
Reference in a new issue