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

Method update_display_names

src/MainProgram.cpp:186–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186void MainProgram::update_display_names() {
187 for(auto& w : worlds) {
188 if(!w->netObjMan.is_connected())
189 w->ownClientData->set_display_name(conf.displayName);
190 }
191}
192
193void MainProgram::init_net_library() {
194 NetThreadManager::get().init(this);

Callers 1

Calls 2

is_connectedMethod · 0.80
set_display_nameMethod · 0.80

Tested by

no test coverage detected