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

Method clientWindow

source/game/StarWorldServer.cpp:319–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319RectF WorldServer::clientWindow(ConnectionId clientId) const {
320 auto i = m_clientInfo.find(clientId);
321 if (i != m_clientInfo.end())
322 return RectF(i->second->clientState.window());
323 else
324 return RectF::null();
325}
326
327PlayerPtr WorldServer::clientPlayer(ConnectionId clientId) const {
328 auto i = m_clientInfo.find(clientId);

Callers

nothing calls this directly

Calls 3

findMethod · 0.45
endMethod · 0.45
windowMethod · 0.45

Tested by

no test coverage detected