MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / SaveActionQueues

Function SaveActionQueues

lib/queue/action-queue.cpp:362–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362void SaveActionQueues(obs_data_t *obj)
363{
364 OBSDataArrayAutoRelease array = obs_data_array_create();
365 for (const auto &queue : queues) {
366 OBSDataAutoRelease obj = obs_data_create();
367 queue->Save(obj);
368 obs_data_array_push_back(array, obj);
369 }
370 obs_data_set_array(obj, "actionQueues", array);
371}
372
373void LoadActionQueues(obs_data_t *obj)
374{

Callers 1

setupFunction · 0.85

Calls 1

SaveMethod · 0.45

Tested by

no test coverage detected