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

Method clientWarpAction

source/game/StarSystemWorldServerThread.cpp:141–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141Maybe<pair<WarpAction, WarpMode>> SystemWorldServerThread::clientWarpAction(ConnectionId clientId) {
142 ReadLocker locker(m_queueMutex);
143 if (m_clientShipDestinations.contains(clientId))
144 return {};
145 return m_clientWarpActions.maybe(clientId);
146}
147
148SkyParameters SystemWorldServerThread::clientSkyParameters(ConnectionId clientId) {
149 ReadLocker locker(m_queueMutex);

Callers 2

addClientMethod · 0.45
updateMethod · 0.45

Calls 2

containsMethod · 0.45
maybeMethod · 0.45

Tested by

no test coverage detected