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

Method add_recv_callback

include/Helpers/Networking/NetClient.cpp:244–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244void NetClient::add_recv_callback(MessageCommandType commandID, const NetClientRecvCallback& callback) {
245 recvCallbacks[commandID] = callback;
246}
247
248NetClient::~NetClient() {
249 if(directConnectServer) {

Callers 6

init_client_callbacksMethod · 0.45
init_server_callbacksMethod · 0.45
init_clientMethod · 0.45
start_hostingMethod · 0.45
init_server_callbacksMethod · 0.45
init_client_callbacksMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected