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

Method setSystemWorld

source/game/StarServerClientContext.cpp:207–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207void ServerClientContext::setSystemWorld(SystemWorldServerThreadPtr systemWorldThread) {
208 RecursiveMutexLocker locker(m_mutex);
209 if (m_systemWorldThread == systemWorldThread)
210 return;
211
212 m_systemWorldThread = std::move(systemWorldThread);
213}
214
215SystemWorldServerThreadPtr ServerClientContext::systemWorld() const {
216 RecursiveMutexLocker locker(m_mutex);

Callers 3

flyShipsMethod · 0.80
arriveShipsMethod · 0.80
acceptConnectionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected