| 48 | client = nullptr; |
| 49 | } |
| 50 | bool NetObjManager::is_connected() const { |
| 51 | return (server && !server->is_disconnected()) || (client && !client->is_disconnected()); |
| 52 | } |
| 53 | void NetObjManager::set_netid_reassign_callback(const std::function<void(const NetworkingObjects::NetObjID& oldID, const NetworkingObjects::NetObjID& newID)>& newNetIDReassignCallback) { |
| 54 | netIDReassignCallback = newNetIDReassignCallback; |
| 55 | } |
no test coverage detected