Luanti 5.16.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.

Here is the call 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: