Score and result
Live score
Send updates after meaningful gameplay events, not every frame.
await sdk.UpdateScoreAsync(new VorivoxScore(
score: totalScore,
shots: shotsFired,
hits: successfulHits,
timeLeftMs: Mathf.RoundToInt(timeLeft * 1000f)
));
Final result
await sdk.CompleteAsync(new VorivoxResult(
status: "completed",
score: totalScore,
shots: shotsFired,
hits: successfulHits,
durationMs: elapsedMs,
playerCount: sdk.Manifest.Session.PlayerCount
));
Recommended scoring model
| Game type | Primary score | Additional metrics |
|---|---|---|
| Precision target | Sum of ring values | average score, best shot |
| Rail shooter | target and mission points | penalties, civilians, time |
| Hunting | value of permitted targets | accuracy, trophies, violations |