feat: keys, clicks, and totals in computer statistics

This commit is contained in:
trafficlunar 2025-03-22 14:20:04 +00:00
parent 19bdd27de1
commit 8407a1258f
6 changed files with 85 additions and 10 deletions

View file

@ -18,8 +18,10 @@ func StartComputerWorker() {
if now.Second() == 0 {
if !service.ComputerData.Online {
service.AddComputerData(model.ComputerWebSocketMessage{
Cpu: 0,
Ram: 0,
Cpu: 0,
Ram: 0,
Keys: 0,
Clicks: 0,
})
} else {
service.AddComputerData(QueuedClientMessage)