krapio
Library referenceTypes

MatchParticipant

type MatchParticipant = {
  accuracy: number;
  assists: number;
  damage_done: number;
  deaths: number;
  headshots: number;
  kills: number;
  objective_score: number;
  play_time: number;
  player_name: string;
  rounds_won: number;
  score: number;
  team: number;
  victory: MatchResult;
};

one player of a ranked match

Properties

PropertyTypeDescription
accuracynumberPlayer's accuracy percentage
assistsnumberPlayer's assists in this match
damage_donenumberPlayer's damage dealt in this match
deathsnumberPlayer's deaths in this match
headshotsnumberPlayer's headshots in this match
killsnumberPlayer's kills in this match
objective_scorenumberPlayer's objective score
play_timenumbermilliseconds
player_namestring-
rounds_wonnumberRounds won by player's team
scorenumberPlayer's score in this match
teamnumberPlayer's team number
victoryMatchResultMatch result (1 = win, 0 = loss, -1 = draw)

On this page