MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / start

Method start

editor/debugger/editor_file_server.cpp:257–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257void EditorFileServer::start() {
258 if (active) {
259 stop();
260 }
261 port = EDITOR_GET("filesystem/file_server/port");
262 password = EDITOR_GET("filesystem/file_server/password");
263 Error err = server->listen(port);
264 ERR_FAIL_COND_MSG(err != OK, "EditorFileServer: Unable to listen on port " + itos(port));
265 active = true;
266}
267
268bool EditorFileServer::is_active() const {
269 return active;

Callers 12

add_frame_metricMethod · 0.45
_item_editedMethod · 0.45
_graph_tex_inputMethod · 0.45
add_frame_metricMethod · 0.45
_graph_tex_inputMethod · 0.45
_menu_optionMethod · 0.45
load_script_doc_cacheMethod · 0.45
generate_docMethod · 0.45
_start_timerMethod · 0.45

Calls 2

itosFunction · 0.85
listenMethod · 0.45

Tested by

no test coverage detected