VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::CommandStatus Struct Reference

#include <NetChannel.hpp>

Public Attributes

int LastExecuted = 0
int LastReceived = 0
float ReceiveMargin = -1.0f
int StarvedTicks = 0
int DiscardedTicks = 0
bool HasQueueStats = false

Detailed Description

How the server is keeping up with one client's usercmds.

Definition at line 12 of file NetChannel.hpp.

Member Data Documentation

◆ DiscardedTicks

int VoltMod::CommandStatus::DiscardedTicks = 0

Definition at line 20 of file NetChannel.hpp.

◆ HasQueueStats

bool VoltMod::CommandStatus::HasQueueStats = false

Definition at line 21 of file NetChannel.hpp.

◆ LastExecuted

int VoltMod::CommandStatus::LastExecuted = 0

Definition at line 14 of file NetChannel.hpp.

◆ LastReceived

int VoltMod::CommandStatus::LastReceived = 0

Definition at line 15 of file NetChannel.hpp.

◆ ReceiveMargin

float VoltMod::CommandStatus::ReceiveMargin = -1.0f

Seconds between a usercmd arriving and its tick running; negative before the first one.

Definition at line 17 of file NetChannel.hpp.

◆ StarvedTicks

int VoltMod::CommandStatus::StarvedTicks = 0

Ticks the client's command queue ran dry or overflowed; zero unless HasQueueStats.

Definition at line 19 of file NetChannel.hpp.


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