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

Method push

source/game/StarUniverseConnection.cpp:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void UniverseConnection::push(List<PacketPtr> packets) {
39 MutexLocker locker(m_mutex);
40 m_sendQueue.appendAll(std::move(packets));
41}
42
43void UniverseConnection::pushSingle(PacketPtr packet) {
44 MutexLocker locker(m_mutex);

Callers 4

setNetStatesMethod · 0.45
updateMethod · 0.45
hashPushTerrainMethod · 0.45
hashPushLiquidMethod · 0.45

Calls 1

appendAllMethod · 0.80

Tested by

no test coverage detected