MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / GetAuthStatus

Method GetAuthStatus

src/openrct2/network/NetworkBase.cpp:430–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428 }
429
430 Auth NetworkBase::GetAuthStatus()
431 {
432 if (GetMode() == Mode::client)
433 {
434 return _serverConnection->authStatus;
435 }
436 if (GetMode() == Mode::server)
437 {
438 return Auth::ok;
439 }
440 return Auth::none;
441 }
442
443 uint32_t NetworkBase::GetServerTick() const noexcept
444 {

Callers 1

GetAuthstatusFunction · 0.80

Calls 1

GetModeFunction · 0.85

Tested by

no test coverage detected