feat(radio): expose mode-specific stats
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
parent
d0ab6d4d8b
commit
72ef20a044
1 changed files with 11 additions and 0 deletions
|
|
@ -38,9 +38,20 @@ export default async function RadioPage() {
|
|||
const stats = {
|
||||
gamesPlayed: radioTraffic.gamesPlayed ?? 0,
|
||||
totalMessages: radioTraffic.totalMessages ?? 0,
|
||||
incorrectMessages: radioTraffic.incorrectMessages ?? 0,
|
||||
bestScore: radioTraffic.bestScore ?? 0,
|
||||
bestAccuracy: radioTraffic.bestAccuracy ?? 0,
|
||||
bestSprintTimeMs: radioTraffic.bestSprintTimeMs ?? 0,
|
||||
sprintGamesPlayed: radioTraffic.sprintGamesPlayed ?? 0,
|
||||
sprintTotalMessages: radioTraffic.sprintTotalMessages ?? 0,
|
||||
sprintIncorrectMessages: radioTraffic.sprintIncorrectMessages ?? 0,
|
||||
sprintBestScore: radioTraffic.sprintBestScore ?? 0,
|
||||
sprintBestAccuracy: radioTraffic.sprintBestAccuracy ?? 0,
|
||||
watchGamesPlayed: radioTraffic.watchGamesPlayed ?? 0,
|
||||
watchTotalMessages: radioTraffic.watchTotalMessages ?? 0,
|
||||
watchIncorrectMessages: radioTraffic.watchIncorrectMessages ?? 0,
|
||||
watchBestScore: radioTraffic.watchBestScore ?? 0,
|
||||
watchBestAccuracy: radioTraffic.watchBestAccuracy ?? 0,
|
||||
radioTrafficXp: radioTraffic.xpEarned ?? 0,
|
||||
xpEarned: 0,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue