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

Function device_message_refresh

src/device/device.cpp:355–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355static void device_message_refresh(ConsoleServer &cs, u32 client_id, const char *json, void *user_data)
356{
357 CE_UNUSED_2(cs, client_id);
358 ((Device *)user_data)->refresh(json);
359
360 TempAllocator512 ta;
361 StringStream ss(ta);
362 ss << "{";
363 ss << "\"type\":\"refresh\",";
364 ss << "\"success\":" << (true ? "true" : "false");
365 ss << "}";
366
367 cs.send(client_id, string_stream::c_str(ss));
368}
369
370RenderSettings merged_render_settings(const Device *device)
371{

Callers

nothing calls this directly

Calls 2

refreshMethod · 0.80
sendMethod · 0.80

Tested by

no test coverage detected