record

fun record(data: StatsData, result: MatchResult): StatsData