R-Type
Networked shoot'em up built on Aegis2D
Loading...
Searching...
No Matches
rtype::BotStats Struct Reference

The link of one bot over its game, as the network benchmark reads it. More...

#include </__w/project-rtype/project-rtype/tools/bot/include/rtype/bot_stats.hpp>

Public Attributes

std::string name
 Player name of the bot.
 
double seconds = 0.0
 Time in game.
 
std::uint64_t inputs_sent = 0
 Input datagrams sent.
 
std::uint64_t snapshots = 0
 Snapshot datagrams received.
 
double bytes_in_per_second = 0.0
 Bytes received per second in game, headers of the protocol included.
 
double bytes_out_per_second = 0.0
 Bytes sent per second in game, headers of the protocol included.
 
double rtt_ms = 0.0
 Smoothed round trip time at the end, in milliseconds.
 
double rtt_jitter_ms = 0.0
 Its jitter, in milliseconds.
 
double loss_percent = 0.0
 Share of the server's datagrams lost over the last 2 seconds, in percent.
 
double snapshot_jitter_ms = 0.0
 Jitter of the snapshots' arrivals over the last 2 seconds, in milliseconds.
 

Detailed Description

The link of one bot over its game, as the network benchmark reads it.

Member Data Documentation

◆ bytes_in_per_second

double rtype::BotStats::bytes_in_per_second = 0.0

Bytes received per second in game, headers of the protocol included.

◆ bytes_out_per_second

double rtype::BotStats::bytes_out_per_second = 0.0

Bytes sent per second in game, headers of the protocol included.

◆ inputs_sent

std::uint64_t rtype::BotStats::inputs_sent = 0

Input datagrams sent.

◆ loss_percent

double rtype::BotStats::loss_percent = 0.0

Share of the server's datagrams lost over the last 2 seconds, in percent.

◆ name

std::string rtype::BotStats::name

Player name of the bot.

◆ rtt_jitter_ms

double rtype::BotStats::rtt_jitter_ms = 0.0

Its jitter, in milliseconds.

◆ rtt_ms

double rtype::BotStats::rtt_ms = 0.0

Smoothed round trip time at the end, in milliseconds.

◆ seconds

double rtype::BotStats::seconds = 0.0

Time in game.

◆ snapshot_jitter_ms

double rtype::BotStats::snapshot_jitter_ms = 0.0

Jitter of the snapshots' arrivals over the last 2 seconds, in milliseconds.

◆ snapshots

std::uint64_t rtype::BotStats::snapshots = 0

Snapshot datagrams received.


The documentation for this struct was generated from the following file: