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

Method destinationConnection

source/game/StarDamageManager.cpp:11–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace Star {
10
11ConnectionId RemoteHitRequest::destinationConnection() const {
12 return connectionForEntity(causingEntityId);
13}
14
15DataStream& operator<<(DataStream& ds, RemoteHitRequest const& hitRequest) {
16 ds << hitRequest.causingEntityId;

Callers 6

pushRemoteHitRequestMethod · 0.80
addHitRequestMethod · 0.80
addDamageRequestMethod · 0.80
handleIncomingPacketsMethod · 0.80
updateDamageMethod · 0.80

Calls 1

connectionForEntityFunction · 0.85

Tested by

no test coverage detected