MCPcopy Create free account
hub / github.com/crownengine/crown / error

Method error

src/device/console_server.cpp:374–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374void ConsoleServer::error(u32 client_id, const char *msg)
375{
376 TempAllocator4096 ta;
377 StringStream ss(ta);
378 ss << "{\"type\":\"error\",\"message\":\"" << msg << "\"}";
379 send(client_id, string_stream::c_str(ss));
380}
381
382void ConsoleServer::broadcast(const char *json)
383{

Callers 9

console_command_physicsFunction · 0.45
device_command_gameFunction · 0.45
device_command_crashFunction · 0.45
message_commandFunction · 0.45
command_helpFunction · 0.45
handle_commandFunction · 0.45
html5_save_game_initFunction · 0.45
html5_save_game_flushFunction · 0.45
setupFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected