| 2179 | totBytes = Poseidon::NetworkMissionHeaderTransferSize(_missionHeader.fileSizeL, _missionHeader.fileSizeH); |
| 2180 | if (totBytes > 0 && !_missionTransferHeaderStatsLogged) |
| 2181 | { |
| 2182 | LOG_DEBUG(Network, "[NMTTransferMission] transfer UI waiting for first segment file='{}' total={}", |
| 2183 | (const char*)_missionHeader.fileName, totBytes); |
| 2184 | _missionTransferHeaderStatsLogged = true; |
| 2185 | } |
| 2186 | } |
| 2187 | } |
| 2188 | |
| 2189 | NetworkLocalObjectInfo* NetworkClient::GetLocalObjectInfo(NetworkId& id) |
| 2190 | { |
| 2191 | for (int i = 0; i < _localObjects.Size(); i++) |
| 2192 | { |
| 2193 | NetworkLocalObjectInfo& info = _localObjects[i]; |
| 2194 | if (info.id == id) |
| 2195 | { |
| 2196 | return &info; |
| 2197 | } |
| 2198 | } |
| 2199 | return nullptr; |
| 2200 | } |
| 2201 | |
| 2202 | NetworkRemoteObjectInfo* NetworkClient::GetRemoteObjectInfo(NetworkId& id) |
| 2203 | { |
| 2204 | for (int i = 0; i < _remoteObjects.Size(); i++) |
| 2205 | { |
| 2206 | NetworkRemoteObjectInfo& info = _remoteObjects[i]; |
| 2207 | if (info.id == id) |
| 2208 | { |
nothing calls this directly
no test coverage detected