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

Method take_connection

editor/debugger/editor_debugger_server.cpp:125–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125Ref<RemoteDebuggerPeer> EditorDebuggerServerTCP::take_connection() {
126 ERR_FAIL_COND_V(!is_connection_available(), Ref<RemoteDebuggerPeer>());
127 return memnew(RemoteDebuggerPeerTCP(server->take_connection()));
128}
129
130/// EditorDebuggerServer
131HashMap<StringName, EditorDebuggerServer::CreateServerFunc> EditorDebuggerServer::protocols;

Callers 3

_notificationMethod · 0.45
pollMethod · 0.45
on_client_connectedMethod · 0.45

Calls 1

Tested by

no test coverage detected