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

Method shouldExpire

source/game/StarWorldServer.cpp:591–598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

589}
590
591bool WorldServer::shouldExpire() {
592 if (!m_clientInfo.empty()) {
593 m_expiryTimer.reset();
594 return false;
595 }
596
597 return m_expiryTimer.ready();
598}
599
600void WorldServer::setExpiryTime(float expiryTime) {
601 m_expiryTimer = GameTimer(expiryTime);

Callers 1

Calls 3

emptyMethod · 0.45
resetMethod · 0.45
readyMethod · 0.45

Tested by

no test coverage detected