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

Method addHitRequest

source/game/StarDamageManager.cpp:245–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245void DamageManager::addHitRequest(RemoteHitRequest const& remoteHitRequest) {
246 if (remoteHitRequest.destinationConnection() == m_connectionId)
247 pushRemoteHitRequest(remoteHitRequest);
248 else
249 m_pendingRemoteHitRequests.append(remoteHitRequest);
250}
251
252void DamageManager::addDamageRequest(RemoteDamageRequest remoteDamageRequest) {
253 if (remoteDamageRequest.destinationConnection() == m_connectionId)

Callers

nothing calls this directly

Calls 2

destinationConnectionMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected