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

Method network_being_used

src/MainProgram.cpp:622–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620}
621
622bool MainProgram::network_being_used() {
623 for(auto& w : worlds) {
624 if(w->netObjMan.is_connected())
625 return true;
626 }
627 return false;
628}
629
630bool MainProgram::net_server_hosted() {
631 for(auto& w : worlds) {

Callers

nothing calls this directly

Calls 1

is_connectedMethod · 0.80

Tested by

no test coverage detected