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

Method Save

lib/macro/macro-action-queue.cpp:95–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95bool MacroActionQueue::Save(obs_data_t *obj) const
96{
97 MacroAction::Save(obj);
98 _macro.Save(obj);
99 obs_data_set_int(obj, "action", static_cast<int>(_action));
100 obs_data_set_string(obj, "queue", GetActionQueueName(_queue).c_str());
101 return true;
102}
103
104bool MacroActionQueue::Load(obs_data_t *obj)
105{

Callers

nothing calls this directly

Calls 2

GetActionQueueNameFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected