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

One outstanding client convar query, identified by the cookie sent to the client. More...

#include <PendingConVarQueries.hpp>

Public Attributes

std::string Name
 Convar name the query asked for.
 
ClientConVars::QueryCallback Callback
 Invoked once, when a matching answer arrives.
 
double SentAtSec = 0.0
 Caller-supplied monotonic timestamp of the send.
 
int Cookie = -1
 Cookie sent to the client; matched on the answer.
 

Detailed Description

One outstanding client convar query, identified by the cookie sent to the client.

Definition at line 16 of file PendingConVarQueries.hpp.

Member Data Documentation

◆ Callback

ClientConVars::QueryCallback VoltMod::PendingConVarQuery::Callback

Invoked once, when a matching answer arrives.

Definition at line 19 of file PendingConVarQueries.hpp.

◆ Cookie

int VoltMod::PendingConVarQuery::Cookie = -1

Cookie sent to the client; matched on the answer.

Definition at line 21 of file PendingConVarQueries.hpp.

◆ Name

std::string VoltMod::PendingConVarQuery::Name

Convar name the query asked for.

Definition at line 18 of file PendingConVarQueries.hpp.

Referenced by VoltMod::PendingConVarQueries::Find().

◆ SentAtSec

double VoltMod::PendingConVarQuery::SentAtSec = 0.0

Caller-supplied monotonic timestamp of the send.

Definition at line 20 of file PendingConVarQueries.hpp.


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