MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / GetTransmitTargets

Method GetTransmitTargets

engine/Poseidon/Network/NetTransportNet.cpp:2162–2169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2160float NetServer::GetLastMsgAgeReliable(int player)
2161{
2162 float result = 1.0;
2163
2164 enterUsr();
2165 RefD<NetChannel> channel;
2166 if (users.get(player, channel))
2167 {
2168 unsigned64 last = channel->getLastMessageArrival();
2169 unsigned64 now = getSystemTime();
2170 if (now < last)
2171 {
2172 LOG_DEBUG(Network,

Callers

nothing calls this directly

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected