MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / is_connected

Method is_connected

include/Helpers/NetworkingObjects/NetObjManager.cpp:50–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 }

Callers 7

update_display_namesMethod · 0.80
network_being_usedMethod · 0.80
top_toolbarMethod · 0.80
chat_boxMethod · 0.80
send_transforms_forMethod · 0.80
send_update_generalMethod · 0.80

Calls 1

is_disconnectedMethod · 0.45

Tested by

no test coverage detected