csharp
public sealed class PredictionHealthReporterTurns one client's input-buffer health into a report, once in a while. Server-side.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Not every tick. The controller on the other end moves by one tick at a time and waits to see what happened, so reporting faster than it can act would be bandwidth spent on numbers nobody reads — and a report is only useful once enough ticks have passed for starvation to mean something.
Fields and properties (2)
public int PeriodHow many ticks between reports.
public long ReportCountReports produced.
Methods (1)
public bool TryAdvance(in InputHealth health, out PredictionHealth report)Takes a tick's worth of the buffer's state, and says whether there is a report.
Used by (1)
- PredictionWiringTestsVixen.Net.Tests