MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / showMultiplayer

Function showMultiplayer

src/OpenLoco/src/Ui/Windows/TitleMenu.cpp:366–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364 }
365
366 static void showMultiplayer(Window* window)
367 {
368 StringManager::setString(StringIds::buffer_2039, "");
369 TextInput::openTextInput(window, StringIds::enter_host_address, StringIds::enter_host_address_description, StringIds::buffer_2039, Widx::multiplayer_toggle_btn, {});
370 }
371
372 static void multiplayerConnect(std::string_view host)
373 {

Callers 1

onMouseUpFunction · 0.85

Calls 2

setStringFunction · 0.85
openTextInputFunction · 0.85

Tested by

no test coverage detected