MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / RequestChallenge

Method RequestChallenge

source/server/StarServerQueryThread.cpp:230–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230ServerQueryThread::RequestChallenge::RequestChallenge()
231 : m_time(Time::monotonicMilliseconds()), m_challenge(Random::randi32()) {}
232
233bool ServerQueryThread::RequestChallenge::before(uint64_t time) {
234 return m_time < time;

Callers

nothing calls this directly

Calls 1

randi32Function · 0.85

Tested by

no test coverage detected