Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
con::ConnectionReceiveThread::RateLimitHelper Struct Reference

Public Member Functions

void tick ()
 

Public Attributes

u64 time = 0
 
int counter = 0
 
bool logged = false
 

Member Function Documentation

◆ tick()

void con::ConnectionReceiveThread::RateLimitHelper::tick ( )
inline

References counter, porting::getTimeS(), logged, and time.

Referenced by con::ConnectionReceiveThread::receive().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ counter

int con::ConnectionReceiveThread::RateLimitHelper::counter = 0

Referenced by tick().

◆ logged

bool con::ConnectionReceiveThread::RateLimitHelper::logged = false

Referenced by tick().

◆ time

u64 con::ConnectionReceiveThread::RateLimitHelper::time = 0

Referenced by tick().


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