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

Method put_message

core/debugger/remote_debugger_peer.cpp:63–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63Error RemoteDebuggerPeerTCP::put_message(const Array &p_arr) {
64 MutexLock lock(mutex);
65 if (out_queue.size() >= max_queued_messages) {
66 return ERR_OUT_OF_MEMORY;
67 }
68
69 out_queue.push_back(p_arr);
70 return OK;
71}
72
73int RemoteDebuggerPeerTCP::get_max_message_size() const {
74 return 8 << 20; // 8 MiB

Callers 2

_put_msgMethod · 0.45
_put_msgMethod · 0.45

Calls 2

sizeMethod · 0.65
push_backMethod · 0.45

Tested by

no test coverage detected