Moonlight-XboxOG latest
Moonlight Xbox OG is a port of the Moonlight Game Streaming client to the original Xbox console.
stats_overlay.h File Reference

Declares the streaming statistics overlay. More...

#include <string>
#include <vector>
Include dependency graph for stats_overlay.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  streaming::StreamStatisticsSnapshot
 Snapshot of stream telemetry shown in diagnostics or stream summaries. More...
 

Functions

std::vector< std::string > streaming::build_stats_overlay_lines (const StreamStatisticsSnapshot &snapshot)
 Build text rows for streaming statistics displays.
 

Detailed Description

Declares the streaming statistics overlay.

Function Documentation

◆ build_stats_overlay_lines()

std::vector< std::string > streaming::build_stats_overlay_lines ( const StreamStatisticsSnapshot & snapshot)

Build text rows for streaming statistics displays.

Negative metric values are treated as unavailable and omitted from the corresponding row.

Parameters
snapshotTelemetry values to display.
Returns
Text rows ready for rendering.